[cups.general] How to enable job sheets (banner page) with dotmatrix printer?

Helge Blischke h.blischke at srz.de
Tue Jul 10 04:02:58 PDT 2007


Bernard Barton wrote:
> I'm finally able to print to my dot matrix printer connected to an
> HP JetDirect 170x print server.  This was accomplished by disabling
> the job sheets before and after to none:
> 
>    -o job-sheets-default=none,none
> 
> However, I need the job sheets so that users can identify their print
> jobs.  Is there a way I can enable the initial banner page, and still
> keep the printer working?
> 
> 
> -Thanks
> 

Look at the follwoing example for a banner that uses only
plain ASCII text:
---snip---

                     Job ID: {?job-id}
                   Job Name: {?job-name}
                Job Billing: {?job-billing}
                  From User: {?job-originating-user-name}
              From Computer: {?job-originating-host-name}    (127.0.0.1 = local)
               Job Priority: {?job-priority} out of 100
               Printer Name: {?printer-name}
                Printer URI: {?job-printer-uri}
              Creation Time: {time-at-creation}
           Printer Location: {?printer-location}
               Printer Info: {?printer-info}
               No. of Pages: {?job-media-sheets-completed}

            raw data of job: {?job-k-octets} kByte
              copies of job: {?copies}

   QUOTAS: Job-Quota-Period: {?job-quota-period}
                 Page Limit: {?job-page-limit}
             Raw Data Limit: {?job-k-limit}

Courtesy of Kurt Pfeifle
---snip---
Put this, modified to your needs, into the /usr/share/cups/banners directory under
a name you like and use that.

Helge

PS: This is as of CUPS 1.1, but I think it should work as well in 1.2

-- 
Helge Blischke
Softwareentwicklung

H.Blischke at acm.org




More information about the cups mailing list