Operating System - HP-UX
1833137 Members
3771 Online
110051 Solutions
New Discussion

Re: Printer - Queue send to a Windows spooler

 

Printer - Queue send to a Windows spooler

Hey every1

My problem:
I have Software under HPUX11.0 that merges XML with Data and generates Postscript and sends that postscript via _lp_ to a queue on that system.
Know we don´t want HPUX to print that files on its own, we want it to send the postscript to a windows spooler which is finaly printing the ps.

Hope you understood what i ment and can tell me wether this is possible or not, and if it is how to do that.

thx
Pete
Wer meint gut zu sein hat es verpasst besser zu werden!
4 REPLIES 4
Steve Steel
Honored Contributor

Re: Printer - Queue send to a Windows spooler

Hi

Use sam to add a remote printer from the UX to the windows box. Remote system = windows machine remote printer is name on the windows spooler

Set it as a BSD system

Set the rlp daemon on on the Windows box

Print with

-oBSDo
BSDo) # Files contain Postscript data.


Steve STeel
If you want truly to understand something, try to change it. (Kurt Lewin)
Geoff Wild
Honored Contributor

Re: Printer - Queue send to a Windows spooler

Try this:

lpadmin -v/dev/null -mrmodel -pUNIXQ -ormWINDOWSSERVER.DOMAIN.COM -orpWINDOWSQ

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Bill Hassell
Honored Contributor

Re: Printer - Queue send to a Windows spooler

You must also configure your Windows server to accept lpr (it uses the term Unix) remote printing requests.


Bill Hassell, sysadmin
Alzhy
Honored Contributor

Re: Printer - Queue send to a Windows spooler

Peter,

We are using this scheme. For you to be able to do this, your Windows Machine must have the LPD service enabled (NT 4.0) and on Windows 2000 servers, you must have UNIX Printing Services up and running.. Once the Windows servers - acting as print servers/spoolers are properly configured, you can use SAM to configure "Remote Printer" -- of course filling in the apropriate fields in SAM.

We've done this as most of our UNIX printing needs are Postscript and PCL/HPGL formatted already. Another reason/advantage for doing this is to have central Queue management -- Windows manages control of what is being sent to the printers instead of UNIX directly printing to the Printer network cards..

Hakuna Matata.