Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
michaelrsweet opened this issue Feb 19, 2007 · 2 comments
Closed

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

michaelrsweet opened this issue Feb 19, 2007 · 2 comments

Comments

@michaelrsweet
Copy link
Collaborator

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.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in Subversion repository.

@michaelrsweet
Copy link
Collaborator Author

"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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant