

These variables represent the actual paper size requested for the print job, as specified by an application. That is, the printer can print to the right edge of the paper.Ĭommand parameters (specified in * Command entries) can be calculated at print time if standard variable expressions are used, typically including the PhysPaperLength and PhysPaperWidth variables. If the paper width is less than the sum of the values specified for * MinLeftMargin and * MaxPrintableWidth, there is no right-hand margin. The top and bottom margins are independent of paper size. (This is typically not true for landscape mode printing, or for printers that are center-fed or right-hand-fed.) The cursor origin remains fixed, relative to the upper left-hand corner of the paper, for all customized paper sizes. The printer supports commands to explicitly select customized paper sizes (typically by moving the cursor origin). You can use these GPD entries to create customized paper size descriptions only for printers having the following characteristics: This entry must contain the following option attributes: To use this method, your GPD file's PaperSize feature must include an *Option entry with a CUSTOMSIZE argument. You can specify size ranges relative to the printer's largest paper size. Two methods are provided for describing acceptable size ranges for customized paper:

If a printer can handle customized paper sizes, vendors must use the printer's GPD file to specify the acceptable range of sizes. System administrators use the print folder to define customized paper sizes. Hence they are often called customized paper sizes. User-defined paper sizes can be specific to a single print server and are typically customized for a specific application. We recommend that you use Microsoft's IPP inbox class driver, along with Print Support Apps (PSA), to customize the print experience in Windows 10 and 11 for printer device development.įor more information, see the Print support app design guide.
