Bewerken

Delen via


Installing ICC Profiles

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.

To install ICC profiles for a printer, the files must be listed in a printer INF file.

Following is an example of an .inf file that causes two ICC profile files to be installed. Note that profile files are written to the color directory, which has a printer dirid value of 66003.

[Version]
...
Class=Printer
ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
...

[My Company.NTamd64]
"My printer model" = MYDRIVER,My_Printer_Model

[MYDRIVER]
DriverFile=DRVR.DRV
DataFile=DRVR.DRV
CopyFiles=@DRVR.DRV,MY_COLOR_PROFILES
DataSection=MYDATA

[MYDATA]
HelpFile=DRVR.HLP
DefaultDataType=EMF

[MY_COLOR_PROFILES]
profile1.icm
profile2.icm

[DestinationDirs]
DefaultDestDir=11
MY_COLOR_PROFILES =66003