Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Customsize GPD Driver for Printer questions..

Status
Not open for further replies.

dakotauk

Technical User
Oct 16, 2002
30
GB
Im currently in the process of editting a .GPD file to enable a custom print size which is not avaialable on the print options.

I have create a new form in print server properties and this is still being over written by the print driver.

I would like to know two (probably basic) by none the least questions:

Im looking to create a custom size of 11cm x 4cm

1. what are the units used in the below example of the current .gpd file. I have tried all different conversion and still have yet to recieve a logical answer.

*MinSize: PAIR(1275, 992)
*MaxSize: PAIR(3643, 7920)

2. why does the above state PAIR and why two values for both sizes??

FULL DRIVER

*Option: CUSTOMSIZE
{
*rcNameID: =USER_DEFINED_SIZE_DISPLAY
*MinSize: PAIR(1275, 992)
*MaxSize: PAIR(3643, 7920)
*MaxPrintableWidth: 3643
*MinLeftMargin: 43
*CenterPrintable?: FALSE
*TopMargin: 60
*BottomMargin: 60
*CustCursorOriginX: %d{43}
*CustCursorOriginY: %d{60}
*CustPrintableOriginX: %d{43}
*CustPrintableOriginY: %d{60}
*CustPrintableSizeX: %d{PhysPaperWidth-86}
*CustPrintableSizeY: %d{PhysPaperLength-120}
*Command: CmdSelect

Sorry if this easier than it appears to me, its completely thrown me..

Any help would be great

Best Regards

Gaz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top