LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-30-2009, 08:14 PM   #1
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Ubuntu, Mint, Debian, Suse
Posts: 307

Rep: Reputation: 32
printing japanese pdf via ghostscript


Hello Everyone,

I have a previous post:
http://www.linuxquestions.org/questi...e-text-687455/

I am still struggling with printing japanese pdf documents with kpdf, xpdf, and ghostview. It seems that ghostscript renders the pdf into postscript to send it to the printer.

The problem is I cannot seem to find a way to get ghostscript to display the text. Instead it just shows boxes where the text is.

How do I get ghostscript to render japanese pdf documents?
 
Old 05-31-2009, 12:22 AM   #2
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Ubuntu, Mint, Debian, Suse
Posts: 307

Original Poster
Rep: Reputation: 32
I have installed ghostscript 8.64 to see if this would help... of course, it doesn't.

But when I try to use it I get errors where the original debian version (8.62) does not... here they are:

Code:
gs /home/checkmate3001/Downloads/japanese.pdf
GPL Ghostscript 8.64 (2009-02-03)
Copyright (C) 2009 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Can't find CID font "HeiseiMin-W3".
Substituting CID font resource /Adobe-Japan1 for /HeiseiMin-W3.
The substitute CID font "Adobe-Japan1" is not provided either. Will exit with error.
Error: /undefined in findresource

---   CUT OUT  ---

Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.64: Unrecoverable error, exit code 1
I have installed the following:
Code:
dpkg -l | grep ghostscript
ii  ghostscript                          8.62.dfsg.1-3.2lenny1          The GPL Ghostscript PostScript/PDF interpret
ii  ghostscript-doc                      8.62.dfsg.1-3.2lenny1          The GPL Ghostscript PostScript/PDF interpret
ii  ghostscript-x                        8.62.dfsg.1-3.2lenny1          The GPL Ghostscript PostScript/PDF interpret
ii  gs-cjk-resource                      1.20080107-4                   Resource files for gs-cjk, ghostscript CJK-T
ii  gs-common                            8.62.dfsg.1-3.2lenny1          Dummy package depending on ghostscript
ii  gsfonts-other                        6.0-3.2                        Additional fonts for the ghostscript interpr
ii  gsfonts-wadalab-common               0.20010409-7.1                 Japanese symbol fonts for the ghostscript in
ii  gsfonts-wadalab-gothic               0.20010409-7.1                 Japanese gothic fonts for the ghostscript in
ii  gsfonts-wadalab-mincho               0.20010409-7.1                 Japanese mincho fonts for the ghostscript in
I have also installed:
Code:
dpkg -l | grep adobe
ii  cmap-adobe-cns1                      0+20060819-3                   CMaps for Adobe-CNS1
ii  cmap-adobe-gb1                       0+20051207-3                   CMaps for Adobe-GB1
ii  cmap-adobe-japan1                    0+20071201-4                   CMaps for Adobe-Japan1
ii  cmap-adobe-japan2                    0+20020208-4                   CMaps for Adobe-Japan2
ii  cmap-adobe-korea1                    0+20051109-5                   CMaps for Adobe-Korea1
If perhaps I can force ghostscript to substitute a different font it may work?

Any ideas?
 
Old 05-31-2009, 11:10 PM   #3
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Ubuntu, Mint, Debian, Suse
Posts: 307

Original Poster
Rep: Reputation: 32
Sample Japanese PDF - can you view this with ghostscript?

I found a very simple sample pdf to test my ability to view and print japanese pdf documents.

http://www.sanface.com/pdf/japanese.pdf

Can anyone read this pdf via ghostscript?
Open with kpdf or xpdf and do a print preview.

I just get squares where the text should be.

Last edited by checkmate3001; 05-31-2009 at 11:11 PM. Reason: put in title.
 
  


Reply

Tags
ghostscript, japanese, pdf, print, sample



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why does Ghostscript PDF output look so bad? Wynd Linux - General 15 08-06-2006 09:49 AM
ghostscript & pdf mania arunswarup General 0 11-07-2005 01:45 PM
Ghostscript: why is pdf size sometimes increased so much? J_Szucs Linux - Software 2 08-27-2004 09:19 AM
What is wrong with pdf files created by Ghostscript? J_Szucs Linux - Software 2 02-01-2004 09:45 AM
Ghostscript and pdf creation J_Szucs Linux - Software 0 05-29-2003 02:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration