Operating System - HP-UX
1834097 Members
2197 Online
110063 Solutions
New Discussion

Jet Admin Network Printer Control Script

 
Gary_178
Occasional Contributor

Jet Admin Network Printer Control Script

I have an HP2200 to which output prints using the 'staircase effect'.
Is there some command I can use within the Jet Admin Network Printer Control Script or is there a way I can ensure that CR+LF is always sent to the printer, as I cannot amend this information through the devices Web Page as I can with some other printers
4 REPLIES 4
RAC_1
Honored Contributor

Re: Jet Admin Network Printer Control Script

The file /etc/lp/interface/spooler_name is the file that is used as interface script. You may try putting your code there so that CR+LF is always sent to the printer.

Anil
There is no substitute to HARDWORK
Gary_178
Occasional Contributor

Re: Jet Admin Network Printer Control Script

Anil

I am aware of this; what I need is the appropriate coding to insert in the Script
Steve Steel
Honored Contributor

Re: Jet Admin Network Printer Control Script

Hi


Are the requests coming from a PC


Then you need DOS2UX before printing or add it to the script to run before the file copies to the printer

If coming from UX via dos then ux2dos

I suspect ux2dos in your case


cat "$file" 2>&1 to cat "$file" 2>&1 | ux2dos



addqueue -l shows supported printers

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Gary_178
Occasional Contributor

Re: Jet Admin Network Printer Control Script

Steve

Thanks - now sorted