Printer configuration commands

Important

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.

For more information, see the Print support app design guide.

The following table lists the printer configuration commands. All commands are specified using the command entry format.

Command Description Comments
CmdStartJob Command to initialize a print job. Optional. Command execution order> must be specified.
CmdStartDoc Command to initialize a document. Optional. Command execution order must be specified.
CmdStartPage Command to initialize a page and set the cursor position to (0,0) in cursor coordinates. Optional. Command execution order must be specified.
CmdEndPage Command to finish printing a page. Optional. Command execution order must be specified.
CmdEndDoc Command to finish printing a document. Optional. Command execution order must be specified.
CmdEndJob Command to complete a print job. Optional. Command execution order must be specified.
CmdCopies Command to specify the number of copies to print. Optional. Command execution order must be specified.
CmdSleepTimeOut Command to specify the number of minutes for the printer to wait before entering power-save mode. Optional. Command execution order must be specified.

For examples, see the sample GPD files.