1833013 Members
2242 Online
110048 Solutions
New Discussion

HPUX to Windows Printer

 
SOLVED
Go to solution
Cenon
New Member

HPUX to Windows Printer

i want to print to windows printer from my hp-ux terminal emulation.. i have set-up this type of printing in rh 7.3 linux using samba with printool to set-up printers that are shared by windows. does anybody knows this to set-up in hpux. i have samba 2.0.9 installed in my hpux now. all i want is to print from hpux to windows printer.. thanks

cenon
5 REPLIES 5
Kurt Beyers.
Honored Contributor
Solution

Re: HPUX to Windows Printer

Cenon,

You can add a remote printer in SAM.

On the Windows server, you've got to enable the LPD service in windows. See http://www.tkrh.demon.co.uk/ntp.html for more details on the Windows configuration part.

regards,
Kurt
Keith Bevan_1
Trusted Contributor

Re: HPUX to Windows Printer

Cenon,

You will need to assign a static ip address (ie NON DHCP) to the printers internal network card or external print server.

The ip address should also be entered in the unix file /etc/hosts with a suitable alias name (like xx.xx.xx.xx nashuatec)

The you will need to add the remote printer under unix either from the command line using the command lpadmin

type in man lpadmin for more information

or

using the sam utility type or select:-

sam
printers and plotters
LP spooler
printers and plotters
Actions tab
Add remote printer/plotter
printer name (whatever you want to call the unix queue)
Remote System name (the alias name you entered in /etc/hosts)
Remote printer name text
tab to the bottom and click on Ok

from the command line type :-
lpshut
lpsched
enable (printer name as above)
accept (printer name as above)

Thats it completed !

This should get you sorted.

Keith

You are either part of the solution or part of the problem
Stanimir
Trusted Contributor

Re: HPUX to Windows Printer

Hi!
I can show you the easiest way to do this -
you need to redirect tty-port.
So put my attachments /2 files/ to your
/usr/bin - directory and use it
like print -command:

#sfput

Good luck!
Stan
Bruno Ganino
Honored Contributor

Re: HPUX to Windows Printer

Some samba istructions for test printer
http://samba.anu.edu.au/samba/docs/man/testprns.1.html
HTH
Bruno
Torino (Turin) +2H
Bruno Ganino
Honored Contributor

Re: HPUX to Windows Printer