Your DeviceCapTechnology enumeration is wrong
/* Device Technologies */
#define DT_PLOTTER 0 /* Vector plotter */
#define DT_RASDISPLAY 1 /* Raster display */
#define DT_RASPRINTER 2 /* Raster printer */
#define DT_RASCAMERA 3 /* Raster camera */
#define DT_CHARSTREAM 4 /* Character-stream, PLP */
#define DT_METAFILE 5 /* Metafile, VDM */
#define DT_DISPFILE 6 /* Display-file */
manpreet
Best Answer
2 years ago
I have a control and I want to paint it different way in Form and when printting. Here the way I did it:
and in Render function
But when the PrintDocumentDialog show, the result of the test always is DT_RASDISPLAY not what I expected to be DT_RASPRINTER.
So what is the right way to do it?
Thank you