Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Drucken über CUPS geht nicht mehr
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
AROK
Guru
Guru


Joined: 31 Jul 2006
Posts: 442
Location: D und CH

PostPosted: Sun Oct 07, 2007 4:40 pm    Post subject: Drucken über CUPS geht nicht mehr Reply with quote

Hallo,

seit eben kann ich nicht mehr drucken.

Konfiguration: Canon IP4100 an Windows Rechner, Zugriff über SMB. Bis vor kurzen lief es ohne Probleme!

Jetzt, bei jedem Versuch zu drucken:

Quote:
A print error occurred. Error message received from system:

cupsdoprint -P 'Canon_PIXUS_IP_4100' -J '' -H 'localhost:631' -U 'arok' -o ' multiple-document-handling=separate-documents-uncollated-copies orientation-requested=3' '/usr/kde/3.5/share/apps/kdeprint/testprint.ps' : execution failed with message:
client-error-document-format-not-supported


Hat von euch Jemand eine Idee, was falsch sein könnte?

Gruß
AROK

Nachtrag:

Es betrifft auch die PDF und Postskriptdrucker! Scheint also an CUPS direkt zu liegen !?


Last edited by AROK on Sun Oct 07, 2007 5:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
AROK
Guru
Guru


Joined: 31 Jul 2006
Posts: 442
Location: D und CH

PostPosted: Sun Oct 07, 2007 5:02 pm    Post subject: Reply with quote

Noch ein paar Infos:
Uncomment application/octet-stream in /etc/cups/mime.types
und
uncomment application/octet-stream in /etc/cups/mime.convs
hab ich drin.

access_log:
Code:
localhost - - [07/Oct/2007:18:56:16 +0200] "POST /printers/ HTTP/1.1" 200 109 CUPS-Get-Printers successful-ok
localhost - - [07/Oct/2007:18:56:16 +0200] "POST /printers/ HTTP/1.1" 200 254 CUPS-Get-Printers successful-ok
localhost - - [07/Oct/2007:18:56:16 +0200] "POST /classes/ HTTP/1.1" 200 221 CUPS-Get-Classes successful-ok
localhost - - [07/Oct/2007:18:56:16 +0200] "POST /printers/ HTTP/1.1" 200 109 CUPS-Get-Default successful-ok
localhost - - [07/Oct/2007:18:56:16 +0200] "POST /printers/ HTTP/1.1" 200 384 Get-Printer-Attributes successful-ok
localhost - - [07/Oct/2007:18:56:16 +0200] "POST / HTTP/1.1" 200 211 Get-Printer-Attributes successful-ok
localhost - - [07/Oct/2007:18:56:16 +0200] "GET /ppd/Canon_PIXUS_IP_4100.ppd HTTP/1.1" 200 9016 - -
localhost - - [07/Oct/2007:18:56:16 +0200] "POST / HTTP/1.1" 200 385 Get-Jobs successful-ok
localhost - - [07/Oct/2007:18:56:17 +0200] "POST / HTTP/1.1" 200 211 Get-Printer-Attributes successful-ok
localhost - - [07/Oct/2007:18:56:17 +0200] "GET /ppd/Canon_PIXUS_IP_4100.ppd HTTP/1.1" 200 9016 - -
localhost - - [07/Oct/2007:18:56:17 +0200] "POST /printers/Canon_PIXUS_IP_4100 HTTP/1.1" 200 14860 Print-Job client-error-document-format-not-supported
localhost - - [07/Oct/2007:18:56:17 +0200] "POST /printers/ HTTP/1.1" 200 254 CUPS-Get-Printers successful-ok
localhost - - [07/Oct/2007:18:56:17 +0200] "POST /classes/ HTTP/1.1" 200 221 CUPS-Get-Classes successful-ok
localhost - - [07/Oct/2007:18:56:17 +0200] "POST /printers/ HTTP/1.1" 200 109 CUPS-Get-Default successful-ok
localhost - - [07/Oct/2007:18:56:17 +0200] "POST / HTTP/1.1" 200 385 Get-Jobs successful-ok
localhost - - [07/Oct/2007:18:56:23 +0200] "POST /printers/ HTTP/1.1" 200 254 CUPS-Get-Printers successful-ok
localhost - - [07/Oct/2007:18:56:23 +0200] "POST /classes/ HTTP/1.1" 200 221 CUPS-Get-Classes successful-ok
localhost - - [07/Oct/2007:18:56:23 +0200] "POST /printers/ HTTP/1.1" 200 109 CUPS-Get-Default successful-ok
localhost - - [07/Oct/2007:18:56:23 +0200] "POST /printers/ HTTP/1.1" 200 384 Get-Printer-Attributes successful-ok
localhost - - [07/Oct/2007:18:56:23 +0200] "POST / HTTP/1.1" 200 211 Get-Printer-Attributes successful-ok
localhost - - [07/Oct/2007:18:56:23 +0200] "GET /ppd/Canon_PIXUS_IP_4100.ppd HTTP/1.1" 200 9016 - -
localhost - - [07/Oct/2007:18:56:23 +0200] "POST / HTTP/1.1" 200 385 Get-Jobs successful-ok


error_log:
Code:

I [07/Oct/2007:18:55:53 +0200] Saving job cache file "/var/cache/cups/job.cache"...
I [07/Oct/2007:18:56:06 +0200] Loaded configuration file "/etc/cups/cupsd.conf"
N [07/Oct/2007:18:56:06 +0200] Group and SystemGroup cannot use the same groups!
I [07/Oct/2007:18:56:06 +0200] Resetting Group to "nobody"...
I [07/Oct/2007:18:56:06 +0200] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [07/Oct/2007:18:56:06 +0200] Configured for up to 100 clients.
I [07/Oct/2007:18:56:06 +0200] Allowing up to 100 client connections per host.
I [07/Oct/2007:18:56:06 +0200] Creating CUPS default administrative policy:
I [07/Oct/2007:18:56:06 +0200] <Policy default>
I [07/Oct/2007:18:56:06 +0200] <Limit Send-Document Send-URI Cancel-Job Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Authenticate-Job>
I [07/Oct/2007:18:56:06 +0200] Order Deny,Allow
I [07/Oct/2007:18:56:06 +0200] Require user @OWNER @SYSTEM
I [07/Oct/2007:18:56:06 +0200] </Limit>
I [07/Oct/2007:18:56:06 +0200] <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
I [07/Oct/2007:18:56:06 +0200] Order Deny,Allow
I [07/Oct/2007:18:56:06 +0200] AuthType Basic
I [07/Oct/2007:18:56:06 +0200] Require user @SYSTEM
I [07/Oct/2007:18:56:06 +0200] </Limit>
I [07/Oct/2007:18:56:06 +0200] <Limit All>
I [07/Oct/2007:18:56:06 +0200] Order Deny,Allow
I [07/Oct/2007:18:56:06 +0200] </Limit>
I [07/Oct/2007:18:56:06 +0200] </Policy>
I [07/Oct/2007:18:56:06 +0200] Full reload is required.
I [07/Oct/2007:18:56:06 +0200] Loaded MIME database from '/etc/cups': 34 types, 1 filters...
I [07/Oct/2007:18:56:06 +0200] Loading job cache file "/var/cache/cups/job.cache"...
I [07/Oct/2007:18:56:06 +0200] Full reload complete.
I [07/Oct/2007:18:56:06 +0200] Listening to :::631 on fd 2...
I [07/Oct/2007:18:56:06 +0200] Listening to 0.0.0.0:631 on fd 3...


/etc/cupsd.conf:
Code:

cat cupsd.conf | grep "^#" -v
Classification none
DefaultCharset UTF-8
DefaultLanguage en
Printcap /etc/printcap
PrintcapFormat BSD
RemoteRoot remroot
SystemGroup lp
ServerCertificate /etc/cups/ssl/server.crt
ServerKey /etc/cups/ssl/server.key
<Location />
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From 127.0.0.1
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From 127.0.0.1
</Location>
HostnameLookups Off
KeepAlive On
KeepAliveTimeout 60
MaxClients 100
MaxRequestSize 0m
Timeout 300
Listen *:631
AccessLog /var/log/cups/access_log
ErrorLog /var/log/cups/error_log
PageLog /var/log/cups/page_log
MaxLogSize 1m
LogLevel info
PreserveJobHistory On
PreserveJobFiles Off
AutoPurgeJobs No
MaxJobs 0
MaxJobsPerPrinter 0
MaxJobsPerUser 0
User lp
Group lp
RIPCache 8m
FilterLimit 0
DataDir /usr/share/cups
DocumentRoot /usr/share/cups/docs
RequestRoot /var/spool/cups
ServerBin /usr/lib/cups
ServerRoot /etc/cups
TempDir /var/spool/cups/tmp
Browsing On
BrowseProtocols CUPS
BrowsePort 631
BrowseInterval 30
BrowseTimeout 300
BrowseOrder allow,deny
ImplicitClasses On
ImplicitAnyClasses Off
HideImplicitMembers Yes
BrowseShortNames Yes


Die Konfiguration bin ich entspr. Howto noch mal durchgegangen.
Back to top
View user's profile Send private message
AROK
Guru
Guru


Joined: 31 Jul 2006
Posts: 442
Location: D und CH

PostPosted: Mon Oct 08, 2007 1:59 pm    Post subject: Reply with quote

Hallo,

habe gestern noch mal alle cups Dateien mit denen aus einem Backup überschrieben.

Jetzt kommt ein anderer Fehler:
Quote:
execution failed with message:
client-error-not-found


Echt frustrierend! hab gar nicht dran rumgebastelt und auf einmal geht es nicht mehr! :twisted:

Gruß
AROK

NACHTRAG:
Gerade habe ich festgestellt, dass damit zumindest der PDF-Drucker wieder läuft und über den Adobe reader kann ich auch auf dem CANON Drucker weider drucken. (Geht vorbei am KDE Drucksystem). Es scheint also am KDE Drucksystem zu liegen...
Back to top
View user's profile Send private message
AROK
Guru
Guru


Joined: 31 Jul 2006
Posts: 442
Location: D und CH

PostPosted: Tue Oct 09, 2007 2:30 pm    Post subject: Reply with quote

Quote:

NACHTRAG:
Gerade habe ich festgestellt, dass damit zumindest der PDF-Drucker wieder läuft und über den Adobe reader kann ich auch auf dem CANON Drucker weider drucken. (Geht vorbei am KDE Drucksystem). Es scheint also am KDE Drucksystem zu liegen...

Hat sich als nichtig rausgestellt, ging nur ein mal, dann nicht mehr!



Aktuell sieht es so aus, dass der Drucker anfängt, sehr langsam druckt, und nach etwa einer viertel Seite aufhört. :twisted:
Egal ob aus Adobe Reader oder KDE-Programm.
Den Treiber habe ich auch neu installiert, nichts gebracht.

CUPS-PDF funktioniert wieder einwandfrei.
Back to top
View user's profile Send private message
AROK
Guru
Guru


Joined: 31 Jul 2006
Posts: 442
Location: D und CH

PostPosted: Wed Dec 05, 2007 4:58 pm    Post subject: Reply with quote

Hi,

ich muss noch mal fragen, es geht leider immer noch nicht...

Hab nochmal das hier: http://www.gentoo.de/doc/de/printing-howto.xml
durchgearbeitet, aber ich komme nicht mal zu dem Webinterface von Cups:
Quote:
404 Not Found


Wäre schön, wenn Jemand einen Tipp hätte...

Gruß
AROK
_________________
"Linux ist ein Krebsgeschwür, das in Bezug auf geistiges Eigentum alles befällt, was es berührt." Steve Ballmer, Microsoft
Also überlegt, wen ihr unterstützt wenn ihr das Zeugs verwendet!
Back to top
View user's profile Send private message
a.forlorn
Guru
Guru


Joined: 12 Aug 2005
Posts: 412
Location: Ulm, Germany

PostPosted: Wed Dec 05, 2007 7:09 pm    Post subject: Reply with quote

Quote:
PDF und Postskriptdrucker

Geht bei mir seit kurzer Zeit auch nicht mehr in KPDF und KSPREAD. Hab da mal schon letzte Woche nen bugreport gemacht. Das es selber an CUPS liegt, schließ ich aus, mit anderen Anwendung und mit dem CUPS von Windows aus (da gehen auch PDF) klappt es tadellos.
_________________
Gentoo update is sometimes harder than it should.
Back to top
View user's profile Send private message
AROK
Guru
Guru


Joined: 31 Jul 2006
Posts: 442
Location: D und CH

PostPosted: Thu Dec 06, 2007 4:22 pm    Post subject: Reply with quote

Hi,

habe gestern noch mal den Test gemach und den Drucker direkt an meinen Rechner per USB angebunden, aber da hab ich Garnichts gedruckt bekommen, über das Netzwerk bekomme ich wenigstens ein halbe Seite raus :?

Habe auch noch mal CUPS komplett runtergeschmissen und alle Dateien gelöscht und alles neu Installiert, aber ohne Ergebnis. Immer noch komm ich nicht mal auf das Webinterface :evil: Wenn ich die ganze Zeit rechne, die das Problem gekostet hat, könnte ich gleich alles von einer Druckerei drucken lassen :?

Wie oben schon geschrieben geht es zwischendurch sogar manchmal, PDF und selten auch der Drucker, und dann wieder nicht. Wie Verhext!

Gruß
AROK
_________________
"Linux ist ein Krebsgeschwür, das in Bezug auf geistiges Eigentum alles befällt, was es berührt." Steve Ballmer, Microsoft
Also überlegt, wen ihr unterstützt wenn ihr das Zeugs verwendet!
Back to top
View user's profile Send private message
Anarcho
Advocate
Advocate


Joined: 06 Jun 2004
Posts: 2970
Location: Germany

PostPosted: Thu Dec 06, 2007 4:34 pm    Post subject: Reply with quote

Steht vielleicht was im "dmesg"?
_________________
...it's only Rock'n'Roll, but I like it!
Back to top
View user's profile Send private message
a.forlorn
Guru
Guru


Joined: 12 Aug 2005
Posts: 412
Location: Ulm, Germany

PostPosted: Thu Dec 06, 2007 6:43 pm    Post subject: Reply with quote

Ich vermute auch irgendein Fehler zwischen dem letzten ghostscript update. Irgendwas stimmt seitdem mit der Kombination kdelibs, qt und cups. Leider kann ich grad gar nicht testen - zu wenig Zeit.
_________________
Gentoo update is sometimes harder than it should.
Back to top
View user's profile Send private message
AROK
Guru
Guru


Joined: 31 Jul 2006
Posts: 442
Location: D und CH

PostPosted: Tue Apr 01, 2008 3:54 pm    Post subject: Reply with quote

Hallo,

nachdem es sich zwischenzeitlich mal "selbstgeheilt" hat ging es letzte Woche auf einmal wieder nicht mehr. Keine Ahnung warum :x

Jedenfalls hab ich heute Cups runter geschmissen alles gelöscht was damit zusammenhängt und alles neu eingerichtet. Es ging dann auch erst aber nachdem ich noch einen Drucker hinzugefügt hatte ging es wieder nicht mehr. Da kam mir die Idee, das mal ohne KDE-Tool Unterstützung zu probieren, was ich zuvor immer zum Einrichten der Drucker verwendet habe.
Dann das ganze wieder von vorn und diesmal die Einrichtung nur über das Webinterface, nicht über die KDE-Tools.
Und seit dem Läuft alles mit echtem und PDF-Drucker.
Meine Vermutung ist, dass das KDE-Tool zur Druckereinrichtung für die Gentoo-Cups-Installation nicht richtig funktioniert. Jedenfalls kann ich es mir nicht anders erklären.
Vielleicht hab ich es aber auch falsch bedient, Ich will mal nicht die Schuld voreilig abschieben :?

Wie Sind eure Erfahrungen damit?

Grüße
AROK

PS:
die verwendeten Versionen:
kde-base/kdeprint -3.5.8
net-print/cupssions-1.2.12-r6
_________________
"Linux ist ein Krebsgeschwür, das in Bezug auf geistiges Eigentum alles befällt, was es berührt." Steve Ballmer, Microsoft
Also überlegt, wen ihr unterstützt wenn ihr das Zeugs verwendet!
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3925
Location: Hamburg

PostPosted: Tue Apr 01, 2008 4:35 pm    Post subject: Reply with quote

Hatte ähnliche Probleme. Nutze mittlerweile nur noch das CUPS eigene Web-interface und bin damit zufrieden.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum