1833776 Members
1939 Online
110063 Solutions
New Discussion

HP-UX - remote printing

 
David W. Chapman
New Member

HP-UX - remote printing

I have two machines running HP-UX 11.0. Machine "kob" and machine "pun." The "kob" machine has one printer defined: Name: wst4, Type: Network, Enabled to Print: yes, idle, Accepting Requests: yes, Location: - (man net_lj4x). The "pun" machine also has one printer defined: Name: wst4, Type: remote, Enabled to Print: yes, idle, Accepting Requests: yes, Location: wst4 on kob (man net_lj4x). If I issue the following command on "kob", I get exactly what I wanted: lp -d wst4 -o nobanner -o landscape. If I issue the same exact command from "pun", I get a banner and portrait. It seems to ignore the â o options. How do I get the printer on â punâ to behave like the printer on
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor

Re: HP-UX - remote printing

The difference is that one of those is a Network printer (good) and the other is a Remote printer. Remote printers do not use the net_lj4x interface file and the options available with remote printers are extremely limited. Your soultion is to delete the Remote printer queue and replace it with a Network queue.
If it ain't broke, I can fix that.
Bill Hassell
Honored Contributor

Re: HP-UX - remote printing

Remote printing in HP-UX only works as you expect it to when the remote computer is also HP-UX. Remote printing to Linux or NT or any other platform will ignore *all* -o options per RFC 1179, the remote printing standard. Since you have a networked printer, I am assuming that it is an HP JetDirect interface and therefore, no server is needed for HP-UX or Windows. Just set up the printer as a networked printer like the first system. Don't worry about sending multiple jobs. The JetDirect card will keep everything in order. And all -o options will now work.


Bill Hassell, sysadmin
Keith Bevan_1
Trusted Contributor

Re: HP-UX - remote printing

David,

have you tried :-

lp -dwst4 -oBSDh

This works even if the remote queue is not set as a BSD type queue.

Keith
You are either part of the solution or part of the problem