[cups.general] Labelprinter and Postscript pagesizes

Thomas Mieslinger thomas.mieslinger at 1und1.de
Wed Sep 15 08:40:40 PDT 2010


Hi *,

up to now I thought that a postscript point is 1/72 inch. But today I 
wanted to print on a Zebra GX430t Labelprint. When I configured the 
pagesize in 1/72 inch point size the label came out very tiny: code example:

%!PS-Adobe-3.1 EPSF-3.0
%%Creator: Foo
%%Title: Test Label
%%Pages: 1
%%LanguageLevel: 2
%%BoundingBox: 0 0 108 36
%%CropBox: 0 0 108 36
%%DocumentPaperSizes: w108h36
%%EndComments

/setpagedevice where
{ pop 1 dict
   dup /PageSize [ 108 36 ] put
   setpagedevice
} if

Then I changed setpagedevice to

/setpagedevice where
{ pop 1 dict
   dup /PageSize [ 324 108 ] put
   setpagedevice
} if

and it worked.... Is this really the way to solve the problem?

Thomas

P.S.: I used cups 1.4.2





More information about the cups mailing list