[SOLVED] Solid black page!

Questions on certain printers and applications
Post Reply
dhave
Posts: 7
Joined: Sat Feb 13, 2010 6:36 pm

[SOLVED] Solid black page!

Post by dhave » Sun Feb 14, 2010 8:44 pm

When I try to print to my Canon MP560 using either Turboprint 2.12 or 2.13, I get a solid black page regardless of what I send to the printer. I'm wasting a lot of ink!

Please help.

My Linux distro is ArchLinux, running kernel 2.6.32. I can provide any other info

Thanks.
Last edited by dhave on Sat Feb 20, 2010 2:08 pm, edited 1 time in total.

zedonet
Site Admin
Posts: 1783
Joined: Fri Oct 06, 2006 8:02 am

Post by zedonet » Mon Feb 15, 2010 4:59 pm

Hello,

please post the log file /var/log/turboprint/print.log for the last print job (starting from the line "#### New print job").

dhave
Posts: 7
Joined: Sat Feb 13, 2010 6:36 pm

Post by dhave » Mon Feb 15, 2010 5:07 pm

Code: Select all


#######################################################
NEW PRINT JOB Sun Feb 14 15:11:03 EST 2010 (pstoturboprint 2.12-2)
job-id 408
user chas64
title Untitled2
copies 1
options InputSlot=AutoSelect PageSize=Letter job-uuid=urn:uuid:b77b5704-df3d-3266-512f-a41fc10f2a01 job-originating-host-name=localhost
file 
queue tp0
test directory access:
drwxr-xr-x 2 root root 20480 Feb 14 15:10 /usr/share/turboprint/printers
	linux-vdso.so.1 =>  (0x00007fff81293000)
	libm.so.6 => /lib/libm.so.6 (0x00007f6956205000)
	libc.so.6 => /lib/libc.so.6 (0x00007f6955eae000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f6956486000)
