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

Samba NT printing

Status
Not open for further replies.

terryles

Programmer
Oct 3, 2000
9
GB
Help urgently required.

I have been attempting for ages to set up a small NT/Linux system to print from Linux to a printer attached to an NT PC. I have set up Samba and am able to file share but whenever I try to print I get the following log message

server= slave; service= nec; username= cfs; password= ******
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
Domain=[WORKGROUP] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
smb: \> ERRDOS - ERRbadaccess (Invalid open mode.) opening remote file stdin-2264
smb: \> server: command not found
smb: \> service: command not found
smb: \> username: command not found
smb: \> password: command not found
smb: \>

The printer is set up in the smb.conf file to run smbprint and I can see the print share when I run net view from the PC.

The NT PC is called slave with an NEC P6 printer attached.

Any suggestions would be much appreciated.

Many thanks
 
What version of Linux are you running? Have you used the "printtool"? Try it. I can print from my Linux (RedHat 7.1) box to a printer on an NT server and also on a networked PostScript printer and I've never even setup those printer in samba, just defined them using the "printtool". d3funct
zimmer.jon@cfwy.com
The software required `Windows 95 or better', so I installed Linux.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top