Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CustomPageSize and LaserWriter8 compatible path



Hello,

When I use LaserWriter8 compatible path (call PMSessionSetDocumentFormatGeneration
with kPMDocumentFormatPICTPS), custom page size is incorrectly handled in PostScript
output on OS X(10.2.6).


For 40 inch(width) * 30 inch(height) custom page:

---- kPMDocumentFormatPICTPS on OS X (LaserWriter8 compatible path) ----
/languagelevel where{pop 2 dict dup/PageSize[2160 2880]put dup/ImagingBBox null put setpagedevice}if


---- kPMDocumentFormatPDF (or default state) on OS X ----
%%BeginFeature: *PageSize Custom
2880 2160 0 0 0

dup 2 mod 0 eq { 5 -2 roll exch }
{ 5 -2 roll } ifelse
3 -1 roll [3 0 1 2] exch get
(<<) cvx exec
/Orientation 3 -1 roll
/PageSize [ 7 -2 roll ]
/PageOffset [ 9 -2 roll ]
/ImagingBBox null
(>>) cvx exec setpagedevice
%%EndFeature


---- on OS 9 ----
%%BeginFeature: *CustomPageSize True
2880 2160 0 0 1
dup 2 mod 0 eq { 5 -2 roll exch }
{ 5 -2 roll } ifelse
3 -1 roll [3 0 1 2] exch get
(<<) cvx exec
/Orientation 3 -1 roll
/PageSize [ 7 -2 roll ]
/PageOffset [ 9 -2 roll ]
/ImagingBBox null
(>>) cvx exec setpagedevice
%%EndFeature


In LaserWriter8 compatible path, /PageSize [2160 2880] is outputted,
but /PageSize [2880 2160] must be outputted.


Is this a known problem?
Does anybody know how to setup custom page size correctly?

--
Ohgi Kazuhiro (email@hidden)
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.