Value of dmPaperSize in DEVMODE structure for custom papersize
-
Hi! I would like to know whether the value of dmPaperSize in DEVMODE structure for custom papersize varies with the printer used. How is it possible to know the dmPaperSize for custom paper size for a particular printer. Thanks
vcpgmr wrote:
is it possible to know the dmPaperSize for custom paper size for a particular printer
Hi, Did you try like this? pDevModeOutput->dmFormName = NewFormName; pDevModeOutput->dmPaperSize = DMPAPER_USER; pDevModeOutput->dmPaperLength = CustomLength; pDevModeOutput->dmPaperWidth = CustomWidth;
Krishnakumar
-
Hi! I would like to know whether the value of dmPaperSize in DEVMODE structure for custom papersize varies with the printer used. How is it possible to know the dmPaperSize for custom paper size for a particular printer. Thanks
-
vcpgmr wrote:
is it possible to know the dmPaperSize for custom paper size for a particular printer
Hi, Did you try like this? pDevModeOutput->dmFormName = NewFormName; pDevModeOutput->dmPaperSize = DMPAPER_USER; pDevModeOutput->dmPaperLength = CustomLength; pDevModeOutput->dmPaperWidth = CustomWidth;
Krishnakumar