pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/29301



The following reply was made to PR pkg/29301; it has been noted by GNATS.

From: Frank Kardel <Frank.Kardel%Acrys.COM@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/29301
Date: Tue, 31 May 2005 11:01:38 +0200

 After tripping over it again when printing on a HP4000
 the patch has been debugged and updated to this:
 
 *** /usr/pkgsrc/print/cupsomatic/work.i386/cupsomatic  Mon May 30 11:40:19 2005
 --- cupsomatic Mon May 30 15:13:16 2005
 ***************
 *** 123,142 ****
        if defined(%conf) and defined $conf{ps_accounting};
   my $accounting_prolog = $ps_accounting ? "[{
   %% Code for writing CUPS accounting tags on standard error
 - /cupsWrite {
 -     (%stderr) (w) file
 -     exch writestring
 - } bind def
   /cupsEndPage {
 !     (PAGE: ) cupsWrite
 !     pop % ignore reason code
 !     1 add 40 string cvs cupsWrite
 !     ( ) cupsWrite
 !     #copies 40 string cvs cupsWrite
 !     (\\n) cupsWrite
 !     true
   } bind def
 ! <</EndPage{cupsEndPage}>>setpagedevice
   } stopped cleartomark
   " : "";
   
 --- 123,138 ----
        if defined(%conf) and defined $conf{ps_accounting};
   my $accounting_prolog = $ps_accounting ? "[{
   %% Code for writing CUPS accounting tags on standard error
   /cupsEndPage {
 !     (PAGE: )              (%stderr) (w) file exch writestring
 !     exch
 !     1 add 40 string cvs   (%stderr) (w) file exch writestring
 !     ( )                   (%stderr) (w) file exch writestring
 !     #copies 40 string cvs (%stderr) (w) file exch writestring
 !     (\n)                  (%stderr) (w) file exch writestring
 !     2 ne
   } bind def
 ! <</EndPage /cupsEndPage load>>setpagedevice
   } stopped cleartomark
   " : "";
   
 
   
 
 



Home | Main Index | Thread Index | Old Index