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.
EPSPRINTING
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define EPSPRINTING 33 
short Control(lpDevice, EPSPRINTING, lpBool, NULL)
LPPDEVICE lpDevice;
LPBOOL lpBool;
 
The EPSPRINTING escape only controls the downloading of the control portions
of the PostScript prolog. It sets up the portrait versus landscape
orientation and leaves the printer in the default 72 dpi user space.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
 
lpDevice   Points to a PDEVICE structure specifying the destination device.
 
lpBool     Points to a 16-bit variable specifying whether to enable or
           disable encapsulated PostScript (EPS) printing. If it is TRUE,
           EPS printing is enabled. If FALSE, EPS printing is disabled.
 
Return Value
 
The return value is positive, if successful. Otherwise, it is zero if the
escape is not implemented, and negative if an error occurs.
 
Comments
 
This escape is used to suppress the output of the Windows PostScript header
control section, which is about 10K. If it is used, no GDI calls are
allowed.
 
See Also
 
PDEVICE