Operating System - HP-UX
1833156 Members
3291 Online
110051 Solutions
New Discussion

Re: Printing to remote (windows ) queue

 
Danny Van Ursel
Occasional Contributor

Printing to remote (windows ) queue

I'm trying to add a remote printer on my hp-ux 11 which is shared on a Windows server.

The remote queue name is 16 characters, but I can only give remote queue names of 14 characters with lpadmin (or sam)

Anyone an idea how to overcome this problem ?


3 REPLIES 3
G. Vrijhoeven
Honored Contributor

Re: Printing to remote (windows ) queue

Hi Danny,

I am not sure, since never installed a windows shared printer on UX, but as far as i know the printeraddress and the queue name do not have to match.

HTH,

Gideon
Eric Antunes
Honored Contributor

Re: Printing to remote (windows ) queue

Yes,

What matters is the MAC and IP addresses: you can give any queue name to your printer in UX...
Each and every day is a good day to learn.
Cesare Salvioni
Trusted Contributor

Re: Printing to remote (windows ) queue

You can also use SAMBA to print to a printer connected to MSW and shared as NETBIOS network resource by windows.
If u have samba installed on UNIX u can use the attached script following this istructions:

share the printer on MSW as to use from other PC
on unix create a local queue with
lpadmin -p -v/dev/null -mdumb

then substitute the file /usr/spoo/lp/interface/ with the script attached

edit the script and change the variables at the very beginning

enable/accept the printer and start the scheduler, it should print a file straight to the printer.

Obviously the script is not completly tested :-)))

hope it helps