PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Lokal kann der Drucker drucken, aber von einem Windows Rechner aus passiert nichts.



Der_Chef
06.10.03, 13:20
Moin,

ich bin es wieder mit einem weiteren Problem.

Ich kann lokal mit meinen Drucker auf meinem Linux-PC Drucken. Im Netzwerk sehe ich den Drucker unter Windoof auch in der Netzwerkumgebung. Treiber ist auch auf Windoof installiert. Wenn ich jetzt unter Office XP -mit Word- was drucken will, wird der Druckauftrag zwar gesendet, aber der Drucker bleibt still. Es kommt auch keine Fehlermeldung. Drucker ist ein HP DeskJet 615C

Nun meine Fragen:

1: In der smb.conf soll unter [global] der Eintrag "printing = ..." hin. Muss ich dort für mein SuSE 8.1 "bsd" eintragen?

2:
[printers]
comment = All Printers
path = ... <------------------------------------- woher weiß ich welcher Pfad da rein muss?
create mask = 0700
printable = Yes
browseable = No
guest ok = Yes

3: Warum druckt der Drucker lokal aber übers Netz nicht? Ich lese nun schon seit 3 Tagen in Doku's über Samba und langsam werd ich rallig. In Sachen Dateifreigaben bin ich mittlerweile top in form

Thomas Mitzkat
07.10.03, 01:05
wenn du in form wärst, wäre dir klar, daß der druckauftrag nicht 2x durch einen treiber laufen kann. außerdem muß dem "cups" (nicht bsd) noch mitgeteilt werden, daß andere auch drucken dürfen.

1. smb.conf:


[global]
# 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
# This should work well for winbind:
; printer admin = @"Domain Admins"

[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

kommen wir nun zu /etc/cups/cupsd.conf:



<Location /printers>
#
# You may wish to limit access to printers and classes, either with Allow
# and Deny lines, or by requiring a username and password.
#

Order Deny,Allow
Deny From All
Allow From 192.168.0.*
</Location>

oder wie auch immer dein internes netz heißt. damit steht der druckerei dann nichts mehr im weg :)

Der_Chef
07.10.03, 01:20
Original geschrieben von Thomas Mitzkat
[B]wenn du in form wärst, wäre dir klar, daß der druckauftrag nicht 2x durch einen treiber laufen kann. außerdem muß dem "cups" (nicht bsd) noch mitgeteilt werden, daß andere auch drucken dürfen.


Hi, wie gesagt: Dateifreigaben ;)

Aber danke schonmal, ich werde es dann nochmal testen und mich dann wieder melden...

Der_Chef
07.10.03, 14:35
Er druckt... er druckt... Besten Dank!

Wichtig ist: Es reichen nicht die Befehle /etc/init.d/nmb restart und /etc/init.d/smb restart aus um den drucker drucken zu lassen. man muss auch /etc/init.d/cups restart benutzen. Erst dann druckt der Drucker ;)

Ansonsten bin ich so vorgegangen, wie in dem How-To von hunter, auch mit dem dortigen zweiten Post. :cool: