Displaying 2 results from an estimated 2 matches for "dmpaper_a4".
2001 Feb 16
2
Default Page Size
I've finally gotten wine (codeweavers) to work with my non-Windows
system. I can run Lotus Notes without many problems and can even print to
my postscript printer with WINEPS.DRV, but I need to remember to change
the page size from A4 to Letter each time I restart Notes (or any other
app). Is there a way to tell wine or WINEPS.DRV to default to Letter?
Thanks,
Rick(rick@rlknight.com)
2002 Oct 07
9
GetPrinter Level 2 does not get devmode
...printerInfo = (LPBYTE) new BYTE [dwNeeded];
b = GetPrinter(hPrinter,2,printerInfo,dwNeeded,&dwNeeded);
if(b)
{
PRINTER_INFO_2 * pInfo = (PRINTER_INFO_2 *)printerInfo;
if(pInfo->pDevMode)
{
if (DMPAPER_A4 == pInfo->pDevMode->dmPaperSize)
MessageBox("A4");
else
MessageBox("LT");
}
else
MessageBox("Devmode is NUll");
}
else...