wenn der drucker unter linux lokal druckt, ist schon viel gewonnen
andere sollen das aber auch dürfen:
/etc/cups/cupsd.conf
Code:
<Location />
Order Deny,Allow
Deny From All
Allow From 192.168.0.*
</Location>
ist nicht ganz so restriktiv.
das nächste problem ist, dass das drucken von windows mit treiber auf linux mit treiber nicht funktionieren kann. also muss einmal der treiber ausgelassen werden:
/etc/samba/smb.conf
Code:
[global]
character set = ISO8859-15
# 2. Printing Options:
# CHANGES TO ENABLE PRINTING ON ALL CUPS PRINTERS IN THE NETWORK
# (as cups is now used in linux-mandrake 7.2 by default)
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = cups
load printers = yes
# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx, cups
printing = cups
# Samba 2.2 supports the Windows NT-style point-and-print feature. To
# use this, you need to be able to upload print drivers to the samba
# server. The printer admins (or root) may install drivers onto samba.
# Note that this feature uses the print$ share, so you will need to
# enable it below.
# This parameter works like domain admin group:
# printer admin = @<group> <user>
printer admin = @users
[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
guest ok = yes
browseable = No
# =====================================
# print command: see above for details.
# =====================================
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
; print command = lpr-cups -P %p %s -r # using cups own drivers (use generic PostScript on clients).
# The following two commands are the samba defaults for printing=cups
# change them only if you need different options:
; lpq command = lpq -P %p
; lprm command = cancel %p-%j
ob der hp720 problemlos druckt, kann ich so nicht sagen, weil das ein sogenannter gdi-drucker ist, der nur mit speziellen befehlen gesteuert werden kann, die hp nicht offengelegt hat.
Lesezeichen