1848615 Members
6448 Online
104033 Solutions
New Discussion

Re: Samba Question

 
Ranjith_5
Honored Contributor

Samba Question

Hi All,

How can I configure hpux to use a printer configured on a windows machine, using samba.

Thanks in advance..

Regards,
Syam
12 REPLIES 12
Peter Godron
Honored Contributor

Re: Samba Question

Arunvijai_4
Honored Contributor

Re: Samba Question

Hi Syam,

Check here : http://www.samba.org/samba/docs/man/Samba-Guide/secure.html#ch4ptrcfg

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Ranjith_5
Honored Contributor

Re: Samba Question

Hi All,


Thanks for your kind response.

The links provided are not mentioning anything about printing from HPUX on a windows client. Any ideas are welcome. Need not be only samba.. I am trying to check lpr printing on windows.(Print Services for UNIX). Any one have the procedure for this OR samba.

Regards,
Syam
Steven E. Protter
Exalted Contributor

Re: Samba Question

Syum,

Samba Configuration is the same on HP-UX samba client as any other.

Therefore all you need to do is change smb.conf or issue a smbclient or cifsclient command with a user and a password to create print connectivity.

You will most likely need a machine account for the HP-UX system set up on the Windows Primary Domain controller.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ranjith_5
Honored Contributor

Re: Samba Question

SHALOM SEP,


Can you please give me the procedure to make the hpux box to print on the windows printer. I have configured a network printer on the windows machine.

Regards,
Syam
Jaime Bolanos Rojas.
Honored Contributor

Re: Samba Question

Syam,

Take a look at this document and tell me if this is what you are looking for,

http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/printservicesunix.mspx

Regards,

Jaime.
Work hard when the need comes out.
Ranjith_5
Honored Contributor

Re: Samba Question

Hi,

I tried configuring lpd printer for hpux.
I gave the follofing command from hpux

#lpstat -t
scheduler is running
system default destination set in default file: DFX
device for DFX: /dev/null
remote to: dfx5000 on 192.168.2.28
DFX accepting requests since Aug 18 13:30
printer DFX now sending DFX-5 to 192.168.2.28. enabled since Aug 18 14:15
fence priority : 0
DFX-5 root priority 0 Aug 18 14:18 on DFX
(standard input) 1326 bytes

After this i gave a print command.

#lpr -d

But it doesnt complete print request instead I get an error :

rlpstat: Connection to 192.168.2.28 is down

But I am ablr to ping to this ip. What could be the problem.

regards,
Syam
Jaime Bolanos Rojas.
Honored Contributor

Re: Samba Question

Syam,

You will definetely want to take a look at Peter's answer, I know it sound like a lot of reading, but you got to have that configure properly for you to be able to print on the window's printer.

Regards,

Jaime.
Work hard when the need comes out.
Charles Harris
Super Advisor

Re: Samba Question

If you want to do it the really easy way, install cups - should be avilable in the HP-porting archives.

Minimal fuss, still uses Smb to connect etc...

Just my 2c.

-=ChaZ=-
Steven E. Protter
Exalted Contributor

Re: Samba Question

Shalom Syam,

I'd recommend not running the lp utils at the same time as cups.

CUPS:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/cups-1.0.2/

This is kind of old and I have doubts it will work with a modern CIFS installation.

I think this doc will be more helpful.

http://docs.hp.com/en/B8725-90079/ch01s04.html

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: Samba Question

Sorry Syam,

Wrong doc posted before.

It has been a tough week.


http://docs.hp.com/en/B8725-90101/ch02s04.html

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ranjith_5
Honored Contributor

Re: Samba Question

thread closed