Gentoo Archives: gentoo-user

From: Meino Christian Cramer <Meino.Cramer@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Cups trouble
Date: Sun, 09 Apr 2006 09:33:13
Message-Id: 20060409.112814.75194122.Meino.Cramer@gmx.de
1 Hi,
2
3 Hoston, we have a problem...
4
5 I try to get "Turboprint" running for my Canon i865 printer.
6
7 On my old system, this works in combination with cups without
8 much hassle.
9
10 On my current system (Gentoo...) it does not.
11
12 As I understand the whole thing, Turboprint installs a filter called
13 tpprint, which cups uses.
14
15 Turboprint writes a log file:
16
17
18 #######################################################
19 New print job Sun Apr 9 11:11:41 CEST 2006 (pstoturboprint 1.92)
20 job-id 27
21 user mccramer
22 title growisofs.overwrite.txt
23 copies 1
24 options cpi=10 lpi=6 turboprint=bt1x0u0
25 file
26 /usr/bin/tpprint -v2 -l/var/log/turboprint_cups.log --ppdfile=/etc/cups/ppd/tp0.ppd --psfeatures /tmp/pstoturboprint29633.chunk /tmp/pstoturboprint29633.var
27 Searching PPD file and postscript header for options...
28 ----------- Start of var file -----------
29 ZEDOPARM="$ZEDOPARM zedoInputSlot=AutomaticFeed"
30 ZEDOPARM="$ZEDOPARM zedoMediaType=Plainpaper_4"
31 ZEDOPARM="$ZEDOPARM zedoPageRegion=A4"
32 ZEDOPARM="$ZEDOPARM zedoColorModel=RGB"
33 ZEDOPARM="$ZEDOPARM zedoDithering=ErrorDiffusion"
34 ZEDOPARM="$ZEDOPARM zedoResolution=600x600dpi"
35 ZEDOPARM="$ZEDOPARM zedoDuplex=None"
36 ZEDOPARM="$ZEDOPARM zedoPrinterDriver=Canon_i865"
37 GSPPDFOUND=1
38 GSCOLORMODE=2
39 GSXDPI=600
40 GSYDPI=600
41 GSWIDTH=4960
42 GSHEIGHT=7015
43 TPWIDTH=8268
44 TPHEIGHT=11693
45 ----------- End of var file -----------
46 GSRESULT=ESP Ghostscript 7.07.1 (2003-07-12) GSVERSION=ESP GSMAJOR=7 GSMINOR=7
47 GSCOMMANDLINE=gs -sDEVICE=cups -r600x600 -g4960x7015 -dNOMEDIAATTRS -dSAFER -dNOPAUSE -dBATCH
48 TPCOMMANDLINE=/usr/bin/tpprint --cups -v2 -l/var/log/turboprint_cups.log --ppdfile=/etc/cups/ppd/tp0.ppd --psheader=/etc/cups/ppd/tp0.ppd ---cpi=10 ---lpi=6 -bt1x0u0 ---zedoInputSlot=AutomaticFeed ---zedoMediaType=Plainpaper_4 ---zedoPageRegion=A4 ---zedoColorModel=RGB ---zedoDithering=ErrorDiffusion ---zedoResolution=600x600dpi ---zedoDuplex=None ---zedoPrinterDriver=Canon_i865
49 COMPLETEPIPE=/usr/share/turboprint/lib/tpstdin --paste /tmp/pstoturboprint29633.chunk | gs -sDEVICE=cups -r600x600 -g4960x7015 -dNOMEDIAATTRS -dSAFER -dNOPAUSE -dBATCH -sOutputFile=/tmp/pstoturboprint29633.fifo - >> /var/log/turboprint_cups.log
50 ----------- Start of print job -----------
51 ESP Ghostscript 7.07 (2003-07-12)
52 Copyright 2003 artofcode LLC and Easy Software Products, all rights reserved.
53 This software comes with NO WARRANTY: see the file PUBLIC for details.
54 Unknown device: cups
55 ------------ End of print job ------------
56
57
58 ...as far as I could interpret that output, everything runs fine
59 until cups is called. And cups does not find the "cups device" --
60 whatever this means.
61
62 In the Turboprint configuration I said "/dev/usb/lp0" is the correct
63 device and the configuration gui is able to access the printer
64 (getting the ink usage info from the printer). So, the device could
65 not be THAT wrong.
66
67 Since the problem exists even when trying to print as root, I think
68 it is no permission problem.
69
70 I compared the user/group settings of different directories of the
71 old and new system and found nothing being obviously wrong.
72
73
74
75 Lost ?
76
77 If anyone coudl help me to find the bug.... ? :)
78
79 Thanks a lot in advance for any helpful reply !
80
81 Have a nice sunday!
82 mcc
83
84
85 --
86 gentoo-user@g.o mailing list