Are there some sort of undocumented restrictions on the
dimensions I supply in the PageDimensions, PrintableArea,
and PrintableOrigin? I’m trying to create a GPD file for a
monochrome printer. Here’s a snippet from my GPD file. The
commented out values are the correct ones but when I use
them, that paper size is not available. If I use the
correct values for both paper sizes, printing is disabled.
The minidriver developer tool doesn’t see any errors with
any of these settings. The printer only supports vender
defined page sizes (no standard sizes).
If I use the correct values for the 8 X 10 paper size (as
in the snippet below), that paper size is not available
for selection BUT, the dimentions used during printing ARE
those given for the 8 X 10 paper size!
TIA
Tom
*MasterUnits: PAIR(508,508)
*% snip …
*Feature: PaperSize
{
*rcNameID: =PAPER_SIZE_DISPLAY
*DefaultOption: SIZE_8_X_10
*Option: SIZE_8_X_10
{
*Name: “8 x 10”
*% *rcNameID: 1
*% These are accepted but are incorrect
*% *PrintableArea: PAIR(528, 662)
*% *PrintableOrigin: PAIR(24, 29)
*% *PageDimensions: PAIR(576, 720)
*% These are correct but cause this PaperSize to NOT
*% be available
*PrintableArea: PAIR(3724, 4670)
*PrintableOrigin: PAIR(168, 204)
*PageDimensions: PAIR(4064, 5080)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: “<1B>1<1B>CB”
}
}
*Option: SIZE_10_X_12
{
*Name: “10 x 12”
*% *rcNameID: 2
*PrintableArea: PAIR(662, 816)
*PrintableOrigin: PAIR(29, 29)
*PageDimensions: PAIR(720, 864)
*% *PrintableArea: PAIR(4670, 5756)
*% *PrintableOrigin: PAIR(204, 168)
*% *PageDimensions: PAIR(5080, 6096)
*Command: CmdSelect
{
*Order: DOC_SETUP.4
*Cmd: “<1B>2<1B>CB”
}
}
}