Cups PDF workflow

Ответить
mkbr1
Сообщения: 15
Зарегистрирован: 10 май 2013, 09:01
Operating system: Rosa Fresh 2012

Cups PDF workflow

Сообщение mkbr1 » 29 окт 2014, 02:05

Hi, does anyone have the cups PDF printer working in R4?

After creating connection pdf:/home/me (from /usr/lib/cups/backend/pdf) and selecting the Generic PDF queue I could not get any output from the printer. It simply goes into pause, and may throw up an diagnostic screen which does not offer any help. The print job stays in the queue.


Refer to small cut and paste from the error.log below.




E [29/Oct/2014:09:25:56 +1030] [cups-driverd] Bad driver information file "/usr/share/cups/model/lexmark/readme"!
E [29/Oct/2014:09:25:56 +1030] [cups-driverd] Bad driver information file "/usr/share/cups/model/lexmark/readme.1st"!
E [29/Oct/2014:09:25:56 +1030] [cups-driverd] Bad driver information file "/usr/share/cups/model/tektronix/readme"!
E [29/Oct/2014:09:25:56 +1030] [cups-driverd] Bad driver information file "/usr/share/cups/model/ricoh/readme"!
E [29/Oct/2014:09:25:56 +1030] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
E [29/Oct/2014:09:25:56 +1030] [cups-driverd] Bad driver information file "/usr/share/cups/model/hp/readme"!
E [29/Oct/2014:09:25:56 +1030] [cups-driverd] Bad driver information file "/usr/share/cups/model/oki/readme"!
E [29/Oct/2014:09:25:56 +1030] [cups-driverd] Bad driver information file "/usr/share/cups/model/xerox/readme"!
E [29/Oct/2014:09:25:56 +1030] [cups-driverd] Bad driver information file "/usr/share/cups/model/minolta/readme"!
E [29/Oct/2014:09:25:56 +1030] [cups-driverd] Skipping "/usr/local/share/ppd": loop detected!
E [29/Oct/2014:09:25:56 +1030] [cups-driverd] Skipping "/usr/share/ppd": loop detected!
E [29/Oct/2014:09:25:56 +1030] [cups-driverd] Skipping "/opt/share/ppd": loop detected!
E [29/Oct/2014:09:30:34 +1030] [cups-deviced] PID 767 (cups2pegg) stopped with status 13!

mkbr1
Сообщения: 15
Зарегистрирован: 10 май 2013, 09:01
Operating system: Rosa Fresh 2012

Re: Cups PDF workflow

Сообщение mkbr1 » 29 окт 2014, 04:41

Further to my post I found Cups-pdf in the "rosa2014.1/" Repository and install this.

Cups-pdf "Virtual Printer" showed as a printer available for installation in the cups Admin page and I was able to install it. When attempting to print a test page it failed with an error.
....so no luck thus far.

Error log below

D [29/Oct/2014:10:02:00 +1030] [Job 17] Printer make and model: Generic CUPS
v1.1
D [29/Oct/2014:10:02:00 +1030] [Job 17] Running command line for pstops:
pstops 17 brm 'Test Page' 1
'job-uuid=urn:uuid:f16a6147-9a20-3c71-5a8c-2d4e6e394617
job-originating-host-name=localhost time-at-creation=1414539120
time-at-processing=1414539120'
D [29/Oct/2014:10:02:00 +1030] [Job 17] Using image rendering resolution 600
dpi
D [29/Oct/2014:10:02:00 +1030] [Job 17] Running command line for gs: gs -q
-dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite -sOUTPUTFILE=%stdout
- -dLanguageLevel=2 -r600 -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE
- - -c 'save pop' -f /var/spool/cups/tmp/cupsaNWi2L
D [29/Oct/2014:10:02:00 +1030] [Job 17] Started filter gs (PID 20662)
D [29/Oct/2014:10:02:00 +1030] [Job 17] Started filter pstops (PID 20663)
D [29/Oct/2014:10:02:00 +1030] [Job 17] Page = 595x842; 0,0 to 595,842
D [29/Oct/2014:10:02:00 +1030] [Job 17] slow_collate=0, slow_duplex=0,
slow_order=0
D [29/Oct/2014:10:02:00 +1030] [Job 17] This document does not conform to
the Adobe Document Structuring Conventions and may not print correctly.
D [29/Oct/2014:10:02:00 +1030] [Job 17] PAGE: 1 1
D [29/Oct/2014:10:02:00 +1030] [Job 17] PID 20662 (gs) stopped with status
1!
D [29/Oct/2014:10:02:00 +1030] [Job 17] PID 20663 (pstops) exited with no
errors.
D [29/Oct/2014:10:02:00 +1030] [Job 17] PID 20660
(/usr/lib/cups/filter/pdftops) stopped with status 1.
D [29/Oct/2014:10:02:00 +1030] [Job 17] Hint: Try setting the LogLevel to
"debug" to find out more.
D [29/Oct/2014:10:02:00 +1030] [Job 17] GPL Ghostscript 9.14: Unrecoverable
error, exit code 1
D [29/Oct/2014:10:02:00 +1030] [Job 17] PID 20661
(/usr/lib/cups/backend/cups-pdf) exited with no errors.
D [29/Oct/2014:10:02:00 +1030] [Job 17] End of messages
D [29/Oct/2014:10:02:00 +1030] [Job 17] printer-state=3(idle)
D [29/Oct/2014:10:02:00 +1030] [Job 17] printer-state-message="Filter
failed"
D [29/Oct/2014:10:02:00 +1030] [Job 17] printer-state-reasons=none
E [29/Oct/2014:10:02:11 +1030] [cups-deviced] PID 20685 (cups2pegg) stopped
with status 13!

mkbr1
Сообщения: 15
Зарегистрирован: 10 май 2013, 09:01
Operating system: Rosa Fresh 2012

Re: Cups PDF workflow

Сообщение mkbr1 » 30 окт 2014, 00:07

Further to my post - some progress. The Cups-pdf printer from the R4 repository is now working. I found it necessary to restart the computer when making changes in cups. It was after a restart that Cups-pdf started working. Restarting the cups server did not work. Also restarting the network did not work. Making changes to the printer queue caused cups to hang. So restarting the PC a dozen times was necessary but now I have the desired results. You may also try searching and killing the cups pid. But restarting worked for me.

No success yet with the inbuilt cups pdf printer -- found in usr/lib/cups/backend/pdf*. This filter appears in cups as pdf writer but does not work at all.

Ответить

Вернуться в «ROSA Fresh R4-R7 (2014.1)»