[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

printcap & samba



sto provando a gestire la condivisione di due stamnapti (laser +
plotter) con samba per metterle a disposizine in una piccola rete con un
samba server linux e diversi client win9x e xp

funziona  tutto, a parte una particolare (per me ) inspiegabile:

se mando in stampa qualsiasi cosa, alla fine dello spool mi aggiunge un
foglio in cui vengono stampati solo due caratteri "LD"

.. come se facessi 
" echo LD >/dev/lp0 "

??????????????????????
??  perche ?????
???????????'


ciao a tutti e grazie 

***********************+
riporto il mio file printcap


# /etc/printcap: printer capability database. See printcap(5).

laser|laser:\
    :lp=/dev/lp0:\
    :sd=/var/spool/lpd/laser:\
    :lf=/var/spool/lpd/laser/laser-errs:\
    :af=/var/spool/lpd/laser/laser-acct:\
#    :pl#66:\
#    :pw#80:\
#    :pc#150:\
    :mx#0:\
    :sh:


***********************+
riporto la sezione relstiva alla stampante in smb.conf


[laser]
    comment = Infotec 4220 PCL6
    printable = yes
    path = /var/spool/lpd/laser
    printer name = laser
    print command = /usr/bin/lpr -P%p -r -h %s
    lpq command = /usr/bin/lpq -P%p
    printing = BSD
    writable = yes
    public = yes
    guest ok = yes
    oplocks = yes
    read raw = yes
    create mode = 0700


-- 
To UNSUBSCRIBE, email to debian-italian-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: