Sie sind nicht angemeldet.

1

07.03.2007, 11:29

[gelöst] cups und raw-files auf i560

Hallo zusammen,

Ich habe samba und cups laufen, um über samba auch von Windows aus drucken zu können. Die Konfiguration von samba und cups an sich verlief ohne Probleme, cups hat die Treiber an samba problemlos übergeben, samba gibt den Druckauftrag erfolgreich an meinen Canon_i560 weiter, aber obwohl der Druckauftrag in die Warteschleife geht und der Drucker einmal kurz blinkt kommt nichts raus. Nach einigem hin und her habe ich festgestellt, dass Cups die raw-dateien nicht druck, obwohl es schreibt, daß der Auftrag erfolgreich ausgeführt wurde:

Ich habe eine Rawdatei von Word erzeugen lassen, die vom ps und pdfviewer problemlos angezeigt werden kann und eine dummy.ps erzeugt.

Quellcode

1
2
3
lp -d Canon_i560 dummy.ps #Erfolgreiches Drucken.
lp -d Canon_i560 test.prn #Angeblich erfolgreich, nichts kommt raus.
lp -oraw -d Canon_i560 test.prn #Ebenfalls keine Fehlermeldung, nichts kommmt raus.


error.log:

Zitat

I [07/Mar/2007:11:23:49 +0100] Adding start banner page "none" to job 45.
I [07/Mar/2007:11:23:49 +0100] Adding end banner page "none" to job 45.
I [07/Mar/2007:11:23:49 +0100] Job 45 queued on "Canon_i560" by "roman".
I [07/Mar/2007:11:23:49 +0100] Started filter /usr/libexec/cups/filter/pstops (PID 6303) for job 45.
I [07/Mar/2007:11:23:49 +0100] Started filter /usr/libexec/cups/filter/pstocanonbj (PID 6304) for job 45.
I [07/Mar/2007:11:23:49 +0100] Started backend /usr/libexec/cups/backend/usb (PID 6305) for job 45.
I [07/Mar/2007:11:23:55 +0100] Adding start banner page "none" to job 46.
I [07/Mar/2007:11:23:55 +0100] Adding end banner page "none" to job 46.
I [07/Mar/2007:11:23:55 +0100] Job 46 queued on "Canon_i560" by "roman".
I [07/Mar/2007:11:24:03 +0100] Started filter /usr/libexec/cups/filter/pstops (PID 6310) for job 46.
I [07/Mar/2007:11:24:03 +0100] Started filter /usr/libexec/cups/filter/pstocanonbj (PID 6311) for job 46.
I [07/Mar/2007:11:24:03 +0100] Started backend /usr/libexec/cups/backend/usb (PID 6313) for job 46.
I [07/Mar/2007:11:24:05 +0100] Adding start banner page "none" to job 47.
I [07/Mar/2007:11:24:05 +0100] Adding end banner page "none" to job 47.
I [07/Mar/2007:11:24:05 +0100] Job 47 queued on "Canon_i560" by "roman".
I [07/Mar/2007:11:24:06 +0100] Started backend /usr/libexec/cups/backend/usb (PID 6317) for job 47.


acces.log:

Zitat

localhost - - [07/Mar/2007:11:23:49 +0100] "POST / HTTP/1.1" 200 352 CUPS-Get-Printers successful-ok
localhost - - [07/Mar/2007:11:23:49 +0100] "POST / HTTP/1.1" 200 352 CUPS-Get-Classes successful-ok
localhost - - [07/Mar/2007:11:23:49 +0100] "POST / HTTP/1.1" 200 75 CUPS-Get-Default client-error-not-found
localhost - - [07/Mar/2007:11:23:49 +0100] "POST /printers/Canon_i560 HTTP/1.1" 200 1135 Print-Job successful-ok
localhost - - [07/Mar/2007:11:23:55 +0100] "POST / HTTP/1.1" 200 352 CUPS-Get-Printers successful-ok
localhost - - [07/Mar/2007:11:23:55 +0100] "POST / HTTP/1.1" 200 352 CUPS-Get-Classes successful-ok
localhost - - [07/Mar/2007:11:23:55 +0100] "POST / HTTP/1.1" 200 75 CUPS-Get-Default client-error-not-found
localhost - - [07/Mar/2007:11:23:55 +0100] "POST /printers/Canon_i560 HTTP/1.1" 200 60737 Print-Job successful-ok
localhost - - [07/Mar/2007:11:24:05 +0100] "POST / HTTP/1.1" 200 352 CUPS-Get-Printers successful-ok
localhost - - [07/Mar/2007:11:24:05 +0100] "POST / HTTP/1.1" 200 352 CUPS-Get-Classes successful-ok
localhost - - [07/Mar/2007:11:24:05 +0100] "POST / HTTP/1.1" 200 75 CUPS-Get-Default client-error-not-found
localhost - - [07/Mar/2007:11:24:05 +0100] "POST /printers/Canon_i560 HTTP/1.1" 200 59987 Print-Job successful-ok


Meine Configs:

mime.convs:

Zitat

# Raw filter...
#
# Uncomment the following filter to allow printing of arbitrary files
# without the -oraw option.
#

application/octet-stream application/vnd.cups-raw 0 -


mime.types:

Zitat

# Raw print file support...
#
# Uncomment the following type and the application/octet-stream
# filter line in mime.convs to allow raw file printing without the
# -oraw option.
#

application/octet-stream


printer.conf:

Zitat

<Printer Canon_i560>
Info Karo & Romans i560
Location Am Server
DeviceURI usb://Canon/i560
State Idle
StateTime 1173262017
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>


Ich verwende übrigens den pixus 3100 Treiber.
Hat wer von euch eine Idee was da los sein könnte?

lg Roman

PS: Hab jetzt einen Fehler gefunden, weiß aber nicht was da los ist:
error_log mit "debug":

Zitat

D [07/Mar/2007:12:21:24 +0100] [Job 58] Page = 595x842; 10,14 to 586,833
D [07/Mar/2007:12:21:24 +0100] [Job 58] slow_collate=0, slow_duplex=0, slow_order=0
D [07/Mar/2007:12:21:24 +0100] [Job 58] Before copy_comments - %!PS-Adobe-3.0
D [07/Mar/2007:12:21:24 +0100] [Job 58] %!PS-Adobe-3.0
D [07/Mar/2007:12:21:24 +0100] [Job 58] %cupsJobTicket: job-hold-until=no-hold
D [07/Mar/2007:12:21:24 +0100] [Job 58] %cupsJobTicket: job-sheets=none,none
D [07/Mar/2007:12:21:24 +0100] [Job 58] %!PS-Adobe-3.0
D [07/Mar/2007:12:21:24 +0100] [Job 58] %%Title: Microsoft Word - Dokument1
D [07/Mar/2007:12:21:24 +0100] [Job 58] %%Creator: PScript5.dll Version 5.2
D [07/Mar/2007:12:21:24 +0100] [Job 58] %%CreationDate: 3/6/2007 21:51:10
D [07/Mar/2007:12:21:24 +0100] [Job 58] %%BoundingBox: (atend)
D [07/Mar/2007:12:21:24 +0100] [Job 58] %%Pages: (atend)
D [07/Mar/2007:12:21:24 +0100] [Job 58] %%Orientation: Portrait
D [07/Mar/2007:12:21:24 +0100] [Job 58] %%PageOrder: Ascend
D [07/Mar/2007:12:21:24 +0100] [Job 58] %%DocumentNeededResources: (atend)
D [07/Mar/2007:12:21:24 +0100] [Job 58] %%DocumentSuppliedResources: (atend)
D [07/Mar/2007:12:21:24 +0100] [Job 58] %%DocumentData: Clean7Bit
D [07/Mar/2007:12:21:24 +0100] [Job 58] %%TargetDevice: (pixusip3100) (3010.000) 550
D [07/Mar/2007:12:21:24 +0100] [Job 58] %%LanguageLevel: 1
D [07/Mar/2007:12:21:24 +0100] [Job 58] %%EndComments
D [07/Mar/2007:12:21:24 +0100] [Job 58] Before copy_prolog -
D [07/Mar/2007:12:21:24 +0100] [Job 58] Before copy_setup -
D [07/Mar/2007:12:21:24 +0100] [Job 58] Before page loop - %%Page: 1 1
D [07/Mar/2007:12:21:24 +0100] [Job 58] Copying page 1...
D [07/Mar/2007:12:21:24 +0100] [Job 58] pagew = 576.0, pagel = 819.2
D [07/Mar/2007:12:21:24 +0100] [Job 58] bboxw = 595, bboxl = 842
D [07/Mar/2007:12:21:24 +0100] [Job 58] PageLeft = 9.6, PageRight = 585.6
D [07/Mar/2007:12:21:24 +0100] [Job 58] PageTop = 833.4, PageBottom = 14.2
D [07/Mar/2007:12:21:24 +0100] [Job 58] PageWidth = 595.0, PageLength = 842.0
D [07/Mar/2007:12:21:24 +0100] [Job 58] Wrote 1 pages...
D [07/Mar/2007:12:21:24 +0100] [Job 58] pstocanonbj start.
D [07/Mar/2007:12:21:24 +0100] Discarding unused printer-state-changed event...
D [07/Mar/2007:12:21:24 +0100] cupsdCloseClient: 10
D [07/Mar/2007:12:21:24 +0100] [Job 58] Printer using device file "/dev/usb/lp0"...
D [07/Mar/2007:12:21:24 +0100] [Job 58] backendRunLoop(print_fd=0, device_fd=4, use_bc=0)
D [07/Mar/2007:12:21:24 +0100] Discarding unused printer-state-changed event...
D [07/Mar/2007:12:21:24 +0100] [Job 58] pstocanonbj: /usr/bin/gs -r600 -g5100x6600 -q -dNOPROMPT -dSAFER -sDEVI$
D [07/Mar/2007:12:21:24 +0100] [Job 58] Read 72 bytes of print data...
D [07/Mar/2007:12:21:24 +0100] [Job 58] Wrote 72 bytes of print data...
D [07/Mar/2007:12:21:24 +0100] [Job 58] BJFILTER ERROR :file access Error!
D [07/Mar/2007:12:21:24 +0100] [Job 58] not support this image format

D [07/Mar/2007:12:21:24 +0100] [Job 58] Read 14 bytes of print data...
D [07/Mar/2007:12:21:24 +0100] [Job 58] Wrote 14 bytes of print data...
D [07/Mar/2007:12:21:25 +0100] PID 22611 (/usr/libexec/cups/filter/pstocanonbj) exited with no errors.
D [07/Mar/2007:12:21:26 +0100] PID 22612 (/usr/libexec/cups/backend/usb) exited with no errors.
D [07/Mar/2007:12:21:26 +0100] [Job 58] File 0 is complete.
D [07/Mar/2007:12:21:26 +0100] Discarding unused printer-state-changed event...
D [07/Mar/2007:12:21:26 +0100] Discarding unused job-completed event...
D [07/Mar/2007:12:21:27 +0100] Unloading job 58...

Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »Amfortas« (08.03.2007, 01:48)


2

08.03.2007, 01:50

RE: [gelöst] cups und raw-files auf i560

Konnte es mit dem originalen Treiber von Canon nicht lösen, deshalb bin ich auf folgenden Standardtreiber umgestiegen:

Canon BJC-800 Foomatic/bjc800

Damit gehen zwar keine hochauflösenden Drucke, aber immerhin geht jetzt das Netzwerkdrucken. Für die bessere Auflösung muss man dann wohl lokal mit dem i560er Treiber drucken.

lg Roman

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Amfortas« (08.03.2007, 01:50)


3

08.03.2007, 01:55

wenigstens etwas ;)
"Erst nachdem wir alles verloren haben, haben wir die Freiheit, alles zu tun."
"It's only after we've lost everything, that we're free to do anything!"

Jabber: Die ID kann via PN erfragt werden.