[cups.general] Re: Test page: Change to print margin rulers

Johannes Meixner jsmeix at suse.de
Wed Apr 27 01:23:59 PDT 2005


On Apr 26 13:03 Michael Sweet wrote (shortened):
> 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.

If you know them, how would you change them in the printing system?

As far as I know margin settings in CUPS affect only plain text input
but neither PostScript input nor graphics images input, see

And in PPDs there is normally no margin setting.

> 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...)

I have the same problem for our test page for YaST.
Therefore I made the YaST printer testpage only based upon
the imageable area.

As far as I know at least on PostScript printers the bottom left
corner of the paper must have the PostScript coordinates (0,0) (*).

Therefore it would be possible to deterime the distance to the left
and bottom edges of the paper at least on a PostScript printer.

This seems to be the reason why some test pages show rulers only
for the left and bottom edges of the paper.

But as I don't know whether (*) is actually true for the various
printer models (in particular for non-PostScript printers),
I think wrong rulers are worse for the user than no rulers at all.

Kind Regards
Johannes Meixner
SUSE LINUX Products GmbH, Maxfeldstrasse 5      Mail: jsmeix at suse.de
90409 Nuernberg, Germany                    WWW: http://www.suse.de/

More information about the cups mailing list