Problems printing from Win95 to a linux printer.

Carlos Costa Portela ccosta at servidores.net
Wed Aug 5 10:30:56 GMT 1998


Hello all!

The situation:

[PIPPIN,linux] <---> [TOM,printer]
 |
 |
[GANDALF,win95]

>From gandalf, I 'see' the printer, I can configure it, etc. Even I can
print, 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 at ieee.org                  www: ccp.servidores.net     
  Tódalas persoas maiores foron nenos antes, pero poucas se lembran.
---------------------------------------------------------------------



More information about the samba mailing list