OS2World OLD-STATIC-BACKUP Forum

WebSite Information => Article Discussions => Topic started by: Pete on 2008.06.11, 15:55:52

Title: Preview of CUPS 1.3.7
Post by: Pete on 2008.06.11, 15:55:52
http://www.os2world.com/content/view/18098/2/ (http://www.os2world.com/content/view/18098/2/)
Quote
Posted by Martin Iturbide - Wednesday, 11 June 2008


According. .. .

Hi All

Having been involved in a bit of testing of recent cups packages I have to say that Paul is doing a good job here.

I have tested both a HP Business Inkjet 2250, a postscript printer, and a Canon PIXMA iP4000, a raster printer that works like a postscript printer using cups.

Both print fairly well using the cups package directly to print the supplied test pages.


To get eCS (OS/2) applications to print via cups does need a little more work.

The PIXMA printer obviously does not have an eCS(OS/2) postscript printer driver. It is necessary to add the correct PPD file from the cups package to the existing OS/2 pscript.drv file, create a printer object for that printer and use ecups printer port as the output port with that port set to print to localhost, printer PIXMA.
 

Then I can use the printer to successfully:-

print multiple page documents from OpenOffice115 for Windows - running in eCS1.2R+ by the simple expedient of using ar5os2.exe (the alternative to Odin) to provide the necessary win32 environment and support.

print images from PMView2000


Earlier cups builds had problems with both of the above.


Paul is currently working on a printer port package that will replace the ecups printer port and libcups.dll file which were not built to work with this version of cups but do - the downside is that ecups may cause problems with shared memory after a little use.


I think cups is really starting to look like the future of printer drivers in eCS - especially for those of us who have relatively current printers that are not well supported, if at all, by the original OS/2 printer driver packages.


Hopefully a few other people will join in some testing - the more printers tested the better - and help Paul iron out any remaining bugs  :-)


Regards

Pete







Title: Re: Preview of CUPS 1.3.7
Post by: DavidG on 2008.06.12, 01:37:16
I would like to, however, my laptop only has a USB port for my printer.  I have no lpt port.  I noticed in Paul's email that he sent out that USB support will be the last thing done.  As a result, I won't be able to help.

David
Title: Re: Preview of CUPS 1.3.7
Post by: Pete on 2008.06.12, 03:08:08
I would like to, however, my laptop only has a USB port for my printer.  I have no lpt port.  I noticed in Paul's email that he sent out that USB support will be the last thing done.  As a result, I won't be able to help.

David


Hi David

Ahh... but you will  :-)

You will want USB support and Paul will want testers when he gets to adding USB support...   :-)

Regards

Pete
Title: Re: Preview of CUPS 1.3.7
Post by: BigWarpGuy on 2008.06.12, 19:44:27
I would like to, however, my laptop only has a USB port for my printer.  I have no lpt port.  I noticed in Paul's email that he sent out that USB support will be the last thing done.  As a result, I won't be able to help.

David


Hi David

Ahh... but you will  :-)

You will want USB support and Paul will want testers when he gets to adding USB support...   :-)

Regards

Pete

I would love to give it a try. My printer only has an USB port.
Title: Re: Preview of CUPS 1.3.7
Post by: David McKenna on 2008.06.12, 23:14:16
  You can get a USB printer to work, it just takes a little more tweaking. From the README:

    * currently tested printer backends are ipp & lpd - usb isn't working. However, in the meantime, you can create a printer object for the USB printer, and run the OS/2 lpd daemon and print to a usb printer using the lpd backend in cups.


Dave McKenna
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.06.15, 04:49:55
  You can get a USB printer to work, it just takes a little more tweaking. From the README:

    * currently tested printer backends are ipp & lpd - usb isn't working. However, in the meantime, you can create a printer object for the USB printer, and run the OS/2 lpd daemon and print to a usb printer using the lpd backend in cups.

Of course _I_ knew what I meant by the above - but seems it confused many people :/

What I _meant_ was that printing directly to usb printers, without using lpd as an intermediary, is not currently supported.

It is straight forward to add a printerobject with the IBM NULL driver that prints to the USB port, then use the IBM lpd daemon to print to that port.

Cheers,

Paul.
Title: Re: Preview of CUPS 1.3.7
Post by: Blonde Guy on 2008.06.16, 16:57:38
I'm interested in organizing eCups. I'm sure I'm not the only one who has trouble running a Unix program on eCS.

I looked at the readme.os2 file included in the latest eCups, and for now, I'm ignoring the stuff that could never go out in a GA product. I just want to run what others have got for now.

I unzipped eCups to a directory of my choosing, and then used xcopy to copy the \gs, \cups and \gutenprint directories to the root of my boot drive (yuck...)

I added libc064x.dll to the \cups\sbin directory.
I changed  my directory to \cups\sbin
I type cupsd
It returns instantly.
A process list does not reveal and cupsd.exe
Using REXXTRY, I can see that cupsd returns -1 when starting.

OK, so far my test isn't going very well.

Once I have cups working on my machine, I'll repackage it so people like me can use it.

I am grateful to Paul for getting this compiled and to everyone who's tested it, and to Roderick for pushing me to take on this project. I hope you'll read this and give me the help I need.
Title: Re: Preview of CUPS 1.3.7
Post by: Pete on 2008.06.17, 03:06:16
Hi Blonde Guy

I may be wrong but as cups works fine with the libc064x.dll in a directory on the LibPath, \ecs\dll (\os2\dll is an alternative),  I suggest that you move the libc064x.dll file from \cuips\sbin to somewhere on the LibPath.

I'm not quite sure what you mean by "repackage it" but I am currently in the process of creating a "How To" that may be of help to you when it is finished - I have plans on posting it on os2world but you would be welcome to use it in your "repackaging".

I must admit that I've had a few thoughts about how to put all this together as something that us mere mortals can install and use. I think the steps involved go something like this:-

Unzip all required packages: - the cups package, the ecups printer port package, the instpdr package, postscript driver package 30_822 (because 30_827 is crap and does not work: In fact, Remove any exiosting 30_827 instaalation before starting to avoid problems) and a package that would go through the cups supplied PPD file and remove all lines that start with *Stpstp - these lines will cause problems for OS/2 postcript output.

