Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing to a shared printer on a win9x pc

Status
Not open for further replies.

tuka

Technical User
Jul 6, 2001
438
US
I have Samba V.2.0.7 setup on a Solaris 2.6 host that is sharing files to some NT machines.
Now I have been asked to look into printing from Solaris
to PCs' that has local printers attached.
Can anyone give me a jump start on how to do this?

Thanks
 
We do just that (on AIX not Solaris) but it should work the same way.

First, on the PC connected to the printer, be sure to define/enable "file and print sharing" in the TCP/IP properties dialog. Following that from the "printers" dialog for the specified printer the pop up menu should then have a SHARING parameter. Here is where you give the printer an NAME that the other will reference to connect to. BE SURE to leave the password field blank.

Then, from your spooler or what ever other mechanism you have on Solaris use something similar to this for triggering the print:

smbclient //_pcname_/_printername_ -d _debuglevel_ -P -c "print _filename_" ;

You'll have to provide your own names but our applications prints POS receipts (tens of thousands per day) and the performance is virtually instantly even across remote networks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top