Cups-Server Raspian /usr/lib/cups/filter/foomatic-rip failed

Drucken über das Netzwerk
Antworten
caldir65
Beiträge: 17
Registriert: So 25 Jan, 2015 15:05

Cups-Server Raspian /usr/lib/cups/filter/foomatic-rip failed

Beitrag von caldir65 » So 26 Apr, 2015 19:27

Hallo,

ich habe hier einen Cups-Server (v1.5.3) auf Raspian laufen, weiterhin soll der Druck von einem Kubuntu-PC erfolgen. Als Drucker habe ich einen HP LaserJet 1100 via USB2LP-Adapter angeschlossen.
Ich bin mir jetzt nicht ganz sicher, aber spätestens seit dem Upgrade auf Kubuntu 15.04 bekomme ich bei einem Druckjob mittels Turboprint keinen Ausdruck mehr, sondern auf der Cups-Auftrags-Seite des Servers steht "/usr/lib/cups/filter/foomatic-rip failed", im Log stehen folgende Einträge:

Code: Alles auswählen

D [26/Apr/2015:19:48:02 +0200] [Job 488] The following messages were recorded from 19:48:00 to 19:48:02
D [26/Apr/2015:19:48:02 +0200] [Job 488] Adding start banner page "none".
D [26/Apr/2015:19:48:02 +0200] [Job 488] Queued on "LaserJet" by "christoph".
D [26/Apr/2015:19:48:02 +0200] [Job 488] File of type application/vnd.cups-postscript queued by "christoph".
D [26/Apr/2015:19:48:02 +0200] [Job 488] Adding end banner page "none".
D [26/Apr/2015:19:48:02 +0200] [Job 488] job-sheets=none,none
D [26/Apr/2015:19:48:02 +0200] [Job 488] argv[0]="LaserJet"
D [26/Apr/2015:19:48:02 +0200] [Job 488] argv[1]="488"
D [26/Apr/2015:19:48:02 +0200] [Job 488] argv[2]="christoph"
D [26/Apr/2015:19:48:02 +0200] [Job 488] argv[3]="TurboPrint Testpage"
D [26/Apr/2015:19:48:02 +0200] [Job 488] argv[4]="1"
D [26/Apr/2015:19:48:02 +0200] [Job 488] argv[5]="job-uuid=urn:uuid:1ba87b11-cffe-3fa6-6292-8726036883ee job-originating-host-name=192.168.1.20 time-at-creation=1430070480 time-at-processing=1430070482"
D [26/Apr/2015:19:48:02 +0200] [Job 488] argv[6]="/var/spool/cups/d00488-001"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[8]="HOME=/var/spool/cups/tmp"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[10]="SERVER_ADMIN=root@fhem"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[11]="SOFTWARE=CUPS/1.5.3"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[13]="TZ=Europe/Berlin"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[14]="USER=root"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[17]="IPP_PORT=631"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[18]="CHARSET=utf-8"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[19]="LANG=de_DE.UTF-8"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[20]="PPD=/etc/cups/ppd/LaserJet.ppd"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[21]="RIP_MAX_CACHE=128m"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[22]="CONTENT_TYPE=application/vnd.cups-postscript"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[23]="DEVICE_URI=usb://HP/LaserJet%201100"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[24]="PRINTER_INFO=HP LaserJet 1100"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[25]="PRINTER_LOCATION=Buero Christoph"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[26]="PRINTER=LaserJet"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[27]="PRINTER_STATE_REASONS=none"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[28]="CUPS_FILETYPE=document"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[29]="FINAL_CONTENT_TYPE=printer/LaserJet"
D [26/Apr/2015:19:48:02 +0200] [Job 488] envp[30]="AUTH_I****"
D [26/Apr/2015:19:48:02 +0200] [Job 488] Started filter /usr/lib/cups/filter/gziptoany (PID 18764)
D [26/Apr/2015:19:48:02 +0200] [Job 488] Started filter /usr/lib/cups/filter/foomatic-rip (PID 18765)
D [26/Apr/2015:19:48:02 +0200] [Job 488] Started backend /usr/lib/cups/backend/usb (PID 18766)
D [26/Apr/2015:19:48:02 +0200] [Job 488] Getting input from file 
D [26/Apr/2015:19:48:02 +0200] [Job 488] foomatic-rip version 4.0.17.256 running...
D [26/Apr/2015:19:48:02 +0200] [Job 488] Parsing PPD file ...
D [26/Apr/2015:19:48:02 +0200] [Job 488] Added option ColorSpace
D [26/Apr/2015:19:48:02 +0200] [Job 488] Added option PageSize
D [26/Apr/2015:19:48:02 +0200] [Job 488] Added option ImageableArea
D [26/Apr/2015:19:48:02 +0200] [Job 488] Added option PaperDimension
D [26/Apr/2015:19:48:02 +0200] [Job 488] Added option InputSlot
D [26/Apr/2015:19:48:02 +0200] [Job 488] Added option Manualfeed
D [26/Apr/2015:19:48:02 +0200] [Job 488] Added option MediaType
D [26/Apr/2015:19:48:02 +0200] [Job 488] Added option QualityType
D [26/Apr/2015:19:48:02 +0200] [Job 488] Added option Economode
D [26/Apr/2015:19:48:02 +0200] [Job 488] Added option Copies
D [26/Apr/2015:19:48:02 +0200] [Job 488] Printing on printer with URI: usb://HP/LaserJet%201100
D [26/Apr/2015:19:48:02 +0200] [Job 488] libusb_get_device_list=5
D [26/Apr/2015:19:48:02 +0200] [Job 488] STATE: +connecting-to-device
D [26/Apr/2015:19:48:02 +0200] [Job 488] STATE: -connecting-to-device
D [26/Apr/2015:19:48:02 +0200] [Job 488] Added option Resolution
D [26/Apr/2015:19:48:02 +0200] [Job 488] Added option REt
D [26/Apr/2015:19:48:02 +0200] [Job 488] Added option TonerDensity
D [26/Apr/2015:19:48:02 +0200] [Job 488] Printer found with device ID: MFG:Hewlett-Packard;MDL:HP LaserJet 1100;DES:HP LaserJet 1100 Printer;CMD:MLC,PCL,PJL;CLS:PRINTER;REV:1.1;IO PREFS:ECP18; Device URI: usb://HP/LaserJet%201100
D [26/Apr/2015:19:48:02 +0200] [Job 488] Device protocol: 2
D [26/Apr/2015:19:48:02 +0200] [Job 488] Printer reports bi-di support but in reality works only uni-directionally
D [26/Apr/2015:19:48:02 +0200] [Job 488] Uni-directional USB communication only!
D [26/Apr/2015:19:48:02 +0200] [Job 488] Printer does not like usblp kernel module to be re-attached after job
D [26/Apr/2015:19:48:02 +0200] [Job 488] Uni-directional device/mode, back channel deactivated.
D [26/Apr/2015:19:48:02 +0200] [Job 488] Added option Font
D [26/Apr/2015:19:48:02 +0200] [Job 488] 
D [26/Apr/2015:19:48:02 +0200] [Job 488] Parameter Summary
D [26/Apr/2015:19:48:02 +0200] [Job 488] -----------------
D [26/Apr/2015:19:48:02 +0200] [Job 488] 
D [26/Apr/2015:19:48:02 +0200] [Job 488] Spooler: cups
D [26/Apr/2015:19:48:02 +0200] [Job 488] Printer: LaserJet
D [26/Apr/2015:19:48:02 +0200] [Job 488] Shell: /bin/bash
D [26/Apr/2015:19:48:02 +0200] [Job 488] PPD file: /etc/cups/ppd/LaserJet.ppd
D [26/Apr/2015:19:48:02 +0200] [Job 488] ATTR file: 
D [26/Apr/2015:19:48:02 +0200] [Job 488] Printer model: HP LaserJet 1100 Foomatic/lj4dith
D [26/Apr/2015:19:48:02 +0200] [Job 488] Job title: TurboPrint Testpage
D [26/Apr/2015:19:48:02 +0200] [Job 488] File(s) to be printed:
D [26/Apr/2015:19:48:02 +0200] [Job 488] <STDIN>
D [26/Apr/2015:19:48:02 +0200] [Job 488] 
D [26/Apr/2015:19:48:02 +0200] [Job 488] Ghostscript extra search path ('GS_LIB'): /usr/share/cups/fonts
D [26/Apr/2015:19:48:02 +0200] [Job 488] Printing system options:
D [26/Apr/2015:19:48:02 +0200] [Job 488] Pondering option 'job-uuid=urn:uuid:1ba87b11-cffe-3fa6-6292-8726036883ee'
D [26/Apr/2015:19:48:02 +0200] [Job 488] Unknown option job-uuid=urn:uuid:1ba87b11-cffe-3fa6-6292-8726036883ee.
D [26/Apr/2015:19:48:02 +0200] [Job 488] Pondering option 'job-originating-host-name=192.168.1.20'
D [26/Apr/2015:19:48:02 +0200] [Job 488] Unknown option job-originating-host-name=192.168.1.20.
D [26/Apr/2015:19:48:02 +0200] [Job 488] Pondering option 'time-at-creation=1430070480'
D [26/Apr/2015:19:48:02 +0200] [Job 488] Unknown option time-at-creation=1430070480.
D [26/Apr/2015:19:48:02 +0200] [Job 488] Pondering option 'time-at-processing=1430070482'
D [26/Apr/2015:19:48:02 +0200] [Job 488] Unknown option time-at-processing=1430070482.
D [26/Apr/2015:19:48:02 +0200] [Job 488] Options from the PPD file:
D [26/Apr/2015:19:48:02 +0200] [Job 488] 
D [26/Apr/2015:19:48:02 +0200] [Job 488] ================================================
D [26/Apr/2015:19:48:02 +0200] [Job 488] 
D [26/Apr/2015:19:48:02 +0200] [Job 488] File: <STDIN>
D [26/Apr/2015:19:48:02 +0200] [Job 488] 
D [26/Apr/2015:19:48:02 +0200] [Job 488] ================================================
D [26/Apr/2015:19:48:02 +0200] [Job 488] 
D [26/Apr/2015:19:48:02 +0200] [Job 488] Cannot process "<STDIN>": Unknown filetype.
D [26/Apr/2015:19:48:02 +0200] [Job 488] Process is dying with "Could not print file <STDIN>
D [26/Apr/2015:19:48:02 +0200] [Job 488] ", exit stat 2
D [26/Apr/2015:19:48:02 +0200] [Job 488] Cleaning up...
D [26/Apr/2015:19:48:02 +0200] [Job 488] Sending data to printer.
D [26/Apr/2015:19:48:02 +0200] [Job 488] Sent 0 bytes...
D [26/Apr/2015:19:48:02 +0200] [Job 488] Resetting printer.
D [26/Apr/2015:19:48:02 +0200] [Job 488] End of messages
D [26/Apr/2015:19:48:02 +0200] [Job 488] printer-state=3(idle)
D [26/Apr/2015:19:48:02 +0200] [Job 488] printer-state-message="Sending data to printer."
D [26/Apr/2015:19:48:02 +0200] [Job 488] printer-state-reasons=none
E [26/Apr/2015:19:48:07 +0200] Returning IPP client-error-not-possible for Release-Job (ipp://localhost/jobs/488) from localhost
E [26/Apr/2015:19:53:04 +0200] [Job 488] Stopping unresponsive job!
Dem gegenüber habe ich den Drucker jetzt zusätzlich mit Bordmitteln und -Treibern auf dem Kubuntu-PC angelegt, und da kann ich ganz normal drucken - einzig die Vorschau wie bei Turboprint gibt es leider nicht ...

Der Fehler trat zunächst mit turboprint_2.36-1_amd64.deb auf, aber auch nach einem Downgrade auf turboprint_2.35-2_amd64.deb ist der Fehler immer noch vorhanden.

Weiterhin ist ein DeskJet 3070 per USB an dem Cups-Server angebunden, hier bekomme ich als Fehler "Can't detect file type"

Das Log:

Code: Alles auswählen

E [26/Apr/2015:20:23:10 +0200] [Job 490] Can't detect file type
E [26/Apr/2015:20:23:10 +0200] [Job 490] Job stopped due to filter errors; please consult the error_log file for details.
D [26/Apr/2015:20:23:10 +0200] [Job 490] The following messages were recorded from 20:23:09 to 20:23:10
D [26/Apr/2015:20:23:10 +0200] [Job 490] Adding start banner page "none".
D [26/Apr/2015:20:23:10 +0200] [Job 490] Queued on "Deskjet_3070" by "christoph".
D [26/Apr/2015:20:23:10 +0200] [Job 490] File of type application/vnd.cups-postscript queued by "christoph".
D [26/Apr/2015:20:23:10 +0200] [Job 490] Adding end banner page "none".
D [26/Apr/2015:20:23:10 +0200] [Job 490] job-sheets=none,none
D [26/Apr/2015:20:23:10 +0200] [Job 490] argv[0]="Deskjet_3070"
D [26/Apr/2015:20:23:10 +0200] [Job 490] argv[1]="490"
D [26/Apr/2015:20:23:10 +0200] [Job 490] argv[2]="christoph"
D [26/Apr/2015:20:23:10 +0200] [Job 490] argv[3]="TurboPrint Testpage"
D [26/Apr/2015:20:23:10 +0200] [Job 490] argv[4]="1"
D [26/Apr/2015:20:23:10 +0200] [Job 490] argv[5]="job-uuid=urn:uuid:87ac0c30-bebd-3f0e-67c3-020afd81935f job-originating-host-name=192.168.1.20 time-at-creation=1430072589 time-at-processing=1430072590"
D [26/Apr/2015:20:23:10 +0200] [Job 490] argv[6]="/var/spool/cups/d00490-001"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[8]="HOME=/var/spool/cups/tmp"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[10]="SERVER_ADMIN=root@fhem"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[11]="SOFTWARE=CUPS/1.5.3"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[13]="TZ=Europe/Berlin"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[14]="USER=root"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[17]="IPP_PORT=631"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[18]="CHARSET=utf-8"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[19]="LANG=de_DE.UTF-8"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[20]="PPD=/etc/cups/ppd/Deskjet_3070.ppd"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[21]="RIP_MAX_CACHE=128m"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[22]="CONTENT_TYPE=application/vnd.cups-postscript"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[23]="DEVICE_URI=hp:/usb/Deskjet_3070_B611_series?serial=CN1733C14505MQ"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[24]="PRINTER_INFO=HP Deskjet 3070 B611 series AllInOne"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[25]="PRINTER_LOCATION=Christoph sein Buero"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[26]="PRINTER=Deskjet_3070"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[27]="PRINTER_STATE_REASONS=none"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[28]="CUPS_FILETYPE=document"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[29]="FINAL_CONTENT_TYPE=printer/Deskjet_3070"
D [26/Apr/2015:20:23:10 +0200] [Job 490] envp[30]="AUTH_I****"
D [26/Apr/2015:20:23:10 +0200] [Job 490] Started filter /usr/lib/cups/filter/gziptoany (PID 19193)
D [26/Apr/2015:20:23:10 +0200] [Job 490] Started filter /usr/lib/cups/filter/gstoraster (PID 19194)
D [26/Apr/2015:20:23:10 +0200] [Job 490] Started filter /usr/lib/cups/filter/hpcups (PID 19195)
D [26/Apr/2015:20:23:10 +0200] [Job 490] Started backend /usr/lib/cups/backend/hp (PID 19196)
D [26/Apr/2015:20:23:10 +0200] [Job 490] Set job-printer-state-message to "Can't detect file type", current level=ERROR
D [26/Apr/2015:20:23:10 +0200] [Job 490] prnt/hpcups/HPCupsFilter.cpp 536: cupsRasterOpen failed, fd = 0
D [26/Apr/2015:20:23:10 +0200] [Job 490] prnt/backend/hp.c 839: ERROR: null print job total=0
D [26/Apr/2015:20:23:10 +0200] [Job 490] End of messages
D [26/Apr/2015:20:23:10 +0200] [Job 490] printer-state=3(idle)
D [26/Apr/2015:20:23:10 +0200] [Job 490] printer-state-message="Can't detect file type"
D [26/Apr/2015:20:23:10 +0200] [Job 490] printer-state-reasons=none
Auch hier funktioniert der Druck mittels Kubuntu-Bordmitteln, aber nicht mit TP.

Was könnten die Ursachen sein?

Gruß, Christoph

zedonet
Administrator
Beiträge: 1503
Registriert: Fr 29 Sep, 2006 13:10

Re: Cups-Server Raspian /usr/lib/cups/filter/foomatic-rip fa

Beitrag von zedonet » Do 30 Apr, 2015 15:34

Hallo,

irgendetwas stimmt noch nicht - in keiner der beiden Logdateien ist der Aufruf von TurboPrint zu finden. TurboPrint verwendet den CUPS-Filter "/usr/lib/cups/filter/pstoturboprint" zur Erzeugung der Druckdaten, im oberen Logdatei-Ausschnitt findet sich stattdessen "/usr/lib/cups/filter/foomatic-rip", also der CUPS-Filter für die freien Gutenprint-Treiber, in der unteren Logdatei "/usr/lib/cups/filter/hpcups", also vermutlich der HP-Herstellertreiber.

Die Druckaufbereitung sollte eigentlich auf den Client, also unter Ubuntu 15.04 erfolgen, der CUPS-Server mit Raspian sollte den Druckauftrag unverändert durchleiten (raw), also sollte im CUPS-Logfile des Servers gar kein Filter aufgerufen werden, also nur noch die Meldung "Started backend" erscheinen.

Ich würde prüfen, ob Sie drucken können, wenn die Drucker direkt am Desktop-Rechner angeschlossen sind. Wenn das klappt, nochmal die Druckereinrichtung unter Raspian prüfen und den Netzwerkdruck testen.

caldir65
Beiträge: 17
Registriert: So 25 Jan, 2015 15:05

Re: Cups-Server Raspian /usr/lib/cups/filter/foomatic-rip fa

Beitrag von caldir65 » Do 07 Mai, 2015 08:07

Hallo,

ich habe die Drucker auch noch mit den Kubuntu-Bordmitteln eingerichtet (eigene Warteschlange, anderer Name), und damit kann ich die Drucker ansteuern... Ich werde jetzt einmal die Drucker auf dem Kubuntu-Desktop komplett löschen und alles komplett "von 0" neu einrichten ...

Gruß

[edit] ich habe jetzt den DeskJet erfolgreich wieder einbinden können - Verbindung Cups-Uri, dabei wurde der Drucker auch direkt angeboten. Leider läßt sich der LaserJet nicht auf ähnliche Weise anbinden ...

Ein Win7-PC, der auch die Standard-Warteschlange ansteuert,druckt sauber aus; auf Cups-Seite mit HP LJ1100, Cups+Gutenprint, auf Win-Seite Treiber HP LJ110 (MS) via IPP; richte ich den Drucker mit TP vergleichbar ein, so bekomme ich am Server nur "Can't detect file type" und es kommt kein Druck.

caldir65
Beiträge: 17
Registriert: So 25 Jan, 2015 15:05

Re: Cups-Server Raspian /usr/lib/cups/filter/foomatic-rip fa

Beitrag von caldir65 » Do 28 Mai, 2015 11:10

Hallo,

ich habe in der Zwischenzeit testweise auch einmal TP auf dem Raspi installiert, auf dem der Cups-Server läuft, und an dem der LaserJet via USB2LP-Adapter angeschlossen ist - ein direkter Druck vom Raspi funktioniert ohne Probleme!

Ein per Netzwerk an diesen TP-Printer verbundener PC/TP bringt jedoch trotzdem nichts zu Papier. Der Job erscheint kurz in der Cup-Übersicht der Aufträge, anschließend verschwindet er kommentarlos zu den erledigten Jobs ...

Im TP-Log findet sich folgendes:

Code: Alles auswählen

----------- Start of print job -----------
starting child process
tpprint 2.36-1 arm (26-MAY-2015) - TurboPrint printer driver
Copyright (C)ZEDOnet GmbH, Irsee, Germany. All rights reserved.
28-May-2015 12:26
PPD file: /etc/cups/ppd/LaserJet1100-TurboPrint.ppd
header file: /tmp/pstoturboprint3276.chunk
Could not open freepipes pipe /var/spool/turboprint/christoph/fd
Searching PPD file and postscript header for options...
GPL Ghostscript 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
interpret_ps: no output file specified
::set_info_paths: setting preview file to /var/spool/turboprint/christoph/zmf/541.zmf
Error: /undefined in E
perand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1910   1   3   %oparray_pop   1909   1   3   %oparray_pop   1893   1   3   %oparray_pop   1787   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1164/1684(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
pixmap_class::open: can't read magic header
print_page: end of input file
Report at end of pdrivecontrol_class::release_printer
Total memory usage=0
child process terminated
ERROR:
inifile::write: could not open output file
/var/spool/turboprint/christoph/LaserJet1100-TurboPrint.job
------------ End of print job - result = 246 ------------
job cancelling procedure - TPPID=3298 GSPID=3300 PVPID=
------------ END of tpprint filter ------------
Im Vergleich dazu einmal die Ausgabe eines lokalen Druckes (direkt vom Raspi) ...

Code: Alles auswählen

----------- Start of print job -----------
starting child process
tpprint 2.36-1 arm (26-MAY-2015) - TurboPrint printer driver
Copyright (C)ZEDOnet GmbH, Irsee, Germany. All rights reserved.
28-May-2015 12:37
PPD file: /etc/cups/ppd/LaserJet1100-TurboPrint.ppd
header file: /tmp/pstoturboprint3584.chunk
Searching PPD file and postscript header for options...
page size A4 overwritten by ---media=A4
duplex overwritten by ---Duplex=None
interpret_ps: no output file specified
::set_info_paths: setting preview file to /var/spool/turboprint/pi/zmf/542.zmf
GPL Ghostscript 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GPL Ghostscript 9.05 (2012-02-08)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 1.
Page 1
Processing pages 1 through 1.
Page 1
Filetype=PBM Plusbits_per_pixel=1 bytes_per_line=620  width=4960 height=7015
RGB mode 8bit
print_file: tp_init->preview=2
print_file: preview with pause - wait for user confirmation
set_image width=719 height=1017
print_page: preview dialog returned 1
Printer=HP_LaserJet1100; Module=HP; Id=LJ4
Colormode=0; Cartridge=0=Economode Off; Quality=1=High; Paper=0=Plain paper
Pagesize=4=A4; Paper Input=0=Automatic; Paper Output=0=Automatic
Duplex=0=Off; Copies=1; Mirror=0; Dithering=2; Flip=0
Page x=4660 y=6815; AppDpi x=600 y=600; DitDpi x=600 y=600; 
PrnDpi x=600 y=600; Overlay=0

table; linmode=gamma
table::build_gamma_table: i=0 color=4 gamma=150 max=100 saturation=100
gamma 150 max 100 saturation 100 for channel 0
correction=32767
hp::setup_printer_info: number of channels=1
hp::setup_printer_info: black_levels=2, color_levels=1 black_planes=1, color_planes=0
hp::setup_printer_info: components=1 unit=600 mediadest=0
hp::setup_printer_info: black_dpi=600x600, color_dpi=600x600
hp::setup_printer_info: source=0 size=26 quality=1 medium=0
Colormatch file=LJ4; Curves=600dpi; Table=plain_paper
Report at end of pdrive_class::begin_page
Total memory usage=3620446
PREVIEW y_offset=100 org_height=7016 src_scanline=99 preview_scanline=8
calculate_dim: print left=0 top=0 width=4660 height=6815
calculate_dim: section left=150 top=100 width=4660 height=6815
check_add_logo returned 0
Printed section of picture:
  left=150 top=100 width=4660 height=6815 
Printer: resolution x_dpi=600 y_dpi=600 color_mode=0
Page - printable area in printer pixels:
  left=150 top=100 width=4660 height=6815
Print size in printer pixels, relative to printable area:
  left=0 top=0 width=4660 height=6815
tpprint::update_ink: black_type=0 rgb_mode=0
tpprint::update_ink: black_type=0 rgb_mode=0
Time for <Profile> = 40
Time for <Color> = 0
Time for <Dither> = 150
Time for <Print> = 100
Time for <Total> = 6170
Line counters: skip=0; bitmap=6815; others=0; 8bit=0; white=0; b/w=0
Color 0 sum: 47
total sum: 47
pixmap_class::open: can't read magic header
print_page: end of input file
Report at end of pdrivecontrol_class::release_printer
Total memory usage=0
child process terminated
------------ End of print job - result = 0 ------------
job cancelling procedure - TPPID=3638 GSPID=3640 PVPID=3639
------------ END of tpprint filter ------------
In beiden Fällen war es ein TP-Testprint aus der Toolbox ...

Gruß, Christoph

Antworten