SET_SPREAD

  #define SET_SPREAD 4106    

  short Control(lpDevice, SET_SPREAD, lpSpread, NULL)    
  LPPDEVICE lpDevice;    
  LPINT lpSpread;    

The SET_SPREAD escape sets the spread for spot-color separation. The spread is the amount by which all the nonwhite primitives are expanded to provide a slight overlap between primitives to compensate for imperfections in the reproduction process.

Spot-color separation is the process of separating an image into each distinct color used in the image. You then reproduce the image by overprinting each successive color in the image. When reproducing a spot-separated image, the printing equipment must be calibrated to align each page exactly on each pass. However, differences between passes in such factors as temperature and humidity often cause images to align imperfectly on subsequent passes. For this reason, lines in spot separations are often widened (spread) slightly to make up for problems in registering subsequent passes through the printer. This process is called trapping.

Parameters

lpDevice

Points to a PDEVICE structure specifying the destination device.

lpSpread

Points to a 16-bit variable specifying the amount, in device units, by which all the nonwhite primitives are to be expanded.

Return Value

The return value is the previous spread.

Comments

The default spread is zero.

The current spread applies to all the bordered primitives (whether or not the border is visible) and text.