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