AW: Local print through WINDOWS 95
Posted in 1998
=9A=9A=9A Hi, =9A we use samba to define printers, witch we'll use for network and witch are connected=20 local=9A to win95 - stations. =9A in our samba.conf there is the entry: =9A [global] =9A=9A server string =3D Samba Server %h (%v) =9A =9A=9A workgroup =3D ANYNET =9A=9A character set =3D iso8859-1 =9A =9A=9A printing =3D bsd =9A=9A printcap name =3D /etc/printcap =9A=9A load printers =3D yes =9A =9A=9A log file =3D /usr/local/samba/log.%m =9A =9A=9A lock directory =3D /usr/local/samba/var/locks =9A=9A share modes =3D yes =9A [printers] =9A=9A comment =3D Unix-Printer of %h =9A=9A path=3D/tmp =9A=9A browseable =3D no =9A=9A printable =3D yes =9A=9A public =3D no =9A=9A writable =3D no =9A=9A create mode =3D 0700 =9A then in our /etc/printcap we have following entry: # hp04|Andy|HP04:\\ =9A=9A=9A=9A=9A=9A=9A :lp=3D/dev/null:\\ =9A=9A=9A=9A=9A=9A=9A :mx#0:\\ =9A=9A=9A=9A=9A=9A=9A :if=3D/usr/local/samba/bin/smbprint:\\ =9A=9A=9A=9A=9A=9A=9A :lf=3D/usr/spool/lperr/hp04:\\ =9A=9A=9A=9A=9A=9A=9A :sd=3D/usr/spool/lpr/hp04:\\ =9A=9A=9A=9A=9A=9A=9A :ff=3D\\t: # =9A And in our spooling-Directory, we have the entry: (/usr/spool/lpr/hp04) =9A File :=20 server=3Dyour_win95_pc service=3DHP04 password=3D"" =9A Where service is your Win95-Name (the name from your local win95 - printer) =9A You must have installed the free-samba on sco to use this. =9A Hope, this is an idea for you! =9A This works for line-printing and print-spooling from unix to win95-clients with local printers. Normally you would entry in you printcap any network-printer..... =9A Andy M. Bettin =9A -----Ursprungliche Nachricht----- Von: dam [mailto:dam@svilosa.biscom.net] Gesendet am: Montag, 26. Oktober 1998 18:21 An: Informix List Betreff: Local print through WINDOWS 95 Hi everyone, =9A=9A=9A=9A=9A I have SCO UNIX 3.2 and INFORMIX 4GL 4.11.Know enybody = how I can print report from telnet to UNIX through WINDOWS 95 to my local = printer? =9A Thanks in Advance, =9A ------------------------------------------------------------------------= ---------------- =9A=9A=9A Ventsislav Damianov=9A=20 =9Ae-mail: dam@svilosa.biscom.net=9A or=9A v-damianov@usa.net =9Aposition: System Administrator - SCO UNIX , Informix ------------------------------------------------------------------------= ----------------