[cups.general] Labelprinter and Postscript pagesizes
Michael Sweet
msweet at apple.com
Wed Sep 15 08:42:47 PDT 2010
On Sep 15, 2010, at 8:40 AM, Thomas Mieslinger wrote:
> 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:
108 x 36 points is 1.5 x 0.5 inches. Are you getting a label smaller than that?
>
> %!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
>
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
More information about the cups
mailing list