Bewerken

Delen via


Installing a Pscript Minidriver

Important

The modern print platform is Windows' preferred means of communicating with printers. 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 Modern print platform and the Print support app design guide.

Installation of a Pscript minidriver requires a printer INF file that identifies the minidriver's files. If a printer model isn't supported by Microsoft's printer INF file, ntprint.inf, a vendor-supplied INF file is required. The INF file should reference printer INF file data sections and printer INF file install sections, which are defined in ntprint.inf. For a minidriver named abc100, the following INF file entries are typically needed:

[Manufacturer]
"ABC Printers"
 
[ABC Printers]
"ABC Printer 100 PS" = ABC100.PPD, ABC_Printer_100_PS
 
[ABC100.PPD]
CopyFiles=@ABC100.ppd       ; PPD file.
DataSection=PSCRIPT_DATA    ; PSCRIPT Data Section
DataFile=ABC100.ppd
Include=NTPRINT.INF         ; Include NTPRINT.INF.
Needs=PSCRIPT.OEM           ; Install PSCRIPT.

If you're providing a user interface plug-in or a rendering plug-in, you need to include the names of these components within your INF file. For information about installing customized code, see Installing Customized Driver Components.