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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing to Win7 using Samba 2.0.3 via VPN connctn to SCO 3.2v5.0.6 1

Status
Not open for further replies.

tbb999

Technical User
Aug 11, 2010
1
US
I would like to know if anyone has a way to PRINT TO a printer attached to a Windows 7 PC, from SCO, while logged in via a VPN connection.

I am able to attach to a Samba share on the SCO server for files while attached to the VPN, so I know my Samba is workling - but my print jobs return:

Added interface ip=192.168.110.20 bcast=192.168.110.255 nmask=255.255.255.0
session request to 192.168.110.193 failed
session request to *SMBSERVER failed

Any help would be greatly appreciated.

Thanks !!
 
Can you see the printer's share name when browsing for printers from any non-Win 7 PC's on the network?

If not, check the sharing options - even Vista systems sometimes have problems printing to Win 7 printers let alone XP.

What version of Samba, and where did you get it from?

What does SWAT show in the way of available printers when you try to add a printer?

----------------------------------------------------------------
Pat Welch, UBB Computer Services, a WCS Affiliate
SCO Authorized Partner
Microlite BackupEdge Certified Reseller
Unix/Linux/Windows/Hardware Sales/Support
(209) 745-1401 Cell: (209) 251-9120
E-mail: patubb@inreach.com
 
I've been unable to hit shared printers on Windows7 from Samba. But, you can share the printer in Windows7, then enable the LPD protocol and use the printer in that manner:

On the Windows 7 PC

1. In Windows 7 Control Panel
2. Select "Programs and Features" pane
3. Click "Turn Windows Features on or off"
4. Click on the "LPD Print Service". Under "Print and Document Services"
5. Ensure printer(s) are shared

On the SCO system, configure this as you would a normal LPR/LPD printer. The resulting /etc/printcap entry should look like this:
HP2400:\
:lp=:rm=192.168.180.25:rp=HP2400:sd=/usr/spool/lpd/HP2400:mx#0:

This would assume that the UNIX printer name is "HP2400", that the Windows7 box has an IP address of 192.168.180.25 (while connected via VPN), and the shared name is "HP2400".






"Proof that there is intelligent life in Oregon. Well, Life anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top