Prepending PCL to output

Anonymous anonymous at easysw.com
Mon Nov 1 08:10:55 PST 2004


We run a mixed environment of WinXP, Linux, HPUX, Mainframes and assorted minicomputers and we are using Linux/Samba/Cups to support our Windows workstations.

We have a legacy app that runs on a remote mini that generates plain text intended for a preprinted form.  I would like to route this output thru our CUPS spooler to an HP LaserJet.  To format it correctly (to fit the preprinted form), I need to add appropriate PJL/PCL commands.  We've done this before with both Sys V and BSD style printing, but I'm unsure as to the appropriate approach with CUPS.

There is nothing in the print file that can be used to declare it a MIME type, so I think I will have to declare a printer and use a Sys V style interface.

Am I heading in the right direction?

Any tips on using a Sys V interface with CUPS? How would I use a CUPS back end with my interface?

Thanks
Russ




More information about the cups mailing list