Gentoo Archives: gentoo-dev

From: Pierre-Henri Jondot <Pierre-Henri.Jondot@×××××××.fr>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Avoiding blank pages with cups (was Printing: CUPS and HP LaserJet)
Date: Tue, 24 Sep 2002 11:29:37
Message-Id: 20020924205521.5d5ecbe3.Pierre-Henri.Jondot@wanadoo.fr
In Reply to: Re: [gentoo-dev] Printing: CUPS and HP LaserJet by Marko Mikulicic
1 On Sun, 01 Sep 2002 23:07:47 +0200
2 Marko Mikulicic <marko@××××.org> wrote:
3
4 > >>me Jeffrey D. Kowing's message regarding this matter in [gentoo-dev],
5 > >>where he says that getting a fresh *.ppd from sourceforge.net solves the
6 > >>problem. So I went to sourceforge and got a PPD file for my HP LasetJet
7 > >>4M, which is generated as HP-LaserJet_4M-ljet4-ppd.ppd, put it into my
8 > >>/usr/share/cups/model/ with all other PPD's, deleted my current printers
9 > >>and ran from the commandline (for JetDirect)
10 > >>
11 > >
12 > > did it too...
13 > >
14 > >
15 > >>And it worked like a charm. The only thing I wasn't able to understand
16 > >is>why it generated two empty sheets of paper before the job comes out,
17 > >but>hey - it's recyclable :))
18
19 > Marko
20 >
21
22 Just found this googleing :
23 http://www.linuxprinting.org/pipermail/foomatic-devel/2002q3/000874.html
24
25 A short quote of this text is :
26 ----------------------------------------------
27 if not, edit /usr/lib/cups/filter/cupsomatic replacing the line "my
28 ps_accounting = 1;" by "my ps_accounting = 0;". Now your file should
29 print without problems.
30 ----------------------------------------------
31 Did it and now, I do not waste any more paper with blank pages.
32
33 The article do propose a patch too if accounting is needed... Didn't try it
34 and don't know if it would be advisable to modify the cups ebuild to apply
35 this patch.
36
37 For my part, I'm happy with this very simple fix.
38
39 Hope this helps,
40 --
41 Pierre-Henri Jondot <Pierre-Henri.Jondot@×××××××.fr>
42 Page perso : http://perso.wanadoo.fr/phj