1832128 Members
3091 Online
110038 Solutions
New Discussion

Windows Printer

 
irbaboon
Advisor

Windows Printer

How to configure an interface file for a printer shared on Windows Workstation. I??m use samba.
6 REPLIES 6
Jeff Schussele
Honored Contributor

Re: Windows Printer

Hi,

Short answer is you can't.
It would be considered a "remote" printer and as such HP expects the remote system to handle the job.
If you absolutely need to define attributes for the job, you'd have to embed them in the print job itself.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
irbaboon
Advisor

Re: Windows Printer

Sorry Jeff...

I??ve a remote printer shared in a Windows Workstation (netbios path: \\it10\hplaser1).

I need to use this printer on my applications into HPUX.

How ???
Jeff Schussele
Honored Contributor

Re: Windows Printer

OK, I understand now.

What you need to do is setup a remote printer in HP.
Use SAM to do so as follows:

SAM -> Printer & Plotters -> LP Spooler -> Printer & Plotters -> Actions -> Add Remote Printer/Plotter

Fill the boxes in as follows:

Printer Name => What you want the printer to be known as on this system - the HP

Remote System Name => Either the hostname (if resolvable) or IP of the Win box

Remote Printer Name => What the queue for that printer is known as on the Win box

Click OK & off you go.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
irbaboon
Advisor

Re: Windows Printer

Hi Jeff.....

This steps are for a win box with a lpd software (pure IP).

In my case, I??ve to use a smbclient.
Jeff Schussele
Honored Contributor

Re: Windows Printer

Hi,

Samba is for file sharing.
To use a printer on another system - in this case a Win system - all you have to do is follow the steps I gave you to setup a remote printer

Let's say you call this printer laser on the HP system.
When you're done with the steps I gave you try this to test it

lp -dlaser /etc/hosts

This should print out the /etc/hosts file from the HP system on the printer being serverd by that Win box.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Bill Hassell
Honored Contributor

Re: Windows Printer

Make sure your Windows server has the lpd/lpr service enabled. NetBIOS is meaningless to HP-UX and SAMBA (CIFS/9000) is used to share printers from HP-UX to Windows. This service is not normally enabled in a standard Windows install.

There's one other problem: for plain ASCII files sent to the PC, the text will stairstep across the page because Unix and PCwindows do not have he same format. You'll need to translate the ASCII files before printing as in:

ux2dos myASCIIfile | lp -dprinter


Bill Hassell, sysadmin