Gentoo Archives: gentoo-user

From: Michael George <george@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] bypassing CUPS - howto
Date: Sun, 09 May 2010 03:10:53
Message-Id: 20100509031004.GA19422@brego.pewamo.office
In Reply to: Re: [gentoo-user] bypassing CUPS - howto by Dale
1 On Thu, Apr 29, 2010 at 08:47:49AM -0500, Dale wrote:
2 > Helmut Jarausch wrote:
3 > > On 29 Apr, Stroller wrote:
4 > >
5 > >> On 28 Apr 2010, at 15:27, Helmut Jarausch wrote:
6 > >>
7 > >>>> ...
8 > >>>> Why do you need to bypass CUPS?
9 > >>>>
10 > >>> Thanks, it's just for debugging.
11 > >>>
12 > >>> Printing some pdf files with acroread makes some printers
13 > >>> hang here.
14 > >>> To locate the problem source, I'd like to check if the printer
15 > >>> works if it gets the postscript or pdf-file (there printer is assumed
16 > >>> to accept postscript level 3).
17 > >>>
18 > >> Have you tried using `lpr` at the command line?
19 > >>
20 > >> I *believe* something like `lpr /path/to/file.pdf` should work.
21 > >>
22 > >>
23 > > Thanks, but lpr is just a front-end for cups.
24 > >
25 > >
26 >
27 > I tried that here and got a error. It may be a bad setting on my end
28 > but it didn't like the idea.
29 >
30 > root@smoker ~ # lpr /data/pdf/LivingWill.pdf
31 > lpr: Unsupported format 'application/pdf'!
32 > root@smoker ~ #
33
34 I started noticing this today too. My Macs aren't able to successfully
35 print, I just get an error in the error log about application/pdf being
36 an unsupported format.
37
38 If I take a PDF generated on the Mac and move it to my Linux system and
39 run "lpr <filename>.pdf" I get:
40 lpr: Unsupported format 'application/pdf'!
41
42 If I use "pdftops" to generate a PS file, "lpr <filename>.ps" works
43 fine. If I open the PDF in xpdf and print, telling it to use the
44 command "lpr," that also works fine.
45
46 I upgraded from cups 1.3.10 to 1.3.11 today (cannot go back). I've
47 rebuilt all the foomatic packages I had installed, gutenprint, cups-pdf,
48 ghostscript-gpl, but still it doesn't work...
49
50 --
51 -M
52
53 There are 10 kinds of people in this world:
54 Those who can count in binary and those who cannot.

Replies

Subject Author
Re: [gentoo-user] bypassing CUPS - howto Michael George <george@××××××××××.com>