• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

Printing under eCS

Started by Quique, 2010.02.15, 19:10:04

Previous topic - Next topic

warunyan

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

Paul Smedley

Hi,

Quote from: warunyan on 2010.02.27, 10:53:26
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?

Paul Smedley

Quote from: warunyan on 2010.02.27, 21:15:42
Isn't eCUPS supporting AFPL Ghostscript?
There are no resorce/font directory in AFPL Ghostscript. :-[

Not sure exactly what you mean here. eCUPS is using the latest GPL Ghostscript v8.70....

warunyan

QuoteNot 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.

warunyan

QuoteDo 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

Paul Smedley

Quote from: warunyan on 2010.02.28, 04:25:35
QuoteDo 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.......

Paul Smedley

Quote from: Paul Smedley on 2010.02.28, 04:53:32
Quote from: warunyan on 2010.02.28, 04:25:35
QuoteDo 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.......

warunyan

QuoteAs 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.

Paul Smedley

Quote from: warunyan on 2010.02.28, 19:58:43
QuoteAs 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.

Paul Smedley

Quote from: Paul Smedley on 2010.03.01, 04:06:50
Quote from: warunyan on 2010.02.28, 19:58:43
QuoteAs 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 :)

warunyan

QuoteTry 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. :-[

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

Paul Smedley

Quote from: warunyan on 2010.03.01, 18:19:43
QuoteTry 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. :-[

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