Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SET_SPREAD
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#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.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
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.
 
See Also
 
PDEVICE