Test page: Change to print margin rulers

Michael Sweet mike at easysw.com
Wed Apr 27 06:16:24 PDT 2005

Helge Blischke wrote:
> Michael Sweet wrote:
>>David Forrest wrote:
>>>I'd like to suggest that the test page print a couple tails or rulers
>>>that go off the printable area, like TeX's test page, so that with
>>>the test page we can actually test the printable margins and perhaps
>>>change them.
>>>Tex's test page tries for a 1' margin and prints a inch/mm ruler
>>>trailing off of each margin into the unprintable area, so you can
>>>read directly the  uncenteredness and the actual printable area.
>>There are several RFEs for improving the test page; one of them
>>includes adding a ruler, although at this point I'm not sure how
>>we will implement it (we can get the imageable area but not the
>>actual page size in a portable way...)
> ... but you could get the languagelevel value and, if it is >= 2,
> evaluate
> the contents of the dictionary returned by currentpagedevice.

Right, but even that won't work for some level 2+ devices if they
don't use the page device dictionary... :(

Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com

More information about the cups mailing list