Lines Matching refs:printer
350 // TODO: if the printer fills in the resolution in DPI, how
381 // Get the printer name
401 WinPrinter printer;
405 // The purpose of this is to fill the DEVMODE with privdata from printer driver.
406 // If we have a printer name and OpenPrinter sucessfully returns
407 // this replaces the PrintDlg function which creates the DEVMODE filled only with data from default printer.
410 // Open printer
411 if ( printer.Open( data.GetPrinterName() ) == TRUE )
418 printer, // Handle to our printer.
419 szPrinterName, // Name of the printer.
427 // Get the default DevMode for the printer
429 printer,
439 printer.Close();
575 // A printer driver may or may not also want DM_PAPERSIZE to
576 // be specified. Also, if the printer driver doesn't implement the DMPAPER_USER
668 if( printer )
675 printer,