Now I have an ArchLinux ARM computer (acting as a NAS), a Windows computer and the Ubuntu box. I decided to put the USB printer on the (always up) ARM computer so that I could print both from Windows and Linux w/o having to power up the Ubuntu computer to print from Windows.
Bought the ARM licence for Turboprint2, installed it on the ARM machine. The ARM machine prints well (test page ok, printing a pdf from command line ok) ! Fine.
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Setup the Windows machine to print on the ARM server using http://armcomputername:631/printers/... The Windows computer prints well (printed a PDF). Fine.
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Setup the Ubuntu box (that has CUPS and TurboPrint2 on it) to print on the ARM server using ipp://armcomputername/printers/... Well, looks like it works, connects, ink levels update themselves correctly (and the printer connected on the ARM wakes up when the Ubuntu box connects to gather the ink levels), tried a test page...
From the Ubuntu side, the test page is supposed to print (very quickly) and the job supposed to be finished. On the ARM server side, the printer wakes up, moves a bit but prints nothing (not even a page feed). The Ubuntu and ARM error-logs are not changed when I print the test page (not a single line).
![Sad :(](./images/smilies/icon_sad.gif)
The print.log of turboprint hower points to a problem (see end of mail) that seems to indicate gs has a problem with the file syntax ?
However, if I print the same PDF file from the ARM computer directly, everything runs 100% fine...
Or a pipe cannot be created :
Code: Select all
could not open freepipes pipe /var/spool/turboprint/tom/fd
Code: Select all
drwxrwxr-x 3 root lp 4096 Jan 6 23:25 turboprint
![Sad :(](./images/smilies/icon_sad.gif)
Code: Select all
#######################################################
NEW PRINT JOB sam. janv. 7 11:56:23 CET 2017 (pstoturboprint 2.23-1)
job-id 25
user tom
title G4G8-hart.pdf
copies 1
options noCollate ColorModel=RGB Duplex=None InputSlot=AutoSelect job-uuid=urn:uuid:f934fc1a-3c83-3947-4ec6-64edb75db9d9 MediaType=Plainpaper_4 number-up=1 OutputBin=Front PageSize=A4 Resolution=601x600dpi zedoAdjustC=0 zedoAdjustK=0 zedoAdjustM=0 zedoAdjustY=0 zedoBorderlessE
xpand=2 zedoBrightC=0 zedoBrightM=0 zedoBrightness=0 zedoCMYKspace=0 zedoColorspace=0 zedoContrast=0 zedoDithering=ErrorDiffusion zedoDuplexAdjust=0 zedoDuplexadvanced=auto zedoGamut=0 zedoGreyToneA=0 zedoGreyToneB=0 zedoInklimitC=0 zedoInklimitK=0 zedoInklimitM=0 zedoInklimit
Y=0 zedoIntensity=0 zedoIntent=perception_0 zedoMirror=0 zedoRefLight=65 zedoSettingA=0 zedoSettingB=0 zedoSettingC=0 zedoShadows=0 zedoTAC=0 zedoUCR=0 job-originating-host-name=192.168.0.1 date-time-at-creation= date-time-at-processing= time-at-creation=1483786580 time-at-pro
cessing=1483786583
file /var/spool/cups/d00025-001
ppdfile /etc/cups/ppd/iP4800series-TurboPrint.ppd
queue iP4800series-TurboPrint
process info: uid=2(daemon) gid=7(lp) groupes=7(lp)
test directory access:
drwxr-xr-x 2 root root 20480 6 janv. 23:25 /usr/share/turboprint/printers
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6e4f000)
libm.so.6 => /usr/lib/libm.so.6 (0xb6dcf000)
libc.so.6 => /usr/lib/libc.so.6 (0xb6c90000)
/lib/ld-linux-armhf.so.3 (0xb6fad000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb6c64000)
/usr/bin/tpprint -v2 -l/var/log/turboprint/print.log '--username=tom' '--ppdfile=/etc/cups/ppd/iP4800series-TurboPrint.ppd' --psfeatures '---noCollate' '---ColorModel=RGB' '---Duplex=None' '---InputSlot=AutoSelect' '---job-uuid=urn:uuid:f934fc1a-3c83-3947-4ec6-64edb75db9d9' '
---MediaType=Plainpaper_4' '---number-up=1' '---OutputBin=Front' '---PageSize=A4' '---Resolution=601x600dpi' '---zedoAdjustC=0' '---zedoAdjustK=0' '---zedoAdjustM=0' '---zedoAdjustY=0' '---zedoBorderlessExpand=2' '---zedoBrightC=0' '---zedoBrightM=0' '---zedoBrightness=0' '---
zedoCMYKspace=0' '---zedoColorspace=0' '---zedoContrast=0' '---zedoDithering=ErrorDiffusion' '---zedoDuplexAdjust=0' '---zedoDuplexadvanced=auto' '---zedoGamut=0' '---zedoGreyToneA=0' '---zedoGreyToneB=0' '---zedoInklimitC=0' '---zedoInklimitK=0' '---zedoInklimitM=0' '---zedoI
nklimitY=0' '---zedoIntensity=0' '---zedoIntent=perception_0' '---zedoMirror=0' '---zedoRefLight=65' '---zedoSettingA=0' '---zedoSettingB=0' '---zedoSettingC=0' '---zedoShadows=0' '---zedoTAC=0' '---zedoUCR=0' '---job-originating-host-name=192.168.0.1' '---date-time-at-creatio
n=' '---date-time-at-processing=' '---time-at-creation=1483786580' '---time-at-processing=1483786583' /tmp/pstoturboprint16008.chunk /tmp/pstoturboprint16008.var
Searching PPD file and postscript header for options...
ERROR:
set_feature: no value given
page size A4 overwritten by ---media=A4
duplex overwritten by ---Duplex=None
check_flag_file: opening /var/spool/turboprint/tom/prv/iP4800series-TurboPrint
check_flag_file: opening /var/spool/turboprint/tom/sml/iP4800series-TurboPrint
----------- Start of var file -----------
PDFFILE=0
GSPPDFOUND=1
GSCOLORMODE=2
GSCOLORBITS=8
GSXDPI=600
GSYDPI=600
GSWIDTH=4960
GSHEIGHT=7015
TPWIDTH=8268
TPHEIGHT=11693
TPXOFFSET=0
TPYOFFSET=0
DUPLEXMEDIA=A4
DUPLEX=0
PREVIEW=0
NOPRINT=0
BORDERLESS=0
PVXDPI=87
PVYDPI=87
PVWIDTH=719
PVHEIGHT=1017
----------- End of var file -----------
tpstdin --parsedsc result=0
GSRESULT= GSVERSION= GSZEDODEVICE=0
GSCOMMANDLINE=gs -sDEVICE=ppmraw -r600x600 -g4960x7015 -dSAFER -dDisableFAPI=true -dNOPAUSE -dBATCH
TPCOMMANDLINE=/usr/bin/tpprint -a0 -e1 -s8268x11693 -p0x0 -v2 -l/var/log/turboprint/print.log '---noCollate' '---ColorModel=RGB' '---Duplex=None' '---InputSlot=AutoSelect' '---job-uuid=urn:uuid:f934fc1a-3c83-3947-4ec6-64edb75db9d9' '---MediaType=Plainpaper_4' '---number-up=1' '---OutputBin=Front' '---PageSize=A4' '---Resolution=601x600dpi' '---zedoAdjustC=0' '---zedoAdjustK=0' '---zedoAdjustM=0' '---zedoAdjustY=0' '---zedoBorderlessExpand=2' '---zedoBrightC=0' '---zedoBrightM=0' '---zedoBrightness=0' '---zedoCMYKspace=0' '---zedoColorspace=0' '---zedoContrast=0' '---zedoDithering=ErrorDiffusion' '---zedoDuplexAdjust=0' '---zedoDuplexadvanced=auto' '---zedoGamut=0' '---zedoGreyToneA=0' '---zedoGreyToneB=0' '---zedoInklimitC=0' '---zedoInklimitK=0' '---zedoInklimitM=0' '---zedoInklimitY=0' '---zedoIntensity=0' '---zedoIntent=perception_0' '---zedoMirror=0' '---zedoRefLight=65' '---zedoSettingA=0' '---zedoSettingB=0' '---zedoSettingC=0' '---zedoShadows=0' '---zedoTAC=0' '---zedoUCR=0' '---job-originating-host-name=192.168.0.1' '---date-time-at-creation=' '---date-time-at-processing=' '---time-at-creation=1483786580' '---time-at-processing=1483786583' '--ppdfile=/etc/cups/ppd/iP4800series-TurboPrint.ppd' --psheader=/tmp/pstoturboprint16008.chunk --jobid=25 '--username=tom' '--title=G4G8-hart.pdf'
COMPLETEPIPE=/usr/lib/turboprint/tpstdin --paste /var/spool/cups/d00025-001 | gs -sDEVICE=ppmraw -r600x600 -g4960x7015 -dSAFER -dDisableFAPI=true -dNOPAUSE -dBATCH -sOutputFile=/tmp/pstoturboprint16008.fifo - >> /var/log/turboprint/print.log
PREVIEWPIPE=
----------- Start of print job -----------
starting child process
tpprint 2.37-1 x32 (08-OCT-2015) - TurboPrint printer driver
Copyright (C)ZEDOnet GmbH, Irsee, Germany. All rights reserved.
07-Jan-2017 11:56
PPD file: /etc/cups/ppd/iP4800series-TurboPrint.ppd
header file: /tmp/pstoturboprint16008.chunk
Could not open freepipes pipe /var/spool/turboprint/tom/fd
Searching PPD file and postscript header for options...
GPL Ghostscript 9.20 (2016-09-26)
Copyright (C) 2016 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /syntaxerror in -file-
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1999 1 3 %oparray_pop 1998 1 3 %oparray_pop 1982 1 3 %oparray_pop 1868 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
Dictionary stack:
--dict:1209/1684(ro)(G)-- --dict:0/20(G)-- --dict:78/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
ERROR:
set_feature: no value given
page size A4 overwritten by ---media=A4
duplex overwritten by ---Duplex=None
interpret_ps: no output file specified
::set_info_paths: setting preview file to /var/spool/turboprint/tom/zmf/25.zmf
pixmap_class::open: end of file reached
print_page: end of input file
Report at end of pdrivecontrol_class::release_printer
Total memory usage=0
child process terminated
ERROR:
inifile::write: could not open output file
/var/spool/turboprint/tom/iP4800series-TurboPrint.job
------------ End of print job - result = 246 ------------
job cancelling procedure - TPPID=16030 GSPID=16032 PVPID=
------------ END of tpprint filter ------------
--
Printer: CANON PIXMA IP4800
ARM ArchLinux with CUPS 2.2.1-1 and turboprint-2.37-1.ARMhf
Ubuntu 16.10 with CUPS 2.2.0-2 and turboprint 2.25 (tried also 2.40 with the same behavior exactly)