Anybody know how to figure out deps for getting texttopdf to work ?
I get this eror:
Code:
D [20/Sep/2016:14:47:12 +0100] [Job 13] No viable font found
D [20/Sep/2016:14:47:12 +0100] [Job 13] Set job-printer-state-message to "Ignored bad font \"monospace\"", current level=WARN
D [20/Sep/2016:14:47:12 +0100] [Job 13] No viable font found
D [20/Sep/2016:14:47:12 +0100] [Job 13] Set job-printer-state-message to "No usable font available", current level=ERROR
D [20/Sep/2016:14:47:12 +0100] [Job 13] PID 18106 (/usr/lib/cups/filter/texttopdf) stopped with status 1.
Damn it if I do it manually it works
Code:
root@slackware:~# /usr/lib/cups/filter/texttopdf 1 me '' 1 '' </etc/passwd >texttopdf.pdf
DEBUG: Page = 595x842; 12,12 to 583,830
root@slackware:~# echo $?
0
root@slackware:~# /usr/lib/cups/filter/texttopdf 1 me '' 1 '' </etc/passwd >texttopdf.pdf
DEBUG: Page = 595x842; 12,12 to 583,830
root@slackware:~# echo $?
0
root@slackware:~# /usr/lib/cups/filter/pdftopdf 1 me '' 1 '' <texttopdf.pdf > pdf2pdf.pdf
DEBUG: pdftopdf: No FINAL_CONTENT_TYPE environment variable, could not determine whether to log pages or not, so turned off page logging.
DEBUG: pdftopdf: Last filter determined by the PPD: None; FINAL_CONTENT_TYPE: (null) => pdftopdf will not log pages in page_log.
root@slackware:~# echo $?
0
root@slackware:~# /usr/lib/cups/filter/pdftops 1 me '' 1 '' < pdf2pdf.pdf > pdf2ps.ps
DEBUG: pdftops - copying to temp print file "/tmp/0040500059df4"
DEBUG: Printer make and model: Generic PostScript Printer
DEBUG: Running command line for pstops: pstops 1 me 1
DEBUG: No resolution information found in the PPD file.
DEBUG: Using image rendering resolution 300 dpi
DEBUG: Running command line for gs: gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=ps2write -sOUTPUTFILE=%stdout -dLanguageLevel=2 -r300 -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE -c 'save pop' -f /tmp/0040500059df4
DEBUG: Started filter gs (PID 1030)
DEBUG: Started filter pstops (PID 1031)
DEBUG: Page = 595x842; 12,12 to 583,830
DEBUG: slow_collate=0, slow_duplex=0, slow_order=0
DEBUG: Before copy_comments - %!PS-Adobe-3.0
DEBUG: %!PS-Adobe-3.0
DEBUG: %%BoundingBox: 0 0 595 842
DEBUG: %%HiResBoundingBox: 0 0 595.00 842.00
DEBUG: %%Creator: GPL Ghostscript 919 (ps2write)
DEBUG: %%LanguageLevel: 2
DEBUG: %%CreationDate: D:19700101043441+01'00'
DEBUG: %%Pages: 1
DEBUG: %%EndComments
DEBUG: Before copy_prolog - %%BeginProlog
DEBUG: Before copy_setup - %%Page: 1 1
DEBUG: Before page loop - %%Page: 1 1
DEBUG: Copying page 1...
PAGE: 1 1
DEBUG: pagew = 571.0, pagel = 818.0
DEBUG: bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 842
DEBUG: PageLeft = 12.0, PageRight = 583.0
DEBUG: PageTop = 830.0, PageBottom = 12.0
DEBUG: PageWidth = 595.0, PageLength = 842.0
DEBUG: Wrote 1 pages...
DEBUG: PID 1031 (pstops) exited with no errors.
DEBUG: PID 1030 (gs) exited with no errors.
root@slackware:~# echo $?
0
root@slackware:~#
I can see the ps file is fine with gv. Why do I get "PID 18106 (/usr/lib/cups/filter/texttopdf) stopped with status 1." and why does the printer print a blank page (toner is fine) ?
As you can see above I ran manually all the filters and none exited with 1 !
What's up ?