Next walk/guide the user through the configure the cups printer using the cups browser interface - a byproduct of this is that the PPD file required to add to the OS/2 postscript printer driver is then untgz'd to
\cups\etc\cups\ppd\printer_name.ppd

Having configured the cups printer it is then necessary to create an OS/2 postscript driver for the printer involved. This involves editing the \cups\etc\cups\ppd\printer_name.PPD file to remove all lines starting *Stpstp and then using instpdr to add the necessary PPD file to the 30_822 pscript.drv

Then the user has to go through the Install Local Printer routine and create the required Printer object. That printer needs to have output directed through a port, ecups.pdr, which will need installing at the same time. The port would point to localhost (127.0.0.1) and use the printer name given to the cups printer.

I think that Paul is currently working on a replacement for the existing ecups.pdr which requires another dll, libcups.dll, in order to work.


Be nice to see it all put together in 1 nice'n'easy to install package  :-)

Have fun

Pete

Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.06.17, 04:57:48
I'm interested in organizing eCups. I'm sure I'm not the only one who has trouble running a Unix program on eCS.

I looked at the readme.os2 file included in the latest eCups, and for now, I'm ignoring the stuff that could never go out in a GA product. I just want to run what others have got for now.

I unzipped eCups to a directory of my choosing, and then used xcopy to copy the \gs, \cups and \gutenprint directories to the root of my boot drive (yuck...)

I added libc064x.dll to the \cups\sbin directory.
I changed  my directory to \cups\sbin
I type cupsd
It returns instantly.
A process list does not reveal and cupsd.exe
Using REXXTRY, I can see that cupsd returns -1 when starting.

OK, so far my test isn't going very well.

Once I have cups working on my machine, I'll repackage it so people like me can use it.

I am grateful to Paul for getting this compiled and to everyone who's tested it, and to Roderick for pushing me to take on this project. I hope you'll read this and give me the help I need.

Well for starters (based on the comment on the readme file) - the package is clearly labelled as a preview.

The readme also warns that things must be installed off the root - but there is no need for it to be the _boot_ drive.

With reference to 'I'm ignoring the stuff that could never go out in a GA product' - feel free to offer an improved readme file - I've long said I hate writing documentation...

The whole thing could probably be packaged up with warpin - with the libc path rewriter used to take care of the path issues, avoiding the need to install the different parts in the root directory, however this isn't something I've spent any time on yet.  I think there's more pressing issues like making the CUPS/Gutenprint/Ghostscript backend solid, a working port driver, a tool to import the gutenprint PPD files, and a usb backend rather than spending time on any 'repackaging'.

I wonder if Alex Taylor could improve instpdr so that it could strip out the *StpStp lines and handle the 'un' gzip of Gutenprint ppd files - that would help get us one step closer.

On the cupsd not starting - debug logging might help.  Config file is in /cups/etc/cups/cupsd.conf - log file is in /cups/var/log/error_log

Pete's point may be valid though - if the current working directory isn't /cups/sbin - it may not be finding the necessary libc file.
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.06.17, 05:00:37
Hi Pete,

I'm not quite sure what you mean by "repackage it" but I am currently in the process of creating a "How To" that may be of help to you when it is finished - I have plans on posting it on os2world but you would be welcome to use it in your "repackaging".

Personally, I'd like to see any howto's added to the wiki at http://svn.netlabs.org/ecups to keep all parts of the project in one place....
Title: Re: Preview of CUPS 1.3.7
Post by: Blonde Guy on 2008.06.17, 05:57:27
Hey, thanks Paul and Pete.

I don't mind updating the Wiki at http://svn.netlabs.org/ecups once I've got it working properly. I wrote the WarpIN installer for PMMail, and I'm comfortable with the tool.

I've ported unix apps to OS/2, and I don't really enjoy it. But I don't mind writing installers, documentation and a  bit of code here and there to glue it all the ported apps together.

I have now tried to turn on debugging, but I'm still seeing an instant return from cupsd.exe with rc = -1. What I tried to do was change \cups\etc\cups\cupsd.conf to have the following line

LogLevel debug

OK, I see what's wrong. There is no \cups\var\log directory. When I create one, this file is created -
\cups\var\log\cups\error_log

I [16/Jun/2008:20:47:28 +0800] Listening to 127.0.0.1:631 (IPv4)
I [16/Jun/2008:20:47:28 +0800] Listening to /cups/var/run/cups/cups.sock (Domain)
I [16/Jun/2008:20:47:28 +0800] Loaded configuration file "/cups/etc/cups/cupsd.conf"
D [16/Jun/2008:20:47:28 +0800] Creating missing directory "/cups/var/spool/cups"
E [16/Jun/2008:20:47:28 +0800] Unable to create directory "/cups/var/spool/cups" - No such file or directory

If I create \cups\var\spool, then run cupsd, it writes this to the log

I [16/Jun/2008:20:50:00 +0800] Listening to 127.0.0.1:631 (IPv4)
I [16/Jun/2008:20:50:00 +0800] Listening to /cups/var/run/cups/cups.sock (Domain)
I [16/Jun/2008:20:50:00 +0800] Loaded configuration file "/cups/etc/cups/cupsd.conf"
D [16/Jun/2008:20:50:00 +0800] Creating missing directory "/cups/var/spool/cups"
D [16/Jun/2008:20:50:00 +0800] Repairing ownership of "/cups/var/spool/cups"
D [16/Jun/2008:20:50:00 +0800] Repairing access permissions of "/cups/var/spool/cups"
D [16/Jun/2008:20:50:00 +0800] Creating missing directory "/cups/var/cache/cups"
E [16/Jun/2008:20:50:00 +0800] Unable to create directory "/cups/var/cache/cups" - No such file or directory

If I then create \cups\var\cache, then it runs. I can see the web page on http://localhost:631

I'll be posting again, soon, I think.

I just made myself an account on freenode, and I'll be on #netlabs as Blonde_Guy.

Minor edit -- I got on the web interface, defined a printer, imported the PPD file and printed the test page.
Okidata C5300 printer. The test page defaulted to A4, but my printer is loaded with US letter size.
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.06.17, 09:53:49
Hey, thanks Paul and Pete.

I don't mind updating the Wiki at http://svn.netlabs.org/ecups once I've got it working properly. I wrote the WarpIN installer for PMMail, and I'm comfortable with the tool.

I've ported unix apps to OS/2, and I don't really enjoy it. But I don't mind writing installers, documentation and a  bit of code here and there to glue it all the ported apps together.

I have now tried to turn on debugging, but I'm still seeing an instant return from cupsd.exe with rc = -1. What I tried to do was change \cups\etc\cups\cupsd.conf to have the following line

LogLevel debug

OK, I see what's wrong. There is no \cups\var\log directory. When I create one, this file is created -
\cups\var\log\cups\error_log
<snip>
If I then create \cups\var\cache, then it runs. I can see the web page on http://localhost:631
<snip>
Minor edit -- I got on the web interface, defined a printer, imported the PPD file and printed the test page.
Okidata C5300 printer. The test page defaulted to A4, but my printer is loaded with US letter size.

I just checked - the latest package which will be available shortly does already include the directories you mention.

I think all the Gutenprint PPD files default to A4 - after all - everyone should use that size paper - the metric system you know :)
Title: A4 paper?
Post by: BigWarpGuy on 2008.06.17, 15:25:59
I never knew what that paper was. Thank for the information.  8)
Title: Re: Preview of CUPS 1.3.7
Post by: Pete on 2008.06.17, 20:10:05

I wonder if Alex Taylor could improve instpdr so that it could strip out the *StpStp lines and handle the 'un' gzip of Gutenprint ppd files - that would help get us one step closer.



Hi Paul

No need to "ungz" the PPD file - cups does that for you  :-)

I noticed this awhile back: When creating a printer eg PIXMA the selected *.ppd.tgz file ends up ungz'd as \cups\etc\cups\ppd\PIXMA.ppd

1 less step to undertake.  :-)

Pete
Title: Re: Preview of CUPS 1.3.7
Post by: Pete on 2008.06.17, 20:12:51
Hi Pete,

I'm not quite sure what you mean by "repackage it" but I am currently in the process of creating a "How To" that may be of help to you when it is finished - I have plans on posting it on os2world but you would be welcome to use it in your "repackaging".

Personally, I'd like to see any howto's added to the wiki at http://svn.netlabs.org/ecups to keep all parts of the project in one place....


Hi Paul

Happy to oblige with your request  :-)

Regards

Pete
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.06.17, 22:55:51

I wonder if Alex Taylor could improve instpdr so that it could strip out the *StpStp lines and handle the 'un' gzip of Gutenprint ppd files - that would help get us one step closer.



Hi Paul

No need to "ungz" the PPD file - cups does that for you  :-)

I noticed this awhile back: When creating a printer eg PIXMA the selected *.ppd.tgz file ends up ungz'd as \cups\etc\cups\ppd\PIXMA.ppd

1 less step to undertake.  :-)

Pete

Yeah I know CUPS can handle the .gz file - but the tools to import PPD into pscript.drv can't :)
Title: Re: Preview of CUPS 1.3.7
Post by: Pete on 2008.06.17, 23:46:41

I wonder if Alex Taylor could improve instpdr so that it could strip out the *StpStp lines and handle the 'un' gzip of Gutenprint ppd files - that would help get us one step closer.



Hi Paul

No need to "ungz" the PPD file - cups does that for you  :-)

I noticed this awhile back: When creating a printer eg PIXMA the selected *.ppd.tgz file ends up ungz'd as \cups\etc\cups\ppd\PIXMA.ppd

1 less step to undertake.  :-)

Pete

Yeah I know CUPS can handle the .gz file - but the tools to import PPD into pscript.drv can't :)


Hi Paul

The file that cups puts into \cups\etc\cups\ppd is a ppd file. It is not compressed. Here is the 1st few lines of  the \cups\etc\cups\ppd\PIXMA.ppd file:-

*PPD-Adobe: "4.3"
*% PPD file for CUPS/Gutenprint.
*% Copyright 1993-2006 by Easy Software Products and Robert Krawitz.
*% This program is free software; you can redistribute it and/or
*% modify it under the terms of the GNU General Public License,
*% version 2, as published by the Free Software Foundation.
*%
*% This program is distributed in the hope that it will be useful, but
*% WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
*% or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
*% for more details.
*%
*% You should have received a copy of the GNU General Public License
*% along with this program; if not, write to the Free Software
*% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*%
*FormatVersion:   "4.3"
*FileVersion:   "5.2.0-beta3"
*LanguageVersion: English
*LanguageEncoding: ISOLatin1
*PCFileName:   "STP01354.PPD"
*Manufacturer:   "Canon"
*Product:   "(AFPL Ghostscript)"
*Product:   "(GNU Ghostscript)"
*Product:   "(ESP Ghostscript)"
*Product:   "(GPL Ghostscript)"
*ModelName:     "Canon PIXMA iP4000"


My suggestion is to use that uncompressed ppd file as the source ppd for adding to the pscript.drv

Regards

Pete
Title: Re: Preview of CUPS 1.3.7
Post by: The Blue Warper on 2008.06.18, 00:14:12
I think there's more pressing issues like making the CUPS/Gutenprint/Ghostscript backend solid, a working port driver, a tool to import the gutenprint PPD files, and a usb backend rather than spending time on any 'repackaging'.

Hi, Paul!

I totally agree with you!  I hope to test your new eCUPS port and submit the results soon.  THANK YOU for all the work you keep doing for all of us!
Title: Re: Preview of CUPS 1.3.7
Post by: jep on 2008.06.19, 21:50:57
Hello,

tried CUPS and can tell you that it can print to my network printer HP Color LaserJet 2550 Ln.
The JPEG image (520k) showing the view from the port/beach in Aegina Greece came out as "Ant's war" that you've probably seen on TV.
The CUPS test page came out in B&W/Grayscale, so did the Serenity Systems info, don't know if I can expect color yet.


Things I noticed:
It's much easier to add and modify a printer with the web browser connected to the "webserver" cupsd.exe (http://localhost:631)
but
cupsd.exe start additional 3 copies of itself during configuration of printer (and they seem to stay up after that and printout)
as well as
other stuff that cause it to halt on the first try. Think it was 8 or as much as 10 related processes all in all running in TOP when I checked.
The web server took ages to respond, but after I restarted the system it became a lot more responsive and allowed me to add what I wanted.

Set it to print to use
Printer Driver: HP Color LaserJet 2500 - CUPS+Gutenprint v5.1.98.2 (en)
Device URI: lpd://ip.num.to.printer/BINPS
it's also possible to use RAW,  TEXT or AUTO instead of BINPS.
Think it should be possible to use the device name (hp2550ln) I've set too, but haven't tested that so far.

//Jan-Erik
Title: Re: Preview of CUPS 1.3.7
Post by: Pete on 2008.06.20, 03:57:02
Hi Jan-Erik


Regarding the lack of colour using CUPS: I recently tested a HP Business Inkjet with CUPS and could not get colour output.

I did have a hunt around - using Google - for an alternative PPD file to use with CUPS and found 1 that worked fine. The CUPS supplied PPD file did not have the options Print Color as Gray/Color which the replacement PPD file had.

So, I am guessing that the CUPS PPD file in use there could well be naff in the same way.

See if you can find an alternative PPD file somewhere (Google).

If you can then put it into the  \cups\etc\cups\ppd directory; you will have to delete the existing PPD file in that directory and rename the replacement to exactly the same name as the file that you just deleted to avoid mucking up the CUPS configuration.

Hope the above is of help

Pete
Title: Re: Preview of CUPS 1.3.7
Post by: jep on 2008.06.20, 10:39:21
Hello Pete,

thank you for the suggestion.

Does the PPD-file found on the HP CD that ship with the printer work better than it did when I tested Alex Taylors software to import PPD-files to the IBM Postscript driver?

There are often PPD-files on the CD's that one get with the printer, but mine probably contained a lot more features (UTF-8 among other things) than the IBM driver can handle thus causing trouble?!

Anyway, if it's possible to use it then with CUPS it should be fairly easy to try it out as one just have click on the browse button during configuration and import the ppd-file... that is when one use the cupsd.exe togheter with the web browser.

Thanks Paul, keep up the good work!

//Jan-Erik

