OS2 World.Com Forum
2012.02.10, 02:45:47 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Printing under eCS  (Read 5685 times)
warunyan
Newbie
*
Posts: 21


View Profile
« Reply #15 on: 2010.02.27, 21:15:42 »

Isn't eCUPS supporting AFPL Ghostscript?
There are no resorce/font directory in AFPL Ghostscript. Embarrassed
Logged
Paul Smedley
Sr. Member
****
Posts: 268


View Profile
« Reply #16 on: 2010.02.27, 22:57:26 »

Hi,

I can't print a DBCS file.
A Ghostscript Japanese edition stops at gs8.00.
I edited the PREFIX. but a gs8.00 Japanese edition & eCUPS can't print a SBCS file & a DBCS file.
Is there a way to print a DBCS file in gs8.70 & eCUPS ?

The Ghostscript version used needs to have CUPS support built into it - the only builds that do are the ones from my site (as far as I know).

Do you have an example DBCS file I can experiment with?
Logged
Paul Smedley
Sr. Member
****
Posts: 268


View Profile
« Reply #17 on: 2010.02.27, 22:58:35 »

Isn't eCUPS supporting AFPL Ghostscript?
There are no resorce/font directory in AFPL Ghostscript. Embarrassed

Not sure exactly what you mean here. eCUPS is using the latest GPL Ghostscript v8.70....
Logged
warunyan
Newbie
*
Posts: 21


View Profile
« Reply #18 on: 2010.02.27, 23:41:53 »

Quote
Not sure exactly what you mean here. eCUPS is using the latest GPL Ghostscript v8.70....
I'm sorry. Paul.
Please wait for an example DBCS file.
Logged
warunyan
Newbie
*
Posts: 21


View Profile
« Reply #19 on: 2010.02.28, 04:25:35 »

Quote
Do you have an example DBCS file I can experiment with?

http://www.ipc.shizuoka.ac.jp/~sctokab/UNOFF/gs800-j-vlib-os2.zip
gs8.00/vflib/article9.ps

Sorry. I don't know whether article9.ps is the best file, but it's the file which is many used.

article9.ps's Picture.
http://www.fan.gr.jp/~ring/doc/gs7.06/gsv11.png
Logged
Paul Smedley
Sr. Member
****
Posts: 268


View Profile
« Reply #20 on: 2010.02.28, 04:53:32 »

Quote
Do you have an example DBCS file I can experiment with?

http://www.ipc.shizuoka.ac.jp/~sctokab/UNOFF/gs800-j-vlib-os2.zip
gs8.00/vflib/article9.ps

Sorry. I don't know whether article9.ps is the best file, but it's the file which is many used.

article9.ps's Picture.
http://www.fan.gr.jp/~ring/doc/gs7.06/gsv11.png

OK I can reproduce this problem - will see if I can fix it.  I suspect a Kanji font needs to be installed.......
Logged
Paul Smedley
Sr. Member
****
Posts: 268


View Profile
« Reply #21 on: 2010.02.28, 10:26:07 »

Quote
Do you have an example DBCS file I can experiment with?

http://www.ipc.shizuoka.ac.jp/~sctokab/UNOFF/gs800-j-vlib-os2.zip
gs8.00/vflib/article9.ps

Sorry. I don't know whether article9.ps is the best file, but it's the file which is many used.

article9.ps's Picture.
http://www.fan.gr.jp/~ring/doc/gs7.06/gsv11.png

As I thought - a japanese font needs to be installed.

Try unzipping http://download.smedley.info/gs-japanese-support.zip into your ghostscript directory - overwriting the cidfmap that's already installed.

With that, I get the correct output in gsview
OK I can reproduce this problem - will see if I can fix it.  I suspect a Kanji font needs to be installed.......
Logged
warunyan
Newbie
*
Posts: 21


View Profile
« Reply #22 on: 2010.02.28, 19:58:43 »

Quote
As I thought - a japanese font needs to be installed.

Try unzipping http://download.smedley.info/gs-japanese-support.zip into your ghostscript directory - overwriting the cidfmap that's already installed.

