Printing became VERY slow

Other questions
Post Reply
charlus
Posts: 2
Joined: Sun Aug 05, 2007 4:52 pm

Printing became VERY slow

Post by charlus »

Hi All,
i'm running Fedora Core 7 on an AMD Athlon 2400XP+, using an USB Canon IP4200 printer.
I've been using turboprint drivers for over a year without any problems.
I've recently upgraded to FC7 and suddenly, printing became very slow ( it just took 6 minutes to print the Turboprint test page.... :( )
I'm running cups version cups-1.2.12-1.fc7 and turboprint 1.96-2 ( same behaviour with 1.95.2 ) , I tried downgrading my kernel from 2.6.22.1 to 2.6.21.5 , same behaviour.
Here's my /etc/turboprint_cups.log for this job:
NEW PRINT JOB Sun Aug 5 18:33:25 CEST 2007 (pstoturboprint 1.96-1)
job-id 557
user charlus
title testpage-a4.ps
copies 1
options cpi=10 lpi=6 PageSize=A4 Resolution=600x600dpi zedoColorModel=RGB zedoDithering=ErrorDiffusion MediaType=Plainpaper_4 InputSlot=ButtonSelect Duplex=None zedoColorCorrection=1 zedoUserColor=0 zedoMirror=0 zedoDuplexAdjust=0 zedoBrightness=0 zedoContrast=0 zedoGamut=0 zedoIntensity=0 zedoGamma=180 zedoColorY=0 zedoColorC=0 zedoColorM=0 zedoColorK=0 job-uuid=urn:uuid:84460041-17d2-33ac-6438-82a45a0137b0
file
test directory access:
drwxr-xr-x 2 root root 20480 Aug 5 11:30 /usr/share/turboprint/printers
linux-gate.so.1 => (0xb7fd4000)
libm.so.6 => /lib/libm.so.6 (0x416c5000)
libc.so.6 => /lib/libc.so.6 (0x4156f000)
/lib/ld-linux.so.2 (0x41550000)
/usr/bin/tpprint -v2 -l/var/log/turboprint_cups.log --ppdfile=/etc/cups/ppd/Pixma.ppd --psfeatures /tmp/pstoturboprint3993.chunk /tmp/pstoturboprint3993.var
Searching PPD file and postscript header for options...
----------- Start of var file -----------
ZEDOPARM="$ZEDOPARM zedoPageRegion=A4"
ZEDOPARM="$ZEDOPARM zedoMediaType=Plainpaper_4"
ZEDOPARM="$ZEDOPARM zedoInputSlot=ButtonSelect"
ZEDOPARM="$ZEDOPARM zedoColorModel=RGB"
ZEDOPARM="$ZEDOPARM zedoDithering=ErrorDiffusion"
ZEDOPARM="$ZEDOPARM zedoMirror=0"
ZEDOPARM="$ZEDOPARM zedoDuplexAdjust=0"
ZEDOPARM="$ZEDOPARM zedoIntensity=0"
ZEDOPARM="$ZEDOPARM zedoBrightness=0"
ZEDOPARM="$ZEDOPARM zedoContrast=0"
ZEDOPARM="$ZEDOPARM zedoColorCorrection=1"
ZEDOPARM="$ZEDOPARM zedoUserColor=0"
ZEDOPARM="$ZEDOPARM zedoGamma=180"
ZEDOPARM="$ZEDOPARM zedoColorY=0"
ZEDOPARM="$ZEDOPARM zedoColorM=0"
ZEDOPARM="$ZEDOPARM zedoColorC=0"
ZEDOPARM="$ZEDOPARM zedoColorK=0"
ZEDOPARM="$ZEDOPARM zedoGamut=0"
ZEDOPARM="$ZEDOPARM zedoResolution=600x600dpi"
ZEDOPARM="$ZEDOPARM zedoDuplex=None"
ZEDOPARM="$ZEDOPARM zedoPrinterDriver=Canon_PIXMA_iP4200"
GSPPDFOUND=1
GSCOLORMODE=2
GSXDPI=600
GSYDPI=600
GSWIDTH=4960
GSHEIGHT=7015
TPWIDTH=8268
TPHEIGHT=11693
TPXOFFSET=0
TPYOFFSET=0
DUPLEX=0
PREVIEW=0
PVXDPI=10
PVYDPI=10
PVWIDTH=88
PVHEIGHT=125
----------- End of var file -----------
GSCOMMANDLINE=gs -sDEVICE=pcx24b -r600x600 -g4960x7015 -dSAFER -dNOPAUSE -dBATCH
TPCOMMANDLINE=/usr/bin/tpprint -a0 -e1 -s8268x11693 -p0x0 -v2 -l/var/log/turboprint_cups.log --ppdfile=/etc/cups/ppd/Pixma.ppd --psheader=/tmp/pstoturboprint3993.chunk --jobid=557 --username=charlus
COMPLETEPIPE=/usr/share/turboprint/lib/tpstdin --paste /tmp/pstoturboprint3993.chunk | gs -sDEVICE=pcx24b -r600x600 -g4960x7015 -dSAFER -dNOPAUSE -dBATCH -sOutputFile=/tmp/pstoturboprint3993.fifo - >> /var/log/turboprint_cups.log
----------- Start of print job -----------
ESP Ghostscript 815.04 (2007-03-14)
Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusSanL-Regu font from /usr/share/fonts/default/Type1/n019003l.pfb... 2482472 1158226 2421092 706904 1 done.
Using NimbusSansL-Regu font for NimbusSanL-Regu.
Loading NimbusMonL-Regu font from /usr/share/fonts/default/Type1/n022003l.pfb... 2639808 1319514 2421092 716355 1 done.
Loading NimbusRomNo9L-Regu font from /usr/share/fonts/default/Type1/n021003l.pfb... 2817240 1494929 2421092 788700 1 done.
Using NimbusRomanNo9L-Regu font for NimbusRomNo9L-Regu.
Loading NimbusSanL-Bold font from /usr/share/fonts/default/Type1/n019004l.pfb... 2934384 1613362 2421092 798205 1 done.
Using NimbusSansL-Bold font for NimbusSanL-Bold.
starting child process
tpprint 1.96-2 (27-JUL-2007) - TurboPrint printer driver
Copyright (C)ZEDOnet GmbH, Irsee, Germany. All rights reserved.
Searching PPD file and postscript header for options...
interpret_ps: no output file specified
PCX compression 1
Filetype=PCXbits_per_pixel=32 bytes_per_line=19840 width=4960 height=7015
RGB Mode
Printer=Canon_PIXMA_iP4200; Module=Canon; Id=iP4200
Colormode=2; Cartridge=0=Color; Quality=1=Medium; Paper=0=Plain paper
Pagesize=4=A4; Paper Input=0=Button Select; Paper Output=0=Front
Duplex=0=Off; Copies=1; Mirror=0; Dithering=0; Flip=0
Page x=4800 y=6825; AppDpi x=600 y=600; DitDpi x=600 y=600;
PrnDpi x=600 y=600; Overlay=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=90
gamma 100 max 100 saturation 90 for channel 0
correction=32767
table::build_gamma_table: i=1 color=5 gamma=100 max=100 saturation=90
gamma 100 max 100 saturation 90 for channel 1
correction=32078
table::build_gamma_table: i=2 color=6 gamma=100 max=100 saturation=90
gamma 100 max 100 saturation 90 for channel 2
correction=32807
table::build_gamma_table: i=3 color=7 gamma=100 max=100 saturation=90
gamma 100 max 100 saturation 90 for channel 3
correction=34193
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
ucr_up=128; max_ink=638; ucr_add=0
bright_cyan_fac=-1 bright_magenta_fac=-1
black_fac=100 cyan_fac=46 magenta_fac=49 yellow_fac=31
printer white:l=948 a-001 b+001
printer white poly:l=948 a-001 b+001
printer black:l=233 a+006 b+030
printer black poly:l=222 a+013 b+029
printer darkest poly:l=222 a+013 b+029
black l=00 a+00 b+00 => l=222 a+013 b+029: K99 C00 M00 Y00 c00 m00 k00 g00
black94 l=06 a+00 b+00 => l=281 a+002 b+008: K76 C64 M57 Y50 c00 m00 k00 g00
black87 l=17 a+00 b+00 => l=333 a-004 b-004: K55 C67 M64 Y50 c00 m00 k00 g00
black75 l=34 a+00 b+00 => l=442 a+002 b-019: K16 C51 M62 Y49 c00 m00 k00 g00
black62 l=48 a+00 b+00 => l=547 a+001 b-018: K00 C38 M47 Y41 c00 m00 k00 g00
black50 l=60 a+00 b+00 => l=639 a+000 b-019: K00 C27 M31 Y29 c00 m00 k00 g00
black37 l=71 a+00 b+00 => l=723 a+000 b-018: K00 C19 M20 Y19 c00 m00 k00 g00
black25 l=82 a+00 b+00 => l=802 a+000 b-018: K00 C12 M12 Y11 c00 m00 k00 g00
black12 l=91 a+00 b+00 => l=877 a+000 b-017: K00 C05 M05 Y04 c00 m00 k00 g00
white l=99 a+00 b+00 => l=947 a-002 b+000: K00 C00 M00 Y00 c00 m00 k00 g00
cyan l=89 a-54 b-17 => l=789 a-140 b-198: K00 C36 M00 Y00 c00 m00 k00 g00
magenta l=64 a+87 b-52 => l=627 a+465 b-211: K00 C00 M69 Y00 c00 m00 k00 g00
yellow l=97 a-14 b+86 => l=885 a-054 b+636: K00 C00 M00 Y77 c00 m00 k00 g00
red l=58 a+77 b+70 => l=569 a+403 b+318: K00 C00 M85 Y99 c00 m00 k00 g00
green l=86 a-84 b+72 => l=735 a-300 b+434: K00 C24 M00 Y81 c00 m00 k00 g00
blue l=32 a+60 b-105 => l=441 a+175 b-409: K00 C79 M74 Y00 c00 m00 k00 g00
canon::setup_printer_info: number of channels: 4
canon_info.model_level=3
canon::setup_printer_info: bits per pixel: 1
Canon init string: esc(c 30 0 2
esc(t 1 0 1 esc(l 33 0
esc(p 2ab 0 1e0 0

Colormatch file=PGI5CLI8; Curves=600dpi_quick_plain_ip4200; Table=plain_paper
Report at end of pdrive_class::begin_page
Total memory usage=2745168
calculate_dim: print left=0 top=0 width=4800 height=6825
calculate_dim: section left=80 top=70 width=4800 height=6825
Print size in printer pixels, relative to printable area:
left=0 top=0 width=4800 height=6825
Time for <Profile> = 1090
Time for <Color> = 780
Time for <Dither> = 1980
Time for <Print> = 60
Time for <Total> = 3540
Line counters: skip=0; bitmap=0; others=6825; 8bit=0; white=1404; b/w=1483
Color 0 sum: 20
Color 1 sum: 22
Color 3 sum: 30
total sum: 99
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
------------ End of print job - result = 0 ------------
job cancelling procedure - TPPID=4008 GSPID=4010
------------ END of tpprint filter ------------


Any help would be greatly appreciated since by printer is now totally useless !!!!
Thanks in advance
zedonet
Site Admin
Posts: 2158
Joined: Fri Oct 06, 2006 8:02 am

Post by zedonet »

Hi,

the slow printing is caused by the USB backend in FC7. An upgrade of CUPS to the current version helps:

http://forums.fedoraforum.org/showthread.php?t=162628
Post Reply