======
Sorry I don't report that it work (and how I did it), but that because you haven't got a corner devoted to that at your site (as many others). Guess it could spur more people to first try and then report problems as well. I know I only began after this discussion started. Sad, but that is how people work, including me. :-(
Would be nice if it could be centralized as well, but that may be to far fetched I guess...
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.06.20, 11:15:02
Hi Jep,

tried CUPS and can tell you that it can print to my network printer HP Color LaserJet 2550 Ln.
The JPEG image (520k) showing the view from the port/beach in Aegina Greece came out as "Ant's war" that you've probably seen on TV.
The CUPS test page came out in B&W/Grayscale, so did the Serenity Systems info, don't know if I can expect color yet.

From the Gutenprint homepage at:http://gutenprint.sourceforge.net/p_Supported_Printers.php3

HP Color LaserJet 2500   hp-clj_2500   HP-Color_LaserJet_2500   Black and white only
Title: Re: Preview of CUPS 1.3.7
Post by: Blonde Guy on 2008.06.24, 05:17:34
Tried cups from 20080608 and gutenprint from 20080616 and cupspdr from 20080622 and I can print from firefox and ae to my Oki5300 printer.
Title: Re: Preview of CUPS 1.3.7
Post by: BigWarpGuy on 2008.06.24, 16:04:12
Hi Jep,

tried CUPS and can tell you that it can print to my network printer HP Color LaserJet 2550 Ln.
The JPEG image (520k) showing the view from the port/beach in Aegina Greece came out as "Ant's war" that you've probably seen on TV.
The CUPS test page came out in B&W/Grayscale, so did the Serenity Systems info, don't know if I can expect color yet.

From the Gutenprint homepage at:http://gutenprint.sourceforge.net/p_Supported_Printers.php3 (http://gutenprint.sourceforge.net/p_Supported_Printers.php3)

HP Color LaserJet 2500   hp-clj_2500   HP-Color_LaserJet_2500   Black and white only

The fact that it printed at all would be a big step for me. I really want to use my HP Color LaserJet 2500 with my eCS pc.
http://gutenprint.sourceforge.net/p_Supported_Printers.php3 (http://gutenprint.sourceforge.net/p_Supported_Printers.php3)
Title: Re: Preview of CUPS 1.3.7
Post by: Blonde Guy on 2008.06.24, 17:07:40

The fact that it printed at all would be a big step for me. I really want to use my HP Color LaserJet 2500 with my eCS pc.


Really? I thought the HP Color LaserJet 2500 printer was just plug and play with eCS.
Title: Re: Preview of CUPS 1.3.7
Post by: BigWarpGuy on 2008.06.25, 02:06:31

The fact that it printed at all would be a big step for me. I really want to use my HP Color LaserJet 2500 with my eCS pc.


Really? I thought the HP Color LaserJet 2500 printer was just plug and play with eCS.

I plug in the HP CLJ 2500 into the USB port and it sees it but I have yet to get anything to print to it. Am I missing something? What printer driver would you use with it?   ???
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.06.25, 04:56:42

The fact that it printed at all would be a big step for me. I really want to use my HP Color LaserJet 2500 with my eCS pc.


Really? I thought the HP Color LaserJet 2500 printer was just plug and play with eCS.

I plug in the HP CLJ 2500 into the USB port and it sees it but I have yet to get anything to print to it. Am I missing something? What printer driver would you use with it?   ???
If you're prepared to spend a little time on it, it should be pretty easy to get this working with CUPS - but only for black & white printing as that's all that Gutenprint supports on that model.
Title: Re: Preview of CUPS 1.3.7
Post by: jep on 2008.06.25, 11:21:06
Hello BigWarpGuy,

HP CLJ 25x0 work great for me with the eCS standard drivers, tried both PLL, USB and Network (Ln-model).

PostScript driver give really nice color images and is quite fast.

The PCL6 driver may only barf out a black & white printouts, sometimes partial, to much data? Avoid the LaserJet 30.827 driver shipped with eCS as you can't set the paper orientation and make it stick etc., revert to 30.822 if you have to try it.

If you want more info/help, just tell me...

//Jan-Erik
Title: Re: Preview of CUPS 1.3.7
Post by: Andi on 2008.06.26, 17:21:03
Hello BigWarpGuy,

HP CLJ 25x0 work great for me with the eCS standard drivers, tried both PLL, USB and Network (Ln-model).
.....
//Jan-Erik
If I remember correct, the HP 2550 and 2500 are completly different in that way, that the 2550 supports PCL and PS, but the 2500 is windows GDI crap only. If my memory serves me well, the 2500 came out at the time I bought a color laser printer and it was the first time I didn't by a laser from HP. Older models and newer one do have PCL and PS, but not the 2500.
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.06.27, 04:53:46
FWIW - my Epson RX650, which has never printed under OS/2, is now capable of printing from Firefox, Thunderbird, Openoffice 2.4 & PMView.

Lucide isn't printing correctly at this stage, and I haven't tried any other apps - but things are looking encouraging.

I hope to start looking at the native USB backend over the weekend which will make configuration somewhat easier, as it won't be necessary to setup the lpd daemon, and it should be possible to select the USB printer by name from the CUPS web interface.
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.06.27, 05:08:08
I wonder if Alex Taylor could improve instpdr so that it could strip out the *StpStp lines and handle the 'un' gzip of Gutenprint ppd files - that would help get us one step closer.

Incidentally, the next release of InstPdr will strip out the lines from the .ppd that break the OS/2 postscript driver (Thanks Alex!)

There's a link to a test build in the ecups-dev mailing list.
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.06.27, 05:10:54
Sorry I don't report that it work (and how I did it), but that because you haven't got a corner devoted to that at your site (as many others). Guess it could spur more people to first try and then report problems as well. I know I only began after this discussion started. Sad, but that is how people work, including me. :-(
Would be nice if it could be centralized as well, but that may be to far fetched I guess...

Well I'm open to suggestions on how to improve things.  There is a guestbook at the site - I really don't want to setup forums as we have existing forums here and don't really want to splinter users any more than they already are.

There is also a 'Contact Us' link at http://os2ports.smedley.info that can be used for feedback, and of course, my email is listed in the readme.os2 of every package I release :)
Title: Re: Preview of CUPS 1.3.7
Post by: Blonde Guy on 2008.06.27, 17:36:18
  You can get a USB printer to work, it just takes a little more tweaking. From the README:

    * currently tested printer backends are ipp & lpd - usb isn't working. However, in the meantime, you can create a printer object for the USB printer, and run the OS/2 lpd daemon and print to a usb printer using the lpd backend in cups.

Dave McKenna

I have a USB printer. I have set up LPD. What do I do next?

Neil
Title: Re: Preview of CUPS 1.3.7
Post by: Saijin_Naib on 2008.06.27, 22:26:00
Incidentally, the next release of InstPdr will strip out the lines from the .ppd that break the OS/2 postscript driver (Thanks Alex!)
There's a link to a test build in the ecups-dev mailing list.

Excellent news Paul! Does this mean that I will simply be able to take the PPD file on LinuxPrinting.org for my PSC1210xi, import, and then print to it using the OS/2 PostScript printing engine? w00t :D
Title: Re: Preview of CUPS 1.3.7
Post by: David McKenna on 2008.06.28, 00:30:29

I have a USB printer. I have set up LPD. What do I do next?

Neil

Neil,

  1st install CUPS into the root of any directory. Also install libc064x.dll into a directory in your LIBPATH. Then start X:\CUPS\SBIN\CUPSD.EXE from the command line or an object. Open your web browser and go to http://localhost:631. You should see the CUPS interface. Click on 'Add Printer' and follow the instructions. When it asks for 'Device' choose LPD. When it asks for 'Device URI' type 'lpd://<ip-address or hostname>/<printer queue> where <ip-address or hostname> is the address of the lpd server (probably 'localhost' or 127.0.0.1 if CUPS is on the LPD server) and <printer queue> is the name of your eCS printer object on the USB port. The rest should be self-explanatory. If you have trouble the CUPS docs are very good - look under 'Network Printing' or post back here....

Regards,

Dave McKenna
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.06.28, 00:41:47
Incidentally, the next release of InstPdr will strip out the lines from the .ppd that break the OS/2 postscript driver (Thanks Alex!)
There's a link to a test build in the ecups-dev mailing list.

Excellent news Paul! Does this mean that I will simply be able to take the PPD file on LinuxPrinting.org for my PSC1210xi, import, and then print to it using the OS/2 PostScript printing engine? w00t :D

There's a little more to it than that.  There also needs to be an appropriate filter for converting the postscript code into the appropriate printer format.  if the PSC1210 is supported by Gutenprint, then the answer to your question is probably yes.  For other HP printers, like those supported by HP's hplip driver, the answer is 'not yet'.

Cheers,

Paul.
Title: Re: Preview of CUPS 1.3.7
Post by: Blonde Guy on 2008.06.28, 02:14:02

I have a USB printer. I have set up LPD. What do I do next?

Neil

Neil,

  1st install CUPS into the root of any directory. Also install libc064x.dll into a directory in your LIBPATH. Then start X:\CUPS\SBIN\CUPSD.EXE from the command line or an object. Open your web browser and go to http://localhost:631. You should see the CUPS interface. Click on 'Add Printer' and follow the instructions. When it asks for 'Device' choose LPD. When it asks for 'Device URI' type 'lpd://<ip-address or hostname>/<printer queue> where <ip-address or hostname> is the address of the lpd server (probably 'localhost' or 127.0.0.1 if CUPS is on the LPD server) and <printer queue> is the name of your eCS printer object on the USB port. The rest should be self-explanatory. If you have trouble the CUPS docs are very good - look under 'Network Printing' or post back here....

Regards,

Dave McKenna

I already have the following installed and running.

The printer is on USB.
The LPD server is on.
The eCups port driver is installed.
The CUPS server is configured, and I can print to my network printer.

I want to print to the USB printer.
Please explain the printer object to be used with LPD. I'm sure it will want a printer driver. Please explain how that works.

Neil
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.06.29, 00:45:45
New version of CUPS port driver added to the wiki - http://svn.netlabs.org/ecups/wiki/PortDriver
Title: Re: Preview of CUPS 1.3.7
Post by: David McKenna on 2008.06.30, 01:42:36
Neil,

  OK... I understand your situation a little better now. BTW, what printer is attached to the USB port? Anyway, what you need to do is import the Gutenprint PPD file into the eCS PSCRIPT driver, then install the resulting printer driver. I assume you installed the printer in the CUPS web interface. Here are the steps I used to install mine:

1) Download the PostScript printer drivers for eCS version
30.822 (ps30822en.zip found on the eCS website at:
http://www.ecomstation.com/ecsdb/software_cats.php in the 'All Device
Drivers' section). Download the enhanced PIN and PPDENC files from
ftp://ftp.netlabs.org/pub/ecups/work/pinfix.zip.

2) Unzip the PostScript driver package into a
temporary empty directory. I used C:\Junk. Unzip the pinfix.zip package into
a different directory, then copy PIN.EXE and PPDENC.EXE into C:\Junk (this is to avoid overwriting the README already present - I wanted to keep that).

3) Copy the *.ppd file for the USB printer found in C:\cups\etc\cups\ppd to a temporary directory (NOT C:\Junk - I used C:\Junk\PPD). Open the copied version in a text editor and search for the string 'stpstp'. Delete every line that contains this string. Save the changed file in C:\JUNK\PPD.( It has also been reported that 'stpDefault' lines need to be removed, but it was not the case for me - YMMV).

