Carlos Costa Portela
1998-Aug-05 10:30 UTC
Problems printing from Win95 to a linux printer.
Hello all! The situation: [PIPPIN,linux] <---> [TOM,printer] | | [GANDALF,win95]>From gandalf, I 'see' the printer, I can configure it, etc. Even I canprint, but the printer no prints :'-( More info: /etc/printcap lp|impresora|tom: \ :sd=/var/spool/lpd/lp: \ :mx#0: \ :sh: \ :lp=/dev/lp1 /etc/smb.conf [global] printing=bsd printcap name = /etc/printcap load printers=yes log file = /var/log/samba-log.%m lock directory = /var/lock/samba guest account = nobody invalid users = root workgroup = La Comarca forceuser = nobody [printers] comment = Impresoras browseable = no path = /tmp printable = yes public = yes writable = no create mode=0700 [tom] path=/tmp printer name=lp writable=yes public=yes printable=yes print command = /usr/bin/lpr %s create mode=0700 BTW, the doc to print appears, at last, in the /tmp directory, and if I do lpr /tmp/file the file is printed ok. Thanks in advance, Carlos. ----------------C a r l o s C o s t a P o r t e l a-------------- e-mail: c.c.portela@ieee.org www: ccp.servidores.net T?dalas persoas maiores foron nenos antes, pero poucas se lembran. ---------------------------------------------------------------------
*- Carlos Costa Portela wrote about "Problems printing from Win95 to a linux printer." | | [tom] | path=/tmp | printer name=lp | writable=yes | public=yes | printable=yes | print command = /usr/bin/lpr %s | create mode=0700 | Try adding -Ptom to the print command line in smb.conf, you might want to also add -r to remove the print file from /tmp, i.e. print command = /usr/bin/lpr -r -Ptom %s -- Brian --------------------------------------------------------------------- "Never critize anybody until you have walked a mile in their shoes, because by that time you will be a mile away and have their shoes." - unknown Mechanical Engineering servis@purdue.edu Purdue University http://www.ecn.purdue.edu/~servis ---------------------------------------------------------------------
On Wed, 5 Aug 1998, Carlos Costa Portela wrote: -------------------8x----------------------> > [printers] > comment = Impresoras > browseable = no > path = /tmp > printable = yes > public = yes > writable = no > create mode=0700 >------------------------8x----------------- Try adding a set of print commands. Mine are: print command = /usr/bin/lpr -h -r -l -P%p %s lpq command = /usr/bin/lpq -P%p lprm command = /usr/bin/lprm -P%p - although I'm not at all sure that the last two have any meaningful effect. --- Peter Blake ppb@baloo.tcp.co.uk