OS2World OLD-STATIC-BACKUP Forum

OS/2 - Technical => Hardware => Topic started by: Quique on 2010.02.15, 19:10:04

Title: Printing under eCS
Post by: Quique on 2010.02.15, 19:10:04
does eCS 2.0 come with eCUP installed and configured?

is eCUPs project still active?



thks
Title: Re: Printing under eCS
Post by: Pete on 2010.02.15, 19:42:36
Hi Quique

I did read somewhere that eCUPS will be included in eCS at some point; No idea if it will make it into eCS2.0GA though...

eCUPS should not be too difficult to install anyway as there is a complete package using Warpin as the installer.

As far as I am aware eCUPS is an ongoing project; I think Paul (cups porter) is probably working on updating eCUPS to the current cups build 1.4.2

Regards

Pete
Title: Re: Printing under eCS
Post by: warunyan on 2010.02.16, 01:51:30
I have a HP Photosmart2575a.
Support of hplip?
Title: Re: Printing under eCS
Post by: Saijin_Naib on 2010.02.16, 07:32:57
Not yet. Paul Smedley may be working on it. HPLIP is a big project.
Title: Re: Printing under eCS
Post by: Paul Smedley on 2010.02.16, 10:38:03
Quote from: Pete on 2010.02.15, 19:42:36
I did read somewhere that eCUPS will be included in eCS at some point; No idea if it will make it into eCS2.0GA though...

eCUPS should not be too difficult to install anyway as there is a complete package using Warpin as the installer.

As far as I am aware eCUPS is an ongoing project; I think Paul (cups porter) is probably working on updating eCUPS to the current cups build 1.4.2

eCUPS is definitely an ongoing project, it just happens that of late there haven't been any updates.  That's about to change as Gutenprint 5.2.5 was released over the weekend, so I'll soon upload a build of that.

At some point I'll migrate Cups to v1.4x - but this isn't a major priority.  I do have it mostly working, but there are issues for new users with v1.4.x on OS/2 (basically a newly added printer doesn't work and prints black pages)

Cheers,

Paul
Title: Re: Printing under eCS
Post by: Paul Smedley on 2010.02.16, 10:39:08
Quote from: Saijin_Naib on 2010.02.16, 07:32:57
Not yet. Paul Smedley may be working on it. HPLIP is a big project.

I've got hplip compiling previously, the bigger problem is the 100's of python scripts that come with it and have all sorts of nasty unix dependencies in them....

One day I'll look at it again....
Title: Re: Printing under eCS
Post by: Saijin_Naib on 2010.02.16, 10:42:03
Are these unix dependencies something that is just grunt/rote changing? AKA, something I could plod through in spare time without having to learn OS/2 API, Linux API, Python, C, and whatever all else?
Title: Re: Printing under eCS
Post by: David McKenna on 2010.02.17, 00:47:55
Quote from: Saijin_Naib on 2010.02.16, 10:42:03
Are these unix dependencies something that is just grunt/rote changing? AKA, something I could plod through in spare time without having to learn OS/2 API, Linux API, Python, C, and whatever all else?

   I would be willing to do this too if it is something that Paul could provide some guidance....
Title: Re: Printing under eCS
Post by: Paul Smedley on 2010.02.17, 11:01:11
Quote from: David McKenna on 2010.02.17, 00:47:55
Quote from: Saijin_Naib on 2010.02.16, 10:42:03
Are these unix dependencies something that is just grunt/rote changing? AKA, something I could plod through in spare time without having to learn OS/2 API, Linux API, Python, C, and whatever all else?

   I would be willing to do this too if it is something that Paul could provide some guidance....

To be honest, I don't remember.  When I find some free time (ha ha) I'll try take another look at hplip.

The other issue is that I don't have any hardware here for testing, but that's easy enough to solve with a trip to the local department store :P
Title: Re: Printing under eCS
Post by: Saijin_Naib on 2010.02.17, 16:15:47
All I've got on hand is a HP PSC 1210xi, which requires HPLIP so I am willing to test for you. Also, willing to test any Tame/Sane updates for USB back-end as well.
Title: Re: Printing under eCS
Post by: Paul Smedley on 2010.02.18, 11:02:26
Quote from: Saijin_Naib on 2010.02.17, 16:15:47
All I've got on hand is a HP PSC 1210xi, which requires HPLIP so I am willing to test for you. Also, willing to test any Tame/Sane updates for USB back-end as well.

Check the ecups mailing list if you want to try a cups + hplip build..... The mailing list can be found at http://news.gmane.org/gmane.org.netlabs.ecups.devel
Title: Re: Printing under eCS
Post by: Paul Smedley on 2010.02.21, 03:32:15
Quote from: Paul Smedley on 2010.02.18, 11:02:26
Quote from: Saijin_Naib on 2010.02.17, 16:15:47
All I've got on hand is a HP PSC 1210xi, which requires HPLIP so I am willing to test for you. Also, willing to test any Tame/Sane updates for USB back-end as well.

Check the ecups mailing list if you want to try a cups + hplip build.....

FWIW - one user has confirmed my hplip build as working with their officejet 5610xi :)
Title: Re: Printing under eCS
Post by: warunyan on 2010.02.24, 18:06:06
hplip-3.9.12-os2-20100218.zip is great!
My hp Photosmart 2575a's print is successfully,browser(but Printer test page only)&OS/2window.
Very Thanks Mr.Paul Smedley.

However,  Setting screen on the browser changed Japanese > English by hplip-3.9.12-os2-20100218.zip.

Sorry my bad English.
Title: Re: Printing under eCS
Post by: 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 ?
Title: Re: Printing under eCS
Post by: osw on 2010.02.27, 20:10:45
great!
hplip did the trick
my hp officejet 5510 all in one printer - is working now with ecups
big thanks Paul!
Title: Re: Printing under eCS
Post by: warunyan on 2010.02.27, 21:15:42
Isn't eCUPS supporting AFPL Ghostscript?
There are no resorce/font directory in AFPL Ghostscript. :-[
Title: Re: Printing under eCS
Post by: Paul Smedley on 2010.02.27, 22:57:26
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?
Title: Re: Printing under eCS
Post by: Paul Smedley on 2010.02.27, 22:58:35
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....
Title: Re: Printing under eCS
Post by: warunyan on 2010.02.27, 23:41:53
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.
Title: Re: Printing under eCS
Post by: 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
Title: Re: Printing under eCS
Post by: 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

OK I can reproduce this problem - will see if I can fix it.  I suspect a Kanji font needs to be installed.......
Title: Re: Printing under eCS
Post by: Paul Smedley on 2010.02.28, 10:26:07
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.......
Title: Re: Printing under eCS
Post by: 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.
Title: Re: Printing under eCS
Post by: 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.
Title: Re: Printing under eCS
Post by: Paul Smedley on 2010.03.01, 11:22:06
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 :)
Title: Re: Printing under eCS
Post by: 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!" '
Title: Re: Printing under eCS
Post by: Paul Smedley on 2010.03.01, 21:58:55
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