Re: [SLUG] printcap settings and Windows printer
On Sun, Sep 24, 2000 at 07:18:42AM +, Subba Rao wrote: > 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. I'm a bit confused about what you are trying to do. Are you trying to print from linux, to a printer shared by a windows box? I don't think your samba settings is relevant for printing to windows from linux. > /etc/printcap > === You're missing the :if line, which is basically a wrapper to smbclient. > /etc/hosts.lpd > === This isn't relevant either, this lets the windows box use a printer connected to your linux box, and I don't think its needed at all for smb. Have a look at the docs, man pages, etc, for smbclient and do a few test prints using smbclient, if you like. But I used printtool to set /etc/printcap up for me, it only took a few minutes, and there's no need to RTFM either :) Thanks to the good folks at debian. And redhat gets a small thanks as well :) -- chesty -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug
[SLUG] printcap settings and Windows printer
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. 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.printcap5.2 (Berkeley) 5/5/88 # # Remote Deskjet Printer connected to Windows lp|deskjet:\ :lp=:\ :sd=/var/spool/lpd/indra:\ :rm=windows.mydomain.com:\ :rp=deskjet:\ :sh:sf:mx#0:\ :pl#66:pw#80: /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 -Pdeskjet 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 would appreciate, if you could share your configuration information for a similar setup. Thank you in advance. Subba Rao [EMAIL PROTECTED] http://pws.prserv.net/truemax/ -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://slug.org.au/lists/listinfo/slug