## Printer Device Driver

[prev][next][parent][TOC]

### Set_Palette

Controls the PCL/RTL palette. This function performs the following:

1.Saves the HPGL2 Palette, if it is not already saved.
2.Sends the necessary configure image data command to the device. The configure image data command is based on the cBitCount of the bit map.
3.Sets the number of bits per index in the Configure Image data command.
4.Calls the Build_Palette to build the Palette.