With that, I get the correct output in gsview
OK I can reproduce this problem - will see if I can fix it.  I suspect a Kanji font needs to be installed......

Very thanks, Paul.
Unfortunately, I couldn't print article9.ps.
  run 'lpr -P Photosmart_2575 e:/gs8.00/vflib/article9.ps' and Reprint job in ecups jobs page.
Logged
Paul Smedley
Sr. Member
****
Posts: 268


View Profile
« Reply #23 on: 2010.03.01, 04:06:50 »

Quote
As I thought - a japanese font needs to be installed.

Try unzipping http://download.smedley.info/gs-japanese-support.zip into your ghostscript directory - overwriting the cidfmap that's already installed.

With that, I get the correct output in gsview
OK I can reproduce this problem - will see if I can fix it.  I suspect a Kanji font needs to be installed......

Very thanks, Paul.
Unfortunately, I couldn't print article9.ps.
  run 'lpr -P Photosmart_2575 e:/gs8.00/vflib/article9.ps' and Reprint job in ecups jobs page.

I'll investigate this evening - it appears pstoraster doesn't configure GS_LIB sufficiently for this to work.
Logged
Paul Smedley
Sr. Member
****
Posts: 268


View Profile
« Reply #24 on: 2010.03.01, 11:22:06 »

Quote
As I thought - a japanese font needs to be installed.

Try unzipping http://download.smedley.info/gs-japanese-support.zip into your ghostscript directory - overwriting the cidfmap that's already installed.

With that, I get the correct output in gsview
OK I can reproduce this problem - will see if I can fix it.  I suspect a Kanji font needs to be installed......

Very thanks, Paul.
Unfortunately, I couldn't print article9.ps.
  run 'lpr -P Photosmart_2575 e:/gs8.00/vflib/article9.ps' and Reprint job in ecups jobs page.

I'll investigate this evening - it appears pstoraster doesn't configure GS_LIB sufficiently for this to work.

Try editing \cups\lib\cups\filter\pstoraster

Change the line that says:
GS_LIB=${prefix}/lib
to
GS_LIB="${prefix}/lib;${prefix}/resource/init;${prefix}/resource/font"

I can now use 'lp article9.ps' and get a successful print to my default printer Smiley
Logged
warunyan
Newbie
*
Posts: 21


View Profile
« Reply #25 on: 2010.03.01, 18:19:43 »

Quote
Try editing \cups\lib\cups\filter\pstoraster

Change the line that says:
GS_LIB=${prefix}/lib
to
GS_LIB="${prefix}/lib;${prefix}/resource/init;${prefix}/resource/font"

I can now use 'lp article9.ps' and get a successful print to my default printer Smiley

Hi, Paul. thanks work.
I copy & paste ' GS_LIB="${prefix}/lib;${prefix}/resource/init;${prefix}/resource/font"  '.
but, I can't print it. Embarrassed

 Cups's Printers page info ' Photosmart_2575 "No %%Pages: comment in header!" '
Logged
Paul Smedley
Sr. Member
****
Posts: 268


View Profile
« Reply #26 on: 2010.03.01, 21:58:55 »

Quote
Try editing \cups\lib\cups\filter\pstoraster

Change the line that says:
GS_LIB=${prefix}/lib
to
GS_LIB="${prefix}/lib;${prefix}/resource/init;${prefix}/resource/font"

I can now use 'lp article9.ps' and get a successful print to my default printer Smiley

Hi, Paul. thanks work.
I copy & paste ' GS_LIB="${prefix}/lib;${prefix}/resource/init;${prefix}/resource/font"  '.
but, I can't print it. Embarrassed

 Cups's Printers page info ' Photosmart_2575 "No %%Pages: comment in header!" '

The error listed (No %%Pages: comment in header) is only a warning - it should not effect printing.

I need a debug log to try and understand why it is failing for you, and working for me:
1) Close cupsd.exe
2) Delete \cups\var\log\cups\error_log
3) edit \cups\etc\cups\cupsd.conf - change 'LogLevel info' to 'LogLevel debug'
4) restart cupsd - try printing
5) close cupsd - send me the resulting error_log
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!