4)  Prepare the altered PPD file for eCS PSCRIPT driver by opening a command line
window and navigate to C:\Junk. Type: PPDENC C:\Junk\PPD C:\Junk <enter>. This encodes the PPD file and puts the encoded version in C:\Junk.

5) From the command line window, in the C:\Junk directory, type: PIN PPD C:\Junk C:\Junk\PSCRIPT.DRV <enter>. This will import any PPD file in C:\Junk into PSCRIPT.DRV.

  Now PSCRIPT has the printer you need in it. Install the print driver in the usual way(s). I right clicked on an existing printer object, chose 'properties', then 'Printer Driver' tab, then right clicked on an existing driver object, then 'Install'. Point the install to C:\Junk and then 'refresh' to get the list of printers. Choose yours from the list.

  Now you can create the new printer object - I dragged a printer template to the desktop, named it 'CUPS' and chose the new PScript printer driver. You will need to set the port to USB - which may need to be installed... right click on an existing port and choose 'install'. The USB port should appear in the list.

HTH, and sorry if I am telling you stuff you already know. Let us know how it goes...

Regards,

Dave McKenna
Title: Re: Preview of CUPS 1.3.7
Post by: David McKenna on 2008.06.30, 02:50:21
Neil,

  I forgot to mention also you will need 2 printer objects for this to work... one for CUPS and one for the LPD server. Both will use the same PScript driver, but the CUPS print object will use the CUPS port driver, and the LPD one will use the USB port. Set the CUPS port to use 'localhost' and the CUPS print queue name. Set Device URI (in CUPS) for lpd://127.0.0.1/<Printer's name on USB port>. Print to the CUPS printer object. What should happen is the print job is sent to the CUPS port, which relays it to CUPS, which processes the job, then relays it to the LPD server, which then sends it on to the USB print object then on to the printer....

Regards,

Dave McKenna
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.06.30, 04:55:59
Neil,

  I forgot to mention also you will need 2 printer objects for this to work... one for CUPS and one for the LPD server. Both will use the same PScript driver, but the CUPS print object will use the CUPS port driver, and the LPD one will use the USB port. Set the CUPS port to use 'localhost' and the CUPS print queue name. Set Device URI (in CUPS) for lpd://127.0.0.1/<Printer's name on USB port>. Print to the CUPS printer object. What should happen is the print job is sent to the CUPS port, which relays it to CUPS, which processes the job, then relays it to the LPD server, which then sends it on to the USB print object then on to the printer....

FWIW - I've started working on a usb backend so that we can avoid the whole LPD thing.  With any luck, I'll have something to release in the next week or so.....
Title: Re: Preview of CUPS 1.3.7
Post by: Blonde Guy on 2008.06.30, 05:55:24
Thanks, Paul and David.

This is the Epson C88+ inkjet printer. I know it has a perfectly good epomni5 driver. But I want it to work through CUPS, because I believe eCups is going to completely replace the IBM printing system at some point. I want this to work.

Anyway, I created a printer object on the machine with LPD server, and pointed a CUPS printer at it, and printed the test page. Although CUPS has support for the Epson C88, I did not see any relevant PPD file for it. I used the epomni5 driver on the printer object.

I also tried printing from normal apps, using my eCups pdr and while that printed pages, they were not good. The printed part of the page was about 1/8 normal size. I searched linuxprinting.com and places like that and found no PPD file.

What David said about importing data was good, although I'm thinking that InstPDR would be a possibility, too. Can you recommend a PPD file to use in this case?

Neil
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.06.30, 11:02:55
Thanks, Paul and David.

This is the Epson C88+ inkjet printer. I know it has a perfectly good epomni5 driver. But I want it to work through CUPS, because I believe eCups is going to completely replace the IBM printing system at some point. I want this to work.

Anyway, I created a printer object on the machine with LPD server, and pointed a CUPS printer at it, and printed the test page. Although CUPS has support for the Epson C88, I did not see any relevant PPD file for it. I used the epomni5 driver on the printer object.

I also tried printing from normal apps, using my eCups pdr and while that printed pages, they were not good. The printed part of the page was about 1/8 normal size. I searched linuxprinting.com and places like that and found no PPD file.

What David said about importing data was good, although I'm thinking that InstPDR would be a possibility, too. Can you recommend a PPD file to use in this case?

How about stp-escp2-c88.5.2.ppd.gz ?

run gzip -d on that to get the .ppd
Title: Re: Preview of CUPS 1.3.7
Post by: David McKenna on 2008.06.30, 13:37:55
Neil,

Although CUPS has support for the Epson C88, I did not see any relevant PPD file for it. I used the epomni5 driver on the printer object.


  What file(s) are in the x:/cups/etc/cups/ppd directory?

Dave McKenna
Title: Re: Preview of CUPS 1.3.7
Post by: Blonde Guy on 2008.07.01, 16:18:41
Thanks, David and Paul.

I have rebuilt my postscript driver with the PPD files I found. CUPS processes them, so the PPD files in the x:/cups/etc/cups/ppd directory are not identical to the one in stp-escp2-c88.5.2.ppd.gz. I added the PPD files CUPS had already manipulated.

David's instructions were approximate, but I got the idea and got it to work. So far, there is no improvement in output, but I need to check my installation to see that all the parts are where they should be.

My CUPS and my printer are on two separate computers, so I can say that the networking aspect works.
Title: Re: Preview of CUPS 1.3.7
Post by: David McKenna on 2008.07.01, 23:37:35
Neil,

  Glad you got it to work! One thing to check that I had some trouble with...  make sure the resolution set in the job properties for the eCS printer(s) is the same as the resolution set in the CUPS printer interface settings. I set all mine to the maximum....