/usr/bin/tpprint -v2 -l/var/log/turboprint/print.log --username=chas64 --ppdfile=/etc/cups/ppd/tp0.ppd --psfeatures  '---InputSlot=AutoSelect' '---PageSize=Letter' '---job-uuid=urn:uuid:b77b5704-df3d-3266-512f-a41fc10f2a01' '---job-originating-host-name=localhost' /tmp/pstoturboprint4763.chunk /tmp/pstoturboprint4763.var
Searching PPD file and postscript header for options...
check_flag_file: opening /var/turboprint/chas64/prv/tp0
check_flag_file: opening /var/turboprint/chas64/sml/tp0
----------- Start of var file -----------
ZEDOPARM="$ZEDOPARM zedoCartridgeType=Color"
ZEDOPARM="$ZEDOPARM zedoInputSlot=AutoSelect"
ZEDOPARM="$ZEDOPARM zedoMediaType=Plainpaper_4"
ZEDOPARM="$ZEDOPARM zedoOutputBin=Front"
ZEDOPARM="$ZEDOPARM zedoPageSize=Letter"
ZEDOPARM="$ZEDOPARM zedoAdjustC=0"
ZEDOPARM="$ZEDOPARM zedoAdjustK=0"
ZEDOPARM="$ZEDOPARM zedoAdjustM=0"
ZEDOPARM="$ZEDOPARM zedoAdjustY=0"
ZEDOPARM="$ZEDOPARM zedoBorderlessExpand=2"
ZEDOPARM="$ZEDOPARM zedoBrightC=0"
ZEDOPARM="$ZEDOPARM zedoBrightM=0"
ZEDOPARM="$ZEDOPARM zedoBrightness=0"
ZEDOPARM="$ZEDOPARM zedoCMYKspace=0"
ZEDOPARM="$ZEDOPARM zedoColorModel=RGB"
ZEDOPARM="$ZEDOPARM zedoColorspace=0"
ZEDOPARM="$ZEDOPARM zedoContrast=0"
ZEDOPARM="$ZEDOPARM zedoDithering=ErrorDiffusion"
ZEDOPARM="$ZEDOPARM zedoDuplexAdjust=0"
ZEDOPARM="$ZEDOPARM zedoDuplexadvanced=auto"
ZEDOPARM="$ZEDOPARM zedoGamut=0"
ZEDOPARM="$ZEDOPARM zedoGreyToneA=0"
ZEDOPARM="$ZEDOPARM zedoGreyToneB=0"
ZEDOPARM="$ZEDOPARM zedoInklimitC=0"
ZEDOPARM="$ZEDOPARM zedoInklimitK=0"
ZEDOPARM="$ZEDOPARM zedoInklimitM=0"
ZEDOPARM="$ZEDOPARM zedoInklimitY=0"
ZEDOPARM="$ZEDOPARM zedoIntensity=0"
ZEDOPARM="$ZEDOPARM zedoIntent=perception_0"
ZEDOPARM="$ZEDOPARM zedoMirror=0"
ZEDOPARM="$ZEDOPARM zedoRefLight=65"
ZEDOPARM="$ZEDOPARM zedoSettingA=0"
ZEDOPARM="$ZEDOPARM zedoSettingB=0"
ZEDOPARM="$ZEDOPARM zedoSettingC=0"
ZEDOPARM="$ZEDOPARM zedoTAC=0"
ZEDOPARM="$ZEDOPARM zedoUCR=0"
ZEDOPARM="$ZEDOPARM zedoDuplex=None"
ZEDOPARM="$ZEDOPARM zedoPrinterDriver=Canon_PIXMA_MP560"
ZEDOPARM="$ZEDOPARM zedoResolution=600x600dpi"
ZEDOPARM="$ZEDOPARM zedoCartridgeType=Color"
ZEDOPARM="$ZEDOPARM zedoInputSlot=AutoSelect"
ZEDOPARM="$ZEDOPARM zedoMediaType=Plainpaper_4"
ZEDOPARM="$ZEDOPARM zedoOutputBin=Front"
ZEDOPARM="$ZEDOPARM zedoPageSize=Letter"
ZEDOPARM="$ZEDOPARM zedoAdjustC=0"
ZEDOPARM="$ZEDOPARM zedoAdjustK=0"
ZEDOPARM="$ZEDOPARM zedoAdjustM=0"
ZEDOPARM="$ZEDOPARM zedoAdjustY=0"
ZEDOPARM="$ZEDOPARM zedoBorderlessExpand=2"
ZEDOPARM="$ZEDOPARM zedoBrightC=0"
ZEDOPARM="$ZEDOPARM zedoBrightM=0"
ZEDOPARM="$ZEDOPARM zedoBrightness=0"
ZEDOPARM="$ZEDOPARM zedoCMYKspace=0"
ZEDOPARM="$ZEDOPARM zedoColorModel=RGB"
ZEDOPARM="$ZEDOPARM zedoColorspace=0"
ZEDOPARM="$ZEDOPARM zedoContrast=0"
ZEDOPARM="$ZEDOPARM zedoDithering=ErrorDiffusion"
ZEDOPARM="$ZEDOPARM zedoDuplexAdjust=0"
ZEDOPARM="$ZEDOPARM zedoDuplexadvanced=auto"
ZEDOPARM="$ZEDOPARM zedoGamut=0"
ZEDOPARM="$ZEDOPARM zedoGreyToneA=0"
ZEDOPARM="$ZEDOPARM zedoGreyToneB=0"
ZEDOPARM="$ZEDOPARM zedoInklimitC=0"
ZEDOPARM="$ZEDOPARM zedoInklimitK=0"
ZEDOPARM="$ZEDOPARM zedoInklimitM=0"
ZEDOPARM="$ZEDOPARM zedoInklimitY=0"
ZEDOPARM="$ZEDOPARM zedoIntensity=0"
ZEDOPARM="$ZEDOPARM zedoIntent=perception_0"
ZEDOPARM="$ZEDOPARM zedoMirror=0"
ZEDOPARM="$ZEDOPARM zedoRefLight=65"
ZEDOPARM="$ZEDOPARM zedoSettingA=0"
ZEDOPARM="$ZEDOPARM zedoSettingB=0"
ZEDOPARM="$ZEDOPARM zedoSettingC=0"
ZEDOPARM="$ZEDOPARM zedoTAC=0"
ZEDOPARM="$ZEDOPARM zedoUCR=0"
ZEDOPARM="$ZEDOPARM zedoDuplex=None"
ZEDOPARM="$ZEDOPARM zedoPrinterDriver=Canon_PIXMA_MP560"
ZEDOPARM="$ZEDOPARM zedoResolution=600x600dpi"
PDFFILE=0
GSPPDFOUND=1
GSCOLORMODE=2
GSXDPI=600
GSYDPI=600
GSWIDTH=5100
GSHEIGHT=6600
TPWIDTH=8500
TPHEIGHT=11000
TPXOFFSET=0
TPYOFFSET=0
DUPLEX=0
PREVIEW=0
NOPRINT=0
BORDERLESS=0
PVXDPI=93
PVYDPI=93
PVWIDTH=790
PVHEIGHT=1023
----------- End of var file -----------
tpstdin --parsedsc result=0
GSRESULT=GPL Ghostscript 8.71 (2010-02-10) GSVERSION=GPL GSMAJOR=8 GSMINOR=71 GSCUPSDEVICE=1
GSCOMMANDLINE=gs -sDEVICE=cups  -r600x600 -dSAFER -dNOPAUSE -dBATCH
TPCOMMANDLINE=/usr/bin/tpprint --cups -v2 -l/var/log/turboprint/print.log -y1 --ppdfile=/etc/cups/ppd/tp0.ppd --psheader=/etc/cups/ppd/tp0.ppd  '---InputSlot=AutoSelect' '---PageSize=Letter' '---job-uuid=urn:uuid:b77b5704-df3d-3266-512f-a41fc10f2a01' '---job-originating-host-name=localhost' ---zedoCartridgeType=Color ---zedoInputSlot=AutoSelect ---zedoMediaType=Plainpaper_4 ---zedoOutputBin=Front ---zedoPageSize=Letter ---zedoAdjustC=0 ---zedoAdjustK=0 ---zedoAdjustM=0 ---zedoAdjustY=0 ---zedoBorderlessExpand=2 ---zedoBrightC=0 ---zedoBrightM=0 ---zedoBrightness=0 ---zedoCMYKspace=0 ---zedoColorModel=RGB ---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 ---zedoTAC=0 ---zedoUCR=0 ---zedoDuplex=None ---zedoPrinterDriver=Canon_PIXMA_MP560 ---zedoResolution=600x600dpi ---zedoCartridgeType=Color ---zedoInputSlot=AutoSelect ---zedoMediaType=Plainpaper_4 ---zedoOutputBin=Front ---zedoPageSize=Letter ---zedoAdjustC=0 ---zedoAdjustK=0 ---zedoAdjustM=0 ---zedoAdjustY=0 ---zedoBorderlessExpand=2 ---zedoBrightC=0 ---zedoBrightM=0 ---zedoBrightness=0 ---zedoCMYKspace=0 ---zedoColorModel=RGB ---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 ---zedoTAC=0 ---zedoUCR=0 ---zedoDuplex=None ---zedoPrinterDriver=Canon_PIXMA_MP560 ---zedoResolution=600x600dpi --jobid=408 --username=chas64 '--title=Untitled2' 
COMPLETEPIPE=/usr/share/turboprint/lib/tpstdin --paste /tmp/pstoturboprint4763.chunk | gs -sDEVICE=cups  -r600x600 -dSAFER -dNOPAUSE -dBATCH  -sOutputFile=/tmp/pstoturboprint4763.fifo - >> /var/log/turboprint/print.log
PREVIEWPIPE=
----------- Start of print job -----------
starting child process
tpprint 2.13-2 (22-JAN-2010) - TurboPrint printer driver
Copyright (C)ZEDOnet GmbH, Irsee, Germany. All rights reserved.
Could not get a free pipe
Searching PPD file and postscript header for options...
interpret_ps: no output file specified
GPL Ghostscript 8.71 (2010-02-10)
Copyright (C) 2010 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
::set_info_paths: setting preview file to /var/turboprint/chas64/zmf/408.zmf
Filetype=CupsRasterbits_per_pixel=32 bytes_per_line=19200  width=4800 height=6409
RGB Mode
Printer=Canon_PIXMA_MP560; Module=Canon; Id=iP4600
Colormode=2; Cartridge=0=Color; Quality=1=High; Paper=0=Plain paper
Pagesize=1=US-Letter; Paper Input=0=Auto Select; Paper Output=0=Front
Duplex=0=Off; Copies=1; Mirror=0; Dithering=0; Flip=0
Page x=4800 y=6409; AppDpi x=600 y=600; DitDpi x=600 y=600; 
PrnDpi x=600 y=600; Overlay=0
Quiet mode=Off (0:1,0,0,0); Ink Drying Wait Time=3-default (1:2,3,0,0); Paper Gap - Prevent paper abras=Default (2:3,0,0,0); 
tpfile::get_patchsample_table: paper=HP Home&Office paper
patches; linmode=density
table::build_gamma_table: i=0 color=4 gamma=100 max=100 saturation=100
gamma 100 max 100 saturation 100 for channel 0
correction=32767
table::build_gamma_table: i=1 color=5 gamma=100 max=100 saturation=100
gamma 100 max 100 saturation 100 for channel 1
correction=33855
table::build_gamma_table: i=2 color=6 gamma=100 max=100 saturation=100
gamma 100 max 100 saturation 100 for channel 2
correction=34539
table::build_gamma_table: i=3 color=7 gamma=100 max=100 saturation=100
gamma 100 max 100 saturation 100 for channel 3
correction=34965
compare_lab_mode = 0
matchtable->type=2 adjust_old_profile=0 icc_profile=0
use_bright_cyan=0 use_bright_mangeta=0 use_bright_inks=100
grey: a=0 b=0; colorspace=APPLE; cmykspace=0; intent=perceptual; daylight = 6500K
multi_profile_switch=150 multi_c2_switch=100 multi_m2_switch=100
PATCH num=565 w=265 b=435 cmyk=-1 cmy=115
multichannel_bright_only=0
ucr_up=128; max_ink=638; ucr_add=0
max_bright_cyan=0; max_bright_magenta=0
max_cyan=255; max_magenta=255; max_yellow=255; max_black=255;
bright_cyan_fac=0  bright_magenta_fac=0 
black_fac=100 cyan_fac=52  magenta_fac=56 yellow_fac=35
printer white:l=933 a-006 b+000
printer white poly:l=933 a-006 b+000
printer k:l=223 a-010 b+028
printer cmy:l=423 a+017 b-022
printer black:l=223 a-010 b+028
printer black poly:l=211 a-001 b+032
printer darkest poly:l=211 a-001 b+032
k=0: l=93 a=0 b=0 => l=93 a=-1 b=0
k=2550: l=22 a=-1 b=2 => l=21 a=0 b=3
avg distance: l=0 a=0 b=0
black   l=00 a+00 b+00 => l=211 a-001 b+032: K99 C00 M00 Y00 c00 m00 k00 g00
black94 l=06 a+00 b+00 => l=270 a+008 b+009: K77 C64 M56 Y49 c00 m00 k00 g00
black87 l=17 a+00 b+00 => l=323 a+007 b-001: K55 C71 M59 Y50 c00 m00 k00 g00
black75 l=34 a+00 b+00 => l=432 a+000 b-019: K13 C60 M53 Y47 c00 m00 k00 g00
black62 l=48 a+00 b+00 => l=536 a+000 b-019: K00 C40 M35 Y36 c00 m00 k00 g00
black62 l=54 a+00 b+00 => l=583 a-001 b-019: K00 C33 M28 Y30 c00 m00 k00 g00
black50 l=60 a+00 b+00 => l=627 a-001 b-019: K00 C28 M23 Y25 c00 m00 k00 g00
black50 l=66 a+00 b+00 => l=670 a-002 b-019: K00 C23 M18 Y21 c00 m00 k00 g00
black37 l=71 a+00 b+00 => l=710 a-002 b-019: K00 C19 M14 Y17 c00 m00 k00 g00
black25 l=77 a+00 b+00 => l=750 a-002 b-019: K00 C16 M11 Y13 c00 m00 k00 g00
black25 l=82 a+00 b+00 => l=789 a-003 b-019: K00 C12 M08 Y10 c00 m00 k00 g00
black12 l=86 a+00 b+00 => l=827 a-004 b-019: K00 C09 M06 Y07 c00 m00 k00 g00
black12 l=91 a+00 b+00 => l=863 a-002 b-018: K00 C06 M03 Y04 c00 m00 k00 g00
black12 l=96 a+00 b+00 => l=897 a-002 b-012: K00 C03 M01 Y01 c00 m00 k00 g00
white   l=99 a+00 b+00 => l=932 a-007 b-003: K00 C00 M00 Y00 c00 m00 k00 g00
cyan    l=89 a-54 b-17 => l=777 a-108 b-213: K00 C30 M00 Y00 c00 m00 k00 g00
magenta l=64 a+87 b-52 => l=643 a+471 b-127: K00 C00 M55 Y00 c00 m00 k00 g00
yellow  l=97 a-14 b+86 => l=871 a-064 b+634: K00 C00 M00 Y66 c00 m00 k00 g00
red     l=58 a+77 b+70 => l=573 a+444 b+363: K00 C00 M91 Y99 c00 m00 k00 g00
green   l=86 a-84 b+72 => l=719 a-271 b+429: K00 C22 M00 Y70 c00 m00 k00 g00
blue    l=32 a+60 b-105 => l=437 a+109 b-393: K00 C91 M53 Y00 c00 m00 k00 g00
Time for <spline lines / polyfit> = 20
Time for <pass1/a> = 10
Time for <pass2/b> = 190
Time for <pass3> = 0
canon::setup_printer_info: number of channels: 4
canon_info.model_level=5
canon::setup_printer_info: multi raster mode
canon::setup_printer_info: bits per pixel: 2
canon::setup_printer_info: multiraster package size=16
canon::setup_printer_info: MP170/MX300/iP4500/iP4600/iP5300 mode
Canon init string: esc(c 30 0 2 esc(J 10 
 esc(t 80 80 1 esc(l 3e 0
 esc(p 281 0 1e0 7

Colormatch file=CLI521; Curves=600dpi_plain_ip4600; Table=plain_paper
Report at end of pdrive_class::begin_page
Total memory usage=1149842
PREVIEW y_offset=70 org_height=6600 src_scanline=70 preview_scanline=6
cups left=0 top=0 width=4800 height=6409 (pixels)
calculate_dim: print left=0 top=0 width=4800 height=6409
calculate_dim: section left=0 top=0 width=4800 height=6409
Print size in printer pixels, relative to printable area:
  left=0 top=0 width=4800 height=6409
job cancelling procedure - TPPID=4803 GSPID=4805 PVPID=
abort_handler: received signal 2 abort_count=1
Time for <Profile> = 350
Time for <Color> = 0
Time for <Dither> = 10
Time for <Print> = 0
Time for <Total> = 20
Line counters: skip=0; bitmap=0; others=32; 8bit=0; white=0; b/w=0
Color 0 sum: 458
Color 1 sum: 23
Color 2 sum: 21
Color 3 sum: 23
total sum: 525
ERROR:
cupsraster_class::decompress_scanline: fread failed
Report at end of pdrivecontrol_class::release_printer
Total memory usage=0
child process terminated
------------ END of tpprint filter ------------
Edit by zedonet: reduced to one printout

dhave
Posts: 7
Joined: Sat Feb 13, 2010 6:36 pm

Post by dhave » Mon Feb 15, 2010 5:34 pm

Sorry for the extremely long log post. I tried to tag it as code and thought that it would scroll, but that didn't seem to work.

dhave
Posts: 7
Joined: Sat Feb 13, 2010 6:36 pm

Post by dhave » Wed Feb 17, 2010 8:01 pm

Hello? Anybody there?

dhave
Posts: 7
Joined: Sat Feb 13, 2010 6:36 pm

Post by dhave » Wed Feb 17, 2010 11:10 pm

TurboPrint is not the culprit.

It looks like the fault is with the latest release of ghostscript. See this thread in the ArchLinux forum:

http://bbs.archlinux.org/viewtopic.php?id=91272

For me, a downgrade from ghostscript 8.71 to ghostscript 8.70 fixed the problem.

Apparently a bug has been filed, so presumably this problem will soon be fixed.

zedonet
Site Admin
Posts: 1783
Joined: Fri Oct 06, 2006 8:02 am

Post by zedonet » Thu Feb 18, 2010 9:12 am

Hello,

I did a lot of testing and researching yesterday and found the same explanation. The bug is already known so there should be a fix soon - it is already fixed in fedora12:

Bug 563313 - cups driver gives incorrect output with -r600x600
https://bugzilla.redhat.com/show_bug.cgi?id=563313

johnc10
Posts: 1
Joined: Fri Feb 19, 2010 6:42 pm

Fedora 12 fix doesn't work

Post by johnc10 » Fri Feb 19, 2010 6:50 pm

Using Fedora 12 and turboprint-2.13-2.i586.rpm. Update from ghostscript-8.70-2.fc12.i686.rpm to ghostscript-8.70-5.fc12.i686.rpm started the black print page problem. Update to ghostscript-8.71-1.fc12.i686.rpm initially fixed it but after reboot black page again.

Dropped back to ghostscript-8.70-2.fc12.i686.rpm and now works again.

My printer is a Canon MP780 and installed as local using tpu://Canon/MP780 .

Error in /var/log/messages :-

Feb 19 18:14:41 mail kernel: tpu[3334]: segfault at 64 ip 00d53bed sp b7809154 error 4 in libpthread-2.11.1.so[d4c000+16000]
Feb 19 18:14:41 mail abrtd: Directory 'ccpp-1266603281-3323' creation detected
Feb 19 18:14:41 mail abrtd: Lock file '/var/cache/abrt/ccpp-1266603281-3323.lock' is locked by process 3356
Feb 19 18:14:42 mail abrt[3356]: saved core dump of pid 3323 (/usr/lib/cups/backend/tpu) to /var/cache/abrt/ccpp-1266603281-3323/coredump (11063296 bytes)
Feb 19 18:14:42 mail abrtd: Executable '/usr/lib/cups/backend/tpu' doesn't belong to any package
Feb 19 18:14:42 mail abrtd: Corrupted or bad crash, deleting

Post Reply