WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] Network Printer not working  (Read 7095 times)

Offline digidax

  • Newbie
  • *
  • Posts: 6
[Solved] Network Printer not working
« on: February 05, 2014, 06:17:32 AM »
Hello,

Have installed Tiny Core 5.2 Linux box 3.8.13-tinycore but get not working a Kyocera Network Printer (with ethernet port).
Cups and cups-filters are installed, on the Cups Webinterface the networkprinter is shown as "Discovered Network Printer". Proceed with it and use the PPD File provided by Kyocera. Finally the printer was successful installed. After trying to print the Cups testpage, in the job list the state is "stopped - Filter failed".

Here ist the cups error log:
Code: [Select]
E [05/Feb/2014:15:06:41 +0000] [cups-driverd] Bad driver information file "/usr/local/share/cups/drv/cupsfilters.drv"!
E [05/Feb/2014:15:06:41 +0000] [cups-driverd] Bad driver information file "/usr/local/share/cups/drv/cupsfilters.drv"!
E [05/Feb/2014:15:06:48 +0000] [cups-driverd] Bad driver information file "/usr/local/share/cups/drv/cupsfilters.drv"!
E [05/Feb/2014:15:06:48 +0000] [cups-driverd] Bad driver information file "/usr/local/share/cups/drv/cupsfilters.drv"!
W [05/Feb/2014:15:07:30 +0000] CreateProfile failed: org.freedesktop.DBus.Error.Disconnected:Connection is closed
W [05/Feb/2014:15:07:30 +0000] CreateDevice failed: org.freedesktop.DBus.Error.Disconnected:Connection is closed
W [05/Feb/2014:15:07:32 +0000] CreateProfile failed: org.freedesktop.DBus.Error.Disconnected:Connection is closed
W [05/Feb/2014:15:07:32 +0000] CreateDevice failed: org.freedesktop.DBus.Error.Disconnected:Connection is closed
E [05/Feb/2014:15:08:40 +0000] [Job 1] loadFile failed: temp file: not a PDF file
E [05/Feb/2014:15:08:42 +0000] [Job 1] Job stopped due to filter errors; please consult the error_log file for details.
D [05/Feb/2014:15:08:42 +0000] [Job 1] The following messages were recorded from 15:08:40 to 15:08:42
D [05/Feb/2014:15:08:42 +0000] [Job 1] Adding start banner page "none".
D [05/Feb/2014:15:08:42 +0000] [Job 1] Adding end banner page "none".
D [05/Feb/2014:15:08:42 +0000] [Job 1] File of type application/vnd.cups-pdf-banner queued by "root".
D [05/Feb/2014:15:08:42 +0000] [Job 1] hold_until=0
D [05/Feb/2014:15:08:42 +0000] [Job 1] Queued on "Kyocera_FS-2100DN" by "root".
D [05/Feb/2014:15:08:42 +0000] [Job 1] time-at-processing=1391612920
D [05/Feb/2014:15:08:42 +0000] [Job 1] job-sheets=none,none
D [05/Feb/2014:15:08:42 +0000] [Job 1] argv[0]="Kyocera_FS-2100DN"
D [05/Feb/2014:15:08:42 +0000] [Job 1] argv[1]="1"
D [05/Feb/2014:15:08:42 +0000] [Job 1] argv[2]="root"
D [05/Feb/2014:15:08:42 +0000] [Job 1] argv[3]="Test Page"
D [05/Feb/2014:15:08:42 +0000] [Job 1] argv[4]="1"
D [05/Feb/2014:15:08:42 +0000] [Job 1] argv[5]="job-uuid=urn:uuid:19d016aa-b4db-3da2-60ef-71346b410b4c job-originating-host-name=localhost time-at-creation=1391612920 time-at-processing=1391612920"
D [05/Feb/2014:15:08:42 +0000] [Job 1] argv[6]="/var/spool/cups/d00001-001"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[1]="CUPS_DATADIR=/usr/local/share/cups"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[2]="CUPS_DOCROOT=/usr/local/share/doc/cups"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[3]="CUPS_FONTPATH=/usr/local/share/cups/fonts"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[5]="CUPS_SERVERBIN=/usr/local/lib/cups"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[6]="CUPS_SERVERROOT=/usr/local/etc/cups"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[8]="HOME=/var/spool/cups/tmp"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[9]="PATH=/usr/local/lib/cups/filter:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[10]="SERVER_ADMIN=root@box"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[11]="SOFTWARE=CUPS/1.6.2"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[13]="USER=root"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[14]="CUPS_MAX_MESSAGE=2047"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[17]="IPP_PORT=631"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[18]="CHARSET=utf-8"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[19]="LANG=en_US.UTF-8"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[20]="PPD=/usr/local/etc/cups/ppd/Kyocera_FS-2100DN.ppd"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[21]="RIP_MAX_CACHE=128m"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[23]="DEVICE_URI=socket://192.168.130.53"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[24]="PRINTER_INFO=Kyocera FS-2100DN"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[25]="PRINTER_LOCATION=Fischglas"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[26]="PRINTER=Kyocera_FS-2100DN"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[27]="PRINTER_STATE_REASONS=none"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[28]="CUPS_FILETYPE=document"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
D [05/Feb/2014:15:08:42 +0000] [Job 1] envp[30]="AUTH_I****"
D [05/Feb/2014:15:08:42 +0000] [Job 1] Started filter /usr/local/lib/cups/filter/bannertopdf (PID 5557)
D [05/Feb/2014:15:08:42 +0000] [Job 1] Started filter /usr/local/lib/cups/filter/pdftopdf (PID 5558)
D [05/Feb/2014:15:08:42 +0000] [Job 1] Started filter /usr/local/lib/cups/filter/pdftops (PID 5559)
D [05/Feb/2014:15:08:42 +0000] [Job 1] Started backend /usr/local/lib/cups/backend/socket (PID 5560)
D [05/Feb/2014:15:08:42 +0000] [Job 1] STATE: +connecting-to-device
D [05/Feb/2014:15:08:42 +0000] [Job 1] Looking up "192.168.130.53"...
D [05/Feb/2014:15:08:42 +0000] [Job 1] pdftops - copying to temp print file "/var/spool/cups/tmp/015b752f7fe6d"
D [05/Feb/2014:15:08:42 +0000] [Job 1] hrDeviceDesc="FS-2100DN"
D [05/Feb/2014:15:08:42 +0000] [Job 1] Kyocera_FS-2100DN: error while loading shared libraries: libpoppler.so.37: cannot open shared object file: No such file or directory
D [05/Feb/2014:15:08:42 +0000] [Job 1] PID 5557 (/usr/local/lib/cups/filter/bannertopdf) stopped with status 127 (File too large)
D [05/Feb/2014:15:08:42 +0000] [Job 1] Hint: Try setting the LogLevel to "debug" to find out more.
D [05/Feb/2014:15:08:42 +0000] [Job 1] prtGeneralCurrentLocalization=1
D [05/Feb/2014:15:08:42 +0000] [Job 1] PID 5558 (/usr/local/lib/cups/filter/pdftopdf) stopped with status 1.
D [05/Feb/2014:15:08:42 +0000] [Job 1] Hint: Try setting the LogLevel to "debug" to find out more.
D [05/Feb/2014:15:08:42 +0000] [Job 1] Using image rendering resolution 600 dpi
D [05/Feb/2014:15:08:42 +0000] [Job 1] Deactivated compression of pages in Ghostscript's PostScript output ("psdebug" debug mode or Kyocera printer)
D [05/Feb/2014:15:08:42 +0000] [Job 1] Started filter gs (PID 5561)
D [05/Feb/2014:15:08:42 +0000] [Job 1] Started post-processing (PID 5562)
D [05/Feb/2014:15:08:42 +0000] [Job 1] Started filter pstops (PID 5563)
D [05/Feb/2014:15:08:42 +0000] [Job 1] Inserted workaround PostScript code for Kyocera printers
D [05/Feb/2014:15:08:42 +0000] [Job 1] PID 5562 (Post-processing) exited with no errors.
D [05/Feb/2014:15:08:42 +0000] [Job 1] PID 5561 (gs) exited with no errors.
D [05/Feb/2014:15:08:42 +0000] [Job 1] Page = 595x842; 12,10 to 583,832
D [05/Feb/2014:15:08:42 +0000] [Job 1] slow_collate=0, slow_duplex=0, slow_order=0
D [05/Feb/2014:15:08:42 +0000] [Job 1] Before copy_comments - %!PS-Adobe-3.0
D [05/Feb/2014:15:08:42 +0000] [Job 1] %!PS-Adobe-3.0
D [05/Feb/2014:15:08:42 +0000] [Job 1] %%Pages: (atend)
D [05/Feb/2014:15:08:42 +0000] [Job 1] %%BoundingBox: 0 0 0 0
D [05/Feb/2014:15:08:42 +0000] [Job 1] %%HiResBoundingBox: 0.000000 0.000000 0.000000 0.000000
D [05/Feb/2014:15:08:42 +0000] [Job 1] %%Creator: GPL Ghostscript 906 (pswrite)
D [05/Feb/2014:15:08:42 +0000] [Job 1] %%CreationDate: 2014/02/05 15:08:41
D [05/Feb/2014:15:08:42 +0000] [Job 1] %%DocumentData: Clean7Bit
D [05/Feb/2014:15:08:42 +0000] [Job 1] %%LanguageLevel: 3
D [05/Feb/2014:15:08:42 +0000] [Job 1] %%EndComments
D [05/Feb/2014:15:08:42 +0000] [Job 1] Before copy_prolog - %%BeginProlog
D [05/Feb/2014:15:08:42 +0000] [Job 1] Before copy_setup - %%Trailer
D [05/Feb/2014:15:08:42 +0000] [Job 1] Before page loop - DEBUG: Wrote 0 pages...
D [05/Feb/2014:15:08:42 +0000] [Job 1] PID 5563 (pstops) exited with no errors.
D [05/Feb/2014:15:08:42 +0000] [Job 1] PID 5559 (/usr/local/lib/cups/filter/pdftops) exited with no errors.
D [05/Feb/2014:15:08:42 +0000] [Job 1] prtLocalizationCharacterSet type is 2, expected 2!
D [05/Feb/2014:15:08:42 +0000] [Job 1] backendWaitLoop(snmp_fd=5, addr=0xb79e81bc, side_cb=0xb7751448)
D [05/Feb/2014:15:08:42 +0000] [Job 1] Connecting to 192.168.130.53:9100
D [05/Feb/2014:15:08:42 +0000] [Job 1] Connecting to printer.
D [05/Feb/2014:15:08:42 +0000] [Job 1] STATE: -connecting-to-device
D [05/Feb/2014:15:08:42 +0000] [Job 1] Connected to printer.
D [05/Feb/2014:15:08:42 +0000] [Job 1] Connected to 192.168.130.53:9100...
D [05/Feb/2014:15:08:42 +0000] [Job 1] backendRunLoop(print_fd=0, device_fd=6, snmp_fd=5, addr=0xb79e81bc, use_bc=1, side_cb=0xb7751448)
D [05/Feb/2014:15:08:42 +0000] [Job 1] Read 5101 bytes of print data...
D [05/Feb/2014:15:08:42 +0000] [Job 1] Wrote 5101 bytes of print data...
D [05/Feb/2014:15:08:42 +0000] [Job 1] Waiting for printer to finish.
D [05/Feb/2014:15:08:42 +0000] [Job 1] PID 5560 (/usr/local/lib/cups/backend/socket) exited with no errors.
D [05/Feb/2014:15:08:42 +0000] [Job 1] End of messages
D [05/Feb/2014:15:08:42 +0000] [Job 1] printer-state=3(idle)
D [05/Feb/2014:15:08:42 +0000] [Job 1] printer-state-message="Waiting for printer to finish."
D [05/Feb/2014:15:08:42 +0000] [Job 1] printer-state-reasons=none


I think the problem is:
Bad driver information file "/usr/local/share/cups/drv/cupsfilters.drv"
How can I fix it?

best regards
Frank
« Last Edit: February 06, 2014, 10:38:40 AM by digidax »

Offline digidax

  • Newbie
  • *
  • Posts: 6
[SOLVED] Re: Network Printer not working
« Reply #1 on: February 05, 2014, 07:45:55 AM »
I don't know why but reinstalling cups and cups-filters solved the problem.

Thanks.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Network Printer not working
« Reply #2 on: February 05, 2014, 12:19:33 PM »
Don't forget to backup your CUPS configuration.

Offline digidax

  • Newbie
  • *
  • Posts: 6
Re: [Solved] Network Printer not working
« Reply #3 on: February 06, 2014, 10:39:19 AM »
Yes, it's done.