Printing to Linux Desket 540 from Win95

"Salvador P. Sánchez" salva at enfe.ua.es
Tue Nov 11 19:01:09 GMT 1997


In smb.conf

[global]
..
..
load printers = yes
printing=bsd
..
..
[HPDJ540C]
   comment = Color printer
   path = /usr/temp/deskjet
   print ok = yes
   printable = yes
   public = no
   writable = no
   create mode = 0700
   guest ok = no

make the directory /usr/temp/deskjet (of the dir what you want) with chmod 777

In /etc/printcap 

# Generic printer:
lp|HPDJ540C:lp=/dev/lp1:sd=/usr/spool/lp1:mx#0:sh:sf

The /usr/spool/lp1 exist?

This work very fine.

see le line mx#0. If this value is not set to 0 the sheet print incomplety.

							salva at ua.es
							salva at enfe.ua.es
							http://www.enfenet.ua.es
							http://semanasalud.ua.es
							http://donacion.organos.ua.es


More information about the samba mailing list