12-21-2006 03:49 PM
XP Professional- unix services installed
- LPR configured
HP-UX 11i - remote printing configured
Printer HP5000 connected to Workstation
Can print reports to printer but formatting is wrong. Anything changed in script does not reflect in printed document.
Troubleshooting: Changed print script in /etc/lp/interface/model.orig to landscape and font 8.
Results: Printer not picking up formatting when printed
Solved! Go to Solution.
12-21-2006 09:58 PM
setting printer options for remote printing is a very limited feature at HP-UX.
I don't think, model.orig is the correct file used for remote printing - it's used for network printing (JetPrint).
Either try to embed the escape sequences to change to landsacpe + font8 into the file or create a seperate XP printer using your required settings as defaults (which would not require any changes at the HP-UX side).
12-22-2006 01:51 AM
Now if this printer was properly created using SAM and selecting a "remote" (*NOT* network) printer, then there will be no printer script in the model.orig directory. It sounds as if you added the printer as a "network" printer (in SAM terminology) which is incorrect.
However, changing to remote will not fix the limitation. All options are ignored in remote print server connections. You have two choices:
1. Insert the required escape sequences in front of each job. You can do this with a simple file and then using cat to connect the two together as in:
cat font8landscape myprintfile | lp -dmyprinter
2. Move the printer from the PC to be connected directly to the HP-UX system with a parallel cable (you may need to add a Centronics I/O card). Then install the CIFS file and print sharing software and configure the printer as a share to your PC.
3. Purchase the HP JetDirect network card and put the printer on the network. Then change the PC to talk to the printer over the network and add the printer to HP-UX using the addqueue command.
The only practical solution is #3. For the PC, you can download the printer installer from:
or use the built-in port monitor in WinXP:
Now the WinXP port monitor can be a bit temperamental so I prefer using the installer since you can bypass the 'discovery' section and just enter the IP or MAC address of the printer.
For HP-UX, you already have HPPI installed so you add the printer with addqueue:
addqueue -h 18.104.22.168 -q myprinter
(check the man page for other options like no banner). The man page for your printer options will be: man net_ljx000
01-08-2007 01:44 PM
The printer that has the formatting error is configured in SAM as a remote printer. The printer is also connected via parallel port. Unfortunately, the application that prints to it is encrypted. I will try the suggestions when my workload slows down.