Operating System - HP-UX
1834915 Members
2839 Online
110071 Solutions
New Discussion

Re: LP interface scripts - any new models?

 
Jordan Bean
Honored Contributor

LP interface scripts - any new models?

To save me the trouble of re-inventing the wheel, does anyone have an interface script for PCL6 and PostScript2 using rlp? HPUX comes with PCL5 and basic PostScript, but I would like to make use of the advanced features of the newer HP laserjets.
4 REPLIES 4
Vincenzo Restuccia
Honored Contributor

Re: LP interface scripts - any new models?

Jordan Bean
Honored Contributor

Re: LP interface scripts - any new models?

I knew JetAdmin would come up, but I'm hoping to avoid it because most of our printers do not have JetDirect cards.

I'm supporting several LaserJets with JetDirect, LaserJets with Emulex, a DEC Laser Printer, an Oce 9260, an Oce 8465, and would like to keep things simple for the operators by using only LPD. So JetAdmin is out. However, if the JetAdmin package provides model scripts for PCL6 and PS2 which can be used with little or no modification in the attached interface script, then I will happy.

To give you an idea of what I'm trying to do, I've attached my interface script which formats an input file with the PCL5 model script (which would other wise send it to a directly attached printer) and sends it to the remote printer with rlp. For printers which cannot handle the PJL used in the PCL5 model script, I use PCL4 instead. For printers that do not support PCL, I use the PostScript model which has no special formatting features (bummer).
Jordan Bean
Honored Contributor

Re: LP interface scripts - any new models?


I'm going through all my old posts to put some closure to them.

Not long after this one I came up with this interface script.

Jordan Bean
Honored Contributor

Re: LP interface scripts - any new models?


It turns out that my previous interface script processes only one file per lp job. The new attached version will process all files given in single lp invocation. So as promised in another post, I'm making this new one available. If you have time to critique it, let me know if I'm going about this wrong way.