Hello, I have installed a HP Deskjet printer on a Windows boxen which is networked to the Linux box. Currently my samba settings do allow Linux disk shares to be accessed from Windows NT. Before further dwelling into samba settings, the howto docs indicate that I have to complete the printcap settings. I have made the following entries in these files: --------------------------------------------------------------- /etc/printcap ============== # # Copyright (c) 1983 Regents of the University of California. # All rights reserved. # # @(#)etc.printcap 5.2 (Berkeley) 5/5/88 # # Remote Deskjet Printer connected to Windows indra:\ :sd=/var/spool/lpd/indra:\ :rm=windows.mydomain.com:\ :rp=Indra:\ :sh:sf:mx#0:\ :lf=/var/spool/lpd/errors.log:\ :pl#66:pw#80:\ :if=/usr/local/bin/smbprint: /etc/hosts.lpd ============== # # hosts.lpd This file describes the names of the hosts which are # allowed to use the remote printer services of this # host. This file is used by the LPD subsystem. # windows # End of hosts.lpd. --------------------------------------------------------------- At this point, when I try to print a file to "deskjet" printer on "windows" I get the following output. $ lpr -Pindra profile $ lpq -Pindra -l connection to windows.mydomain.com is down I can connect to the windows.mydomain.com box. It responds to ping requests. What other settings need to be done to be able to print to this deskjet printer connected to the Windows box? I got the following message when I tried to use smbclient, (1)root@myhost:~ => cat cal.txt | smbclient \\\\windows\\indra -P -N -U guest added interface ip=10.0.0.4 bcast=10.255.255.255 nmask=255.0.0.0 Anonymous login successful Domain=[SUPERNET] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] tree connect failed: ERRDOS - ERRnoaccess (Access denied.) (1)root@myhost:~ => I would appreciate, if you could share your configuration information for a similar setup. Thank you in advance. -- Subba Rao subb3@attglobal.net http://pws.prserv.net/truemax/
Hello, I have installed a HP Deskjet printer on a Windows boxen which is networked to the Linux box. Currently my samba settings do allow Linux disk shares to be accessed from Windows NT. Before further dwelling into samba settings, the howto docs indicate that I have to complete the printcap settings. I have made the following entries in these files: --------------------------------------------------------------- /etc/printcap ============== # # Copyright (c) 1983 Regents of the University of California. # All rights reserved. # # @(#)etc.printcap 5.2 (Berkeley) 5/5/88 # # Remote Deskjet Printer connected to Windows indra:\ :sd=/var/spool/lpd/indra:\ :rm=windows.mydomain.com:\ :rp=Indra:\ :sh:sf:mx#0:\ :lf=/var/spool/lpd/errors.log:\ :pl#66:pw#80:\ :if=/usr/local/bin/smbprint: /etc/hosts.lpd ============== # # hosts.lpd This file describes the names of the hosts which are # allowed to use the remote printer services of this # host. This file is used by the LPD subsystem. # windows # End of hosts.lpd. --------------------------------------------------------------- At this point, when I try to print a file to "deskjet" printer on "windows" I get the following output. $ lpr -Pindra profile $ lpq -Pindra -l connection to windows.mydomain.com is down I can connect to the windows.mydomain.com box. It responds to ping requests. What other settings need to be done to be able to print to this deskjet printer connected to the Windows box? I got the following message when I tried to use smbclient, (1)root@myhost:~ => cat cal.txt | smbclient \\\\windows\\indra -P -N -U guest added interface ip=10.0.0.4 bcast=10.255.255.255 nmask=255.0.0.0 Anonymous login successful Domain=[SUPERNET] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] tree connect failed: ERRDOS - ERRnoaccess (Access denied.) (1)root@myhost:~ => I would appreciate, if you could share your configuration information for a similar setup. Thank you in advance. -- Subba Rao subb3@attglobal.net http://pws.prserv.net/truemax/