Hallo Marvin,
die Port-Nummer ist bei mir 59787, während sie in der Anleitung 39787 ist.
Ich sehe allerdings jetzt, dass in der Anleitung unter Device
Path auch „/dev/usblp0“ steht - dann ist das also richtig ohne
/?Kommt drauf an, und darauf was in CUPS steht…
In der CUPS steht der Drucker aufgelistet, mit den folgenden Infos:
Beschreibung: Canon LBP5000
Ort:
Marke und Modell: Canon LBP5000 CAPT ver.1.3
Druckerstatus: frei, Aufträge akzeptieren, publiziert.
Geräte URI: ccp:/var/ccpd/fifo0
Der Pfad unter URI existiert.
Und die /etc/ccpd.conf sieht derzeit so aus:
# Canon Printer Daemon for CUPS Configuration Data
# CUPS configuration file path.
# Default /etc/cups/
CUPS\_ConfigPath /etc/cups/
# Log directory path.
LogDirectoryPath /var/log/CCPD/
# Printer entries.
# Mapping each "Printer Name" to each "Printer Device Port".
# The "Printer Name" has to be identical to the CUPS printer queue name.
#
# For example, if you prepare a printer named "LBP3200" as a CUPS printer
# queue name, and the printer is connected to the USB port "/dev/usb/lp0",
# you can use the following three lines example just by removing the
# comment symbol "#" of each line.
#
#DevicePath /dev/usb/lp0
#
DevicePath /dev/usb/lp0
# Status monitoring socket port.
# Default 59787
UI\_Port 59787
Wo muss da der URI-Pfad stehen?
Kann sein, wenn Du nicht den unteren Teil ab „Automatically
Reporting and Correcting Errors“ ausgeführt hast. Dort sollst
Du ein Skript namens launch_captstatusui anlegen, indem u.a.
auch Name und Ort des Errorfiles festgelegt wird ->
errfile=/tmp/captstatusui.errDer Versuch ging mehr oder weniger daneben, da ich es nicht
geschafft habe mit visudo diese Datei zu ändern, da man in der
sich öffnenden Konsole offenbar keine Zeilenwechsel einfügen
kann.Du kannst dieses Skript mit einem normalen Editor anlegen und
editieren (mit deinem Lieblingseditor z.B.). visudo brauchst
du eigentlich nur für /etc/sudoers. Oder verstehe ich dich
jetzt völlig falsch? Mir ist nämlich nicht ganz klar, wieso Du
plötzlich auf visudo kommst.
In der Anleitung steht:
_We need to give everyone in lpadmin the right to automatically clean up old print processes and restart the print system. To do this, start visudo
$ sudo visudo
and add the following four lines to the end of the file:
%lpadmin ALL=NOPASSWD: /etc/init.d/ccpd restart
%lpadmin ALL=NOPASSWD: /etc/init.d/cupsys restart
%lpadmin ALL=NOPASSWD: /usr/bin/killall captfilter ccpd
%lpadmin ALL=NOPASSWD: /usr/bin/killall -9 captfilter ccpd_
Wenn mich nicht alles täuscht handelt es sich dabei um die sudoers.
Denn Rest habe ich dann gar nicht mehr gemacht.
…
Ausser daß hoffentlich jetzt eine Datei im Verzeichnis
/var/log/CCPD/ erzeugt wird, deren Inhalt Hinweise geben
könnte.
Bei mir gibt es nur ein Verzeichnis /var/log/cups . Aber die Dateien darin kann man bis auf eine, die cups-pdf_log heisst, nicht öffnen.
Tut mir Leid, dass es so kompliziert ist. Hoffe Du verlierst nicht die Geduld mit dem Fall.
Viele Grüße
Marvin