printers doesn't work after upgrade [Solved]

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

printers doesn't work after upgrade [Solved]

Postby Yves-Patrick » Sat Jan 26, 2013 16:20

After the last Sabayon update (KDE), it is impossible to print ...
I normally print on 6 different printers in three different contexts (at home, in my office, at school - I am a teacher).
In all three contexts, I print on printers connected to the network.
Brand printers are HP laserjet and Brothers.
Since I did the last update, last week, I can not print on any of the six printers ...
In CUPS, the following message appears in State: "Filter failed"
In this forum, (Topic Printer doesn't work after upgrade) I have not found the answer that suits me.
What is the problem?
Thank you for answering.
Yves-Patrick
Last edited by Yves-Patrick on Thu Feb 07, 2013 17:49, edited 1 time in total.
Yves-Patrick
Baby Hen
 
Posts: 9
Joined: Fri Feb 03, 2012 19:51

Re: printers doesn't work after upgrade

Postby aia » Sat Jan 26, 2013 17:05

Hello Yves-Patrick,

I don't use printer and i don't know the process for setup or what it needs for working,but i guess some configuration which are connected with printer and after the update & upgrade, its possible to lost the initial settings.
I suggest for starters to check the configuration which are related with the printer.
aia
Young Hen
 
Posts: 30
Joined: Wed Nov 28, 2012 11:43

Re: printers doesn't work after upgrade

Postby Yves-Patrick » Sat Jan 26, 2013 17:23

Hello,
Thank you, but this is the first thing I tried: reinstall a printer. Unfortunately this does not work.
I reinstalled the printer, but the result is the same ... not printing.
The CUPS message is the same: Filter failed
I still have to say that it's been over two years since I used Sabayon and I found it is a great distribution. I hope to find a solution because I need to print.....!
Yves-Patrick
Baby Hen
 
Posts: 9
Joined: Fri Feb 03, 2012 19:51

Re: printers doesn't work after upgrade

Postby aia » Sat Jan 26, 2013 17:35

The log files
Code: Select all
cat /var/log/cups/error_log
cat /var/log/cups/access_log

says only this 'Filter failed',nothing more?
aia
Young Hen
 
Posts: 30
Joined: Wed Nov 28, 2012 11:43

Re: printers doesn't work after upgrade

Postby Yves-Patrick » Sat Jan 26, 2013 18:44

I tried to print a file (19h37) and this is the error_log file :

[26/Jan/2013:19:37:17 +0100] [Job 447] No pages found!
E [26/Jan/2013:19:37:17 +0100] [Job 447] Job stopped due to filter errors; please consult the error_log file for details.
D [26/Jan/2013:19:37:17 +0100] [Job 447] The following messages were recorded from 19:37:16 to 19:37:17
D [26/Jan/2013:19:37:17 +0100] [Job 447] Adding start banner page "none".
D [26/Jan/2013:19:37:17 +0100] [Job 447] Queued on "Brother4" by "patrick".
D [26/Jan/2013:19:37:17 +0100] [Job 447] Auto-typing file...
D [26/Jan/2013:19:37:17 +0100] [Job 447] Request file type is application/postscript.
D [26/Jan/2013:19:37:17 +0100] [Job 447] File of type application/postscript queued by "patrick".
D [26/Jan/2013:19:37:17 +0100] [Job 447] Adding end banner page "none".
D [26/Jan/2013:19:37:17 +0100] [Job 447] time-at-processing=1359225436
D [26/Jan/2013:19:37:17 +0100] [Job 447] job-sheets=none,none
D [26/Jan/2013:19:37:17 +0100] [Job 447] argv[0]="Brother4"
D [26/Jan/2013:19:37:17 +0100] [Job 447] argv[1]="447"
D [26/Jan/2013:19:37:17 +0100] [Job 447] argv[2]="patrick"
D [26/Jan/2013:19:37:17 +0100] [Job 447] argv[3]="TDC-Autres-moeurs.pdf"
D [26/Jan/2013:19:37:17 +0100] [Job 447] argv[4]="1"
D [26/Jan/2013:19:37:17 +0100] [Job 447] argv[5]="noCollate finishings=3 media=A4 number-up=1 outputorder=normal portrait sides=one-sided job-uuid=urn:uuid:b5891ac4-3a3f-3b5b-6567-8167d2dd5185 job-originating-host-name=localhost time-at-creation=1359225436 time-at-processing=1359225436 PageSize=A4"
D [26/Jan/2013:19:37:17 +0100] [Job 447] argv[6]="/var/spool/cups/d00447-001"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[2]="CUPS_DOCROOT=/usr/share/cups/html"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[5]="CUPS_SERVERBIN=/usr/libexec/cups"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[8]="HOME=/var/spool/cups/tmp"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[9]="PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[10]="[email protected]"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[11]="SOFTWARE=CUPS/1.6.1"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[13]="USER=root"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[14]="CUPS_MAX_MESSAGE=2047"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[17]="IPP_PORT=631"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[18]="CHARSET=utf-8"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[19]="LANG=fr_FR.UTF-8"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[20]="PPD=/etc/cups/ppd/Brother4.ppd"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[21]="RIP_MAX_CACHE=128m"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[22]="CONTENT_TYPE=application/postscript"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[23]="DEVICE_URI=lpd://192.168.1.100/BINARY_P1"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[24]="PRINTER_INFO=Imprimante"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[25]="PRINTER_LOCATION=Luserna"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[26]="PRINTER=Brother4"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[27]="PRINTER_STATE_REASONS=none"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[28]="CUPS_FILETYPE=document"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[29]="FINAL_CONTENT_TYPE=printer/Brother4"
D [26/Jan/2013:19:37:17 +0100] [Job 447] envp[30]="AUTH_I****"
D [26/Jan/2013:19:37:17 +0100] [Job 447] Started filter /usr/libexec/cups/filter/pstopdf (PID 14695)
D [26/Jan/2013:19:37:17 +0100] [Job 447] Started filter /usr/libexec/cups/filter/pdftopdf (PID 14696)
D [26/Jan/2013:19:37:17 +0100] [Job 447] Started filter /usr/libexec/cups/filter/pdftops (PID 14697)
D [26/Jan/2013:19:37:17 +0100] [Job 447] Started filter /usr/libexec/cups/filter/brlpdwrapperhl3040cn (PID 14698)
D [26/Jan/2013:19:37:17 +0100] [Job 447] Started backend /usr/libexec/cups/backend/lpd (PID 14699)
D [26/Jan/2013:19:37:17 +0100] [Job 447] PID 14696 (/usr/libexec/cups/filter/pdftopdf) stopped with status 127 (File too large)
D [26/Jan/2013:19:37:17 +0100] [Job 447] Hint: Try setting the LogLevel to "debug" to find out more.
D [26/Jan/2013:19:37:17 +0100] [Job 447] Brother4: error while loading shared libraries: libqpdf.so.8: cannot open shared object file: No such file or directory
D [26/Jan/2013:19:37:17 +0100] [Job 447] pdftops - copying to temp print file "/var/spool/cups/tmp/0396951125b91"
D [26/Jan/2013:19:37:17 +0100] [Job 447] STATE: +connecting-to-device
D [26/Jan/2013:19:37:17 +0100] [Job 447] Looking up "192.168.1.100"...
D [26/Jan/2013:19:37:17 +0100] [Job 447] backendWaitLoop(snmp_fd=5, addr=0x7fad632739e8, side_cb=0x7fad628f1030)
D [26/Jan/2013:19:37:17 +0100] [Job 447] Using image rendering resolution 300 dpi
D [26/Jan/2013:19:37:17 +0100] [Job 447] Started filter pdftops (PID 14703)
D [26/Jan/2013:19:37:17 +0100] [Job 447] Started filter pstops (PID 14706)
D [26/Jan/2013:19:37:17 +0100] [Job 447] pstopdf 6 args: 447 patrick TDC-Autres-moeurs.pdf 1 noCollate finishings=3 media=A4 number-up=1 outputorder=normal portrait sides=one-sided job-uuid=urn:uuid:b5891ac4-3a3f-3b5b-6567-8167d2dd5185 job-originating-host-name=localhost time-at-creation=1359225436 time-at-processing=1359225436 PageSize=A4 /var/spool/cups/d00447-001
D [26/Jan/2013:19:37:17 +0100] [Job 447] PPD: /etc/cups/ppd/Brother4.ppd
D [26/Jan/2013:19:37:17 +0100] [Job 447] Syntax Warning: May not be a PDF file (continuing anyway)
D [26/Jan/2013:19:37:17 +0100] [Job 447] Syntax Error: Couldn't find trailer dictionary
D [26/Jan/2013:19:37:17 +0100] [Job 447] Syntax Error: Couldn't read xref table
D [26/Jan/2013:19:37:17 +0100] [Job 447] The print file is empty.
D [26/Jan/2013:19:37:17 +0100] [Job 447] PID 14706 (pstops) stopped with status 1!
D [26/Jan/2013:19:37:17 +0100] [Job 447] PID 14703 (pdftops) stopped with status 1!
D [26/Jan/2013:19:37:17 +0100] [Job 447] PID 14697 (/usr/libexec/cups/filter/pdftops) stopped with status 1.
D [26/Jan/2013:19:37:17 +0100] [Job 447] Hint: Try setting the LogLevel to "debug" to find out more.
D [26/Jan/2013:19:37:17 +0100] [Job 447] Resolution:
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Page size: A4
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Width: 595, height: 842, absolute margins: 12, 12, 583, 830
D [26/Jan/2013:19:37:17 +0100] [Job 447] /usr/libexec/cups/filter/pstopdf: ligne155: bc : commande introuvable
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] PID 14695 (/usr/libexec/cups/filter/pstopdf) stopped with status 127 (File too large)
D [26/Jan/2013:19:37:17 +0100] [Job 447] Hint: Try setting the LogLevel to "debug" to find out more.
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
D [26/Jan/2013:19:37:17 +0100] [Job 447] Error: /invalidfont in --scalefont--
D [26/Jan/2013:19:37:17 +0100] [Job 447] Operand stack:
D [26/Jan/2013:19:37:17 +0100] [Job 447] euc-jpdict fCourier --dict:19/21(L)-- 0.909091
D [26/Jan/2013:19:37:17 +0100] [Job 447] Execution stack:
D [26/Jan/2013:19:37:17 +0100] [Job 447] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop 1877 1 3 %oparray_pop 1861 1 3 %oparray_pop 1755 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
D [26/Jan/2013:19:37:17 +0100] [Job 447] Dictionary stack:
D [26/Jan/2013:19:37:17 +0100] [Job 447] --dict:1169/1684(ro)(G)-- --dict:0/20(G)-- --dict:79/200(L)-- --dict:59/200(L)-- --dict:11/18(L)--
D [26/Jan/2013:19:37:17 +0100] [Job 447] Current allocation mode is local
D [26/Jan/2013:19:37:17 +0100] [Job 447] Last OS error: No such file or directory
D [26/Jan/2013:19:37:17 +0100] [Job 447] GPL Ghostscript 9.06: Unrecoverable error, exit code 1
D [26/Jan/2013:19:37:17 +0100] [Job 447] PID 14698 (/usr/libexec/cups/filter/brlpdwrapperhl3040cn) exited with no errors.
D [26/Jan/2013:19:37:17 +0100] [Job 447] PID 14699 (/usr/libexec/cups/backend/lpd) exited with no errors.
D [26/Jan/2013:19:37:17 +0100] [Job 447] End of messages
D [26/Jan/2013:19:37:17 +0100] [Job 447] printer-state=3(idle)
D [26/Jan/2013:19:37:17 +0100] [Job 447] printer-state-message="No pages found!"
D [26/Jan/2013:19:37:17 +0100] [Job 447] printer-state-reasons=none

And his is a copy of the access_log file
localhost - - [26/Jan/2013:19:37:16 +0100] "POST /printers/Brother4 HTTP/1.1" 200 402 Create-Job successful-ok
localhost - - [26/Jan/2013:19:37:16 +0100] "POST /printers/Brother4 HTTP/1.1" 200 538469 Send-Document successful-ok
Yves-Patrick
Baby Hen
 
Posts: 9
Joined: Fri Feb 03, 2012 19:51

Re: printers doesn't work after upgrade

Postby lxnay » Sat Jan 26, 2013 19:16

Read your own log file:
Error: /opt/brother/Printers/hl3040cn/inf/brhl3040cnrc.old :cannot open file !!
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: printers doesn't work after upgrade

Postby Yves-Patrick » Sat Jan 26, 2013 19:31

Hello,
There is no brhl3040cnrc.old here (/opt/brother/Printers/hl3040cn/inf/)..! But only the brhl3040cnrc
File content (brhl3040cnrc) below :
----------------------------------------
[HL3040CN]
MediaType=Plain
PageSize=A4
InputSlot=AutoSelect
BRResolution=Normal
Copies=0
Collate=OFF
BRReverse=OFF
BRMonoColor=Auto
BRColorMatching=Normal
BRGray=OFF
BREnhanceBlkPrt=OFF
TonerSaveMode=OFF
BRImproveOutput=OFF
Brightness=0
Contrast=0
RedKey=0
GreenKey=0
BlueKey=0
Saturation=0
Language=us
-----------------------
Thank You
Yves-Patrick
Yves-Patrick
Baby Hen
 
Posts: 9
Joined: Fri Feb 03, 2012 19:51

Re: printers doesn't work after upgrade [Solved]

Postby Yves-Patrick » Sun Feb 03, 2013 15:04

I finally solved the problem by doing a fresh install. I completely reformatted the hard drive and I put the Sabayon X version (KDE).
Thank you for your answers ...
Yves-Patrick
Baby Hen
 
Posts: 9
Joined: Fri Feb 03, 2012 19:51


Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest