Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

CUPS test page broken on large paper sizes (A0) #2252

Closed

Description

@michaelrsweet

Version: 1.2-current
CUPS.org User: till.kamppeter

See

https://launchpad.net/ubuntu/+source/cupsys/+bug/85339

On large paper sizes the numbers of the cm markings on the borders of the page get to big and print over each other (see photo attached to the Ubuntu bug report).

It seems that the size of the numbers is a certain percentage of the papaer size. There should be a certain ceiling/maximum size, so that the numbers to never print over each other on the cm scale.

Activity

  1. michaelrsweet commented on Feb 20, 2007

    @michaelrsweet
    ContributorAuthor

    CUPS.org User: mike

    Fixed in Subversion repository.

  2. michaelrsweet commented on Feb 20, 2007

    @michaelrsweet
    ContributorAuthor

    "str2252.patch":

    Index: testprint.ps

    --- testprint.ps (revision 6294)
    +++ testprint.ps (working copy)
    @@ -6,7 +6,7 @@
    %%DocumentSuppliedResources: procset testprint/1.2
    %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman
    %%Creator: Michael Sweet, Easy Software Products
    -%%CreationDate: D:20060114093000+0500
    +%%CreationDate: D:20070220113000+0500
    %%Title: Test Page
    %%EndComments
    %%BeginProlog
    @@ -14,7 +14,7 @@
    %
    % PostScript test page for the Common UNIX Printing System ("CUPS").
    %
    -% Copyright 1993-2006 Easy Software Products
    +% Copyright 1993-2007 Easy Software Products
    %
    % These coded instructions, statements, and computer programs are the
    % property of Easy Software Products and are protected by Federal
    @@ -198,7 +198,8 @@
    /CENTIMETER 72 2.54 div def
    /MILLIMETER 72 25.4 div def

    • smallFont setfont % Font
    • /Times-Roman findfont % Font for ruler numbers
    • 11 scalefont setfont % 11 points

    gsave % Left side inches
    pageLeft 72 mul 0 translate % Offset left edge

  3. added this to the Stable milestone on Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions