Operating System - HP-UX
1833871 Members
1722 Online
110063 Solutions
New Discussion

Re: Print from HP-UX to a Windows print queue

 
SOLVED
Go to solution
enrico.nic
Regular Advisor

Print from HP-UX to a Windows print queue

Hi all

In my institute a bunch of new printers has been added, available on the network only from a windows server (for accounting reasons).
I wonder to establish a printer queue using my HP-UX 11.11 box as a "forwarder" to the remote print queue on win 2003, supposing this is the only way to print on that printers.
I really don't know where to start from: maybe I need to install the CIFS client ?

Has anybody done that before ?

Thank you in advance for your help

Enrico
11 REPLIES 11
Pete Randall
Outstanding Contributor
Solution

Re: Print from HP-UX to a Windows print queue

Enrico,

You can use SAM to set it up as a remote printer. You need to supply the name of the server it is connected to and (possibly) the name of the queue on that server and then give it a local queue name. That's basically all there is to it.


Pete

Pete
Pat Lieberg
Valued Contributor

Re: Print from HP-UX to a Windows print queue

The queues on the Windows server should accept forwarded print jobs from the HP box. Just add the printer as a remote printer in SAM and specify the Windows server as the remote host and the queue name of the printer on the Windows server as the remote queue name.

Rick Garland
Honored Contributor

Re: Print from HP-UX to a Windows print queue

You can install the printers as 'remote' printers.

Going through SAM, through the Printers and Plotters --> LP Spooler --> Printers and Plotters. On the menu bar is an option for Actions.

There is a "Add Remote Printer" selection there. Need the name of the WIN server (or IP address) and the printer name on the WIN server.

In this manner, you send requested print jobs from HPUX to the WIN system and the WIN system prints the job.

Luk Vandenbussche
Honored Contributor

Re: Print from HP-UX to a Windows print queue

Enrico,

Don't forget to turn no the remote printing services on your W2K3
Mel Burslan
Honored Contributor

Re: Print from HP-UX to a Windows print queue

While you are defining the remote server using sam, make sure check the box saying this printer is attached to a netBSD system.
________________________________
UNIX because I majored in cryptology...
Yogeeraj_1
Honored Contributor

Re: Print from HP-UX to a Windows print queue

hi enrico,

steps:

1. Create remote printer on the HP-UX server
2. COnfigure print services for Unix on the W2k3 server


Nb. the remote printer you are creating on the HP-UX server must have same name as the windows printer defined on the W2k3 srver.

hope this helps too!

regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
enrico.nic
Regular Advisor

Re: Print from HP-UX to a Windows print queue

I have created the queues, not through sam because the print queue names on the W2K3 server where too long for the sam's form: looking into the samlog file I've created a simple script to add a new print queue.
I am not the administrator of the W2K3 server, I hope I can access the print queue with this setting.
Unfortunately I cannot try until monday ... so I hope you will read the follow-up monday afternoon (GMT time).

Thank you for the replies

Enrico
enrico.nic
Regular Advisor

Re: Print from HP-UX to a Windows print queue

I have created the print queue, setting it as a queue on a BSD system.

Unfortunately, the sample print job continues to stay in the queue:

# lpstat laser5_7116
laser5_7116-0 enrico priority 0 set 18 13:22 on laser5_7116 p.txt 667 bytes

In the log files, syslog.log and lp/log, there isn't any message about eventual errors.

Has anybody other clues ? Please ?

Thank you

Enrico
Stefan Schulz
Honored Contributor

Re: Print from HP-UX to a Windows print queue

Hi,

is the W2K Box running the "Services for Unix" (SFU)?

My first guess is that these services are not installed and therefore the W2K box isnt accepting any printjobs from your HP-UX box.

Check with the Windows admin.

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Arunvijai_4
Honored Contributor

Re: Print from HP-UX to a Windows print queue

Hi Enrico,

Please take look at this links to configure unix print services on Windows

http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/printservicesunix.mspx
http://please.rutgers.edu/show/howto/AddingLPRport/

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
enrico.nic
Regular Advisor

Re: Print from HP-UX to a Windows print queue

Ok, I will check with the W2K3 administrator.

Another link is
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/9793f43f-417c-41d6-a6ae-86d1170b471d.mspx

where the specific problem of the LPD client to the W2K3 server printing is shortly treated.

I hope I will not re-open the thread to ask you about the same print problem through samba ...

Thank you

Enrico