Regards,

Dave McKenna
Title: Re: Preview of CUPS 1.3.7
Post by: Carlo_Warp on 2008.07.02, 11:32:17
Does anyone know a laser printer (black and white or a color one) which works with CUPS? I have to purchase one and in doing so, I will be able to contribute at the product's testing.

Many thanks.
Title: Re: Preview of CUPS 1.3.7
Post by: warpcafe on 2008.07.02, 12:42:19
Hi,

Does anyone know a laser printer (black and white or a color one) which works with CUPS? I have to purchase one and in doing so, I will be able to contribute at the product's testing.
Many thanks.

well first: I have not used CUPS nor have I any clue about the requirements... but:
Samsung offers the CLP-300 series, a very affordable and (as far as I have tested it for a Windows customer) good color laser printer. I checked their "Linux" drivers and it seems there is not only PPD files but also lots of other stuff for CUPS in it.
http://support.samsung.de/support/support_down_detail.aspx?guid=40187160-fb81-4fce-9814-3a269eb21d41&fileid=1248022&filetype=DR
 (http://support.samsung.de/support/support_down_detail.aspx?guid=40187160-fb81-4fce-9814-3a269eb21d41&fileid=1248022&filetype=DR)

For b/w printers, I very much like the Brother brand for their mechanical reliability.
http://solutions.brother.com/linux/en_us/ (http://solutions.brother.com/linux/en_us/) looks promising...

Perhaps that helps? Any more suggestions?

Cheers,
Thomas
Title: Re: Preview of CUPS 1.3.7
Post by: Pete on 2008.07.03, 17:22:24
Hi All

Having mentioned earlier in this thread that I was putting a cups "how to" together here is the url for those interested http://svn.netlabs.org/ecups/wiki/HowTo

Hope it is of help/use  :-)

Pete
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.07.06, 07:50:05
Hi,

Does anyone know a laser printer (black and white or a color one) which works with CUPS? I have to purchase one and in doing so, I will be able to contribute at the product's testing.
Many thanks.

well first: I have not used CUPS nor have I any clue about the requirements... but:
Samsung offers the CLP-300 series, a very affordable and (as far as I have tested it for a Windows customer) good color laser printer. I checked their "Linux" drivers and it seems there is not only PPD files but also lots of other stuff for CUPS in it.
http://support.samsung.de/support/support_down_detail.aspx?guid=40187160-fb81-4fce-9814-3a269eb21d41&fileid=1248022&filetype=DR
 (http://support.samsung.de/support/support_down_detail.aspx?guid=40187160-fb81-4fce-9814-3a269eb21d41&fileid=1248022&filetype=DR)

For b/w printers, I very much like the Brother brand for their mechanical reliability.
http://solutions.brother.com/linux/en_us/ (http://solutions.brother.com/linux/en_us/) looks promising...

Perhaps that helps? Any more suggestions?

A word of warning - whilst both Samsung and Brother have linux support, they don't release source.... Splix is an open source implementation of a driver for Samsung printers, but doesn't (yet) support all printers, and there are a few remaining issues with the OS/2 port.
Title: Re: Preview of CUPS 1.3.7
Post by: Carlo_Warp on 2008.07.07, 10:51:09
Thanks Paul for your advice. Do you suggest a HP laser printer instead of a Samsung or a Brother one?

For Pete:

You did a great job putting a HowTo for Cups!
Many Thanks.
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.07.08, 11:43:37
Thanks Paul for your advice. Do you suggest a HP laser printer instead of a Samsung or a Brother one?

Anything that's listed at http://gutenprint.sourceforge.net/p_Supported_Printers.php3 is what I would recommend (for use with CUPS).

Having said that, the Splix driver should offer good support for supported Samsung printers once it's debugged for OS/2.

I'm looking at buying a Samsung SPL-300 for debugging purposes.

Cheers,

Paul.
Title: Re: Preview of CUPS 1.3.7
Post by: magog on 2008.07.09, 23:09:29
Thanks Paul for your advice. Do you suggest a HP laser printer instead of a Samsung or a Brother one?

I've got an OKI C5450DN (Duplex + Network; supports PCL6 and PS3) color laser printer (actually it's an LED printer) which works with the PPD file from OKI and IBMs Postscript package. I created a new printer driver with the PPD and the Postscript package. The latest postscript package had an issue...but the previous release worked - don't know what went wrong as I created the driver 2 years ago. ;)

The printer is no longer available but there are newer models available.
It's a great printer and the newer models also had good critics in reviews on the german druckerchannel.de website.

I've not yet tried to use the printer with CUPS but I might try it once I unpack the rest of my hardware (I just relocated and most of my stuff is still in packing cases).
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.07.10, 06:52:08
I've got an OKI C5450DN (Duplex + Network; supports PCL6 and PS3) color laser printer (actually it's an LED printer) which works with the PPD file from OKI and IBMs Postscript package. I created a new printer driver with the PPD and the Postscript package. The latest postscript package had an issue...but the previous release worked - don't know what went wrong as I created the driver 2 years ago. ;)

FWIW - I built the ddk source for the postscript driver last night.  It can be found at http://download.smedley.info/pscript_30_800.zip  I ran out of time to test it last night, but intend to tonight - not that this include _no_ PPD files - the user needs to add any that are required.

Next steps are to rename the driver, and import the Gutenprint PPD's so that it's ready to use.

Cheers,

Paul.
Title: Re: Preview of CUPS 1.3.7
Post by: Blonde Guy on 2008.07.10, 16:40:36
Thanks Paul for your advice. Do you suggest a HP laser printer instead of a Samsung or a Brother one?

I've got an OKI C5450DN (Duplex + Network; supports PCL6 and PS3) color laser printer (actually it's an LED printer) which works with the PPD file from OKI and IBMs Postscript package. I created a new printer driver with the PPD and the Postscript package. The latest postscript package had an issue...but the previous release worked - don't know what went wrong as I created the driver 2 years ago. ;)

The printer is no longer available but there are newer models available.
It's a great printer and the newer models also had good critics in reviews on the german druckerchannel.de website.

I've not yet tried to use the printer with CUPS but I might try it once I unpack the rest of my hardware (I just relocated and most of my stuff is still in packing cases).

I have tried the very similar, but earlier OKI C5300 color network printer. It works in CUPS. I also tried using it directly with the PPD file imported into the IBM postscript driver, and while it worked, the best performance was with the Apple Color Laserwriter driver.

Thinking back to the old days of printing from IBM OS/2 1.3, I think the Apple Color Laserwriter driver might be the best one for most postscript printers. I don't think printing support in OS/2 has been improved much since 1.3.
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.07.12, 09:32:51
Hi Guys,

http://download.smedley.info/gutenprt-5.2.0-beta3-os2.zip

DDK postscript driver source built as gutenprt.drv - with approx 650 Gutenprint ppd files pre-imported/filtered/etc.

Any more ppd files and the driver starts behaving erratically - reminds me of the IBM postscript driver 30.827!!

I've selected mainly Canon/HP/Epson printers to include - hopefully people will find this useful as it means no buggering around importing ppd files into pscript.drv!

Cheers,

Paul.
Title: Re: Preview of CUPS 1.3.7
Post by: matnieuw on 2008.07.13, 17:27:24
For Pete: Thanks for the HowTo, it worked like a charm (after deleting all printers with prndrv), finally I'm able to print doublesided from OS/2 to my Canon IP4000.

In general, it appears that (some) 'print job properties' in the OS/2 application don't have much effect. To print double sided, I have to set Cups so (via localhost:631), it doesn't matter what I set in e.g. OpenOfice.
Is this always so? I though such options were passed as 'job control' in the Postscript file ?

Mat Nieuwenhoven
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.07.13, 23:21:46
For Pete: Thanks for the HowTo, it worked like a charm (after deleting all printers with prndrv), finally I'm able to print doublesided from OS/2 to my Canon IP4000.

In general, it appears that (some) 'print job properties' in the OS/2 application don't have much effect. To print double sided, I have to set Cups so (via localhost:631), it doesn't matter what I set in e.g. OpenOfice.
Is this always so? I though such options were passed as 'job control' in the Postscript file ?

Mat Nieuwenhoven

We made progress on such things yesterday - the OS/2 postscript driver has some deficiencies :)

Try using http://download.smedley.info/gutenprt-5.2.0-beta3-os2-20080713.zip

This driver has:
1) pscript.drv built as gutenprt.drv
2) Approx 650 of the simplified ppd files pre-imported into the driver
3) Some fixes to postscript syntax and by one user's accound, enable all the settings to work.

The reasons why the IBM postscript code fails are listed at: http://article.gmane.org/gmane.org.netlabs.ecups.devel/236
Title: Re: Preview of CUPS 1.3.7
Post by: Saijin_Naib on 2008.07.14, 04:04:10
Nice stuff Paul :) Seems like something that can be parsed out of the .drv files by a script of some sort making available to us a ton of .ppd files!
Title: Re: Preview of CUPS 1.3.7
Post by: matnieuw on 2008.07.26, 11:28:09
For Pete: Thanks for the HowTo, it worked like a charm (after deleting all printers with prndrv), finally I'm able to print doublesided from OS/2 to my Canon IP4000.

In general, it appears that (some) 'print job properties' in the OS/2 application don't have much effect. To print double sided, I have to set Cups so (via localhost:631), it doesn't matter what I set in e.g. OpenOfice.
Is this always so? I though such options were passed as 'job control' in the Postscript file ?

Mat Nieuwenhoven

We made progress on such things yesterday - the OS/2 postscript driver has some deficiencies :)

Try using http://download.smedley.info/gutenprt-5.2.0-beta3-os2-20080713.zip

This driver has:
1) pscript.drv built as gutenprt.drv
2) Approx 650 of the simplified ppd files pre-imported into the driver
3) Some fixes to postscript syntax and by one user's accound, enable all the settings to work.

The reasons why the IBM postscript code fails are listed at: http://article.gmane.org/gmane.org.netlabs.ecups.devel/236

Hi Paul,

I only had now time to test your Gutenprint driver. In combination with Cups 1.3.8 it still is so for me that Cups seems to determine printer options, not the user/application. I tested with Cups' printers options set to single sided, and print from Lucide 2 pages set to double sides, but they came out single. I will try to get a PS file output for double sided from both OS/2 and Linux, and see if I can spot the difference.

Mat Nieuwenhoven
Title: Re: Preview of CUPS 1.3.7
Post by: Paul Smedley on 2008.07.27, 01:04:46
For Pete: Thanks for the HowTo, it worked like a charm (after deleting all printers with prndrv), finally I'm able to print doublesided from OS/2 to my Canon IP4000.

In general, it appears that (some) 'print job properties' in the OS/2 application don't have much effect. To print double sided, I have to set Cups so (via localhost:631), it doesn't matter what I set in e.g. OpenOfice.
Is this always so? I though such options were passed as 'job control' in the Postscript file ?

Mat Nieuwenhoven

We made progress on such things yesterday - the OS/2 postscript driver has some deficiencies :)

Try using http://download.smedley.info/gutenprt-5.2.0-beta3-os2-20080713.zip

This driver has:
1) pscript.drv built as gutenprt.drv
2) Approx 650 of the simplified ppd files pre-imported into the driver
3) Some fixes to postscript syntax and by one user's accound, enable all the settings to work.

The reasons why the IBM postscript code fails are listed at: http://article.gmane.org/gmane.org.netlabs.ecups.devel/236

Hi Paul,

I only had now time to test your Gutenprint driver. In combination with Cups 1.3.8 it still is so for me that Cups seems to determine printer options, not the user/application. I tested with Cups' printers options set to single sided, and print from Lucide 2 pages set to double sides, but they came out single. I will try to get a PS file output for double sided from both OS/2 and Linux, and see if I can spot the difference.

Mat Nieuwenhoven

There are known issues with applications that send 'Raw' data to the Postscript driver.  Lucide (and Odinised apps) generate the postscript themselves, then pass it through gutenprt.drv (or pscript.drv) which then tries (not very well) to add them to the already generated code.  Instead of determining the best point to insert the settings, it put inserts it at the beginning, prior to the #!PS-Adobe marker - which can cause other problems too.

This issues are being investigated - for now - don't expect printer settings made in Odinised (including Acrobat 4.x, 5.x) or Lucide to take effect.

Cheers,

Paul.