Macros inside of pagelabe - pstosp

Helge Blischke h.blischke at srz.de
Tue Feb 10 09:51:01 PST 2009


Michael Sweet wrote:
> franz.pfoertsch.brose wrote:
>>> franz.pfoertsch.brose wrote:
>>>> Are there any macros available for the pagelabel attribute.
>>>>
>>>> I want to print the username or jobinformatioon at the pagelabel
>>>>
>>>> Thanks
>>>> Franz
>>> That is possible with the "alternate pstops filter".
>>> See the links.
>>>
>>> Helge
>>>
>>> -- 
>>> Helge Blischke
>>> Softwareentwicklung
>>>
>>> H.Blischke at acm.org
>> I know, your software seems to be great (I haven't tested), but I want 
>> to know is it possible with cups out of the box!
> 
> No, the standard pstops filter does not support these things.
> 
>> In my opininon your pstops have to be merged into Mikes flavour of 
>> pstops.
> 
> Sorry, but this isn't going to happen since the alternate pstops does
> not work with some printers since it overrides the begin/end page
> procedures that are used by many HP and Xerox PPDs.
Well, the BeginPage and EndPage procedures are only used with layout related
opetion processing (like same-up) or extended page-label processing.
These procedures are executed as members of an array which contains the
BeginPage or EndPage procedure forced by the PPD or generated by the PS
producing application as the first or the last element, respectively.

This will work OK only if those procedures are "well behaved", which is,
to our experience, the case for all our HP and Xerox printers.
> 
> Moreover, pstops is only one path that needs to support this stuff -
> the various image and some PDF filters also bypass pstops...
> 


Helge

-- 
Helge Blischke
Softwareentwicklung

H.Blischke at acm.org




More information about the cups mailing list