Lines Matching refs:printer
220 wxPrinter printer(& printDialogData);
222 if (!printer.Print(this, &printout, true /*prompt*/))
225 wxMessageBox(_T("There was a problem printing.\nPerhaps your current printer is not set correctly?"), _T("Printing"), wxOK);
231 (*g_printData) = printer.GetPrintDialogData().GetPrintData();
243 wxMessageBox(_T("There was a problem previewing.\nPerhaps your current printer is not set correctly?"), _T("Previewing"), wxOK);
267 wxPostScriptPrinter printer(g_printData);
269 printer.Print(this, &printout, true/*prompt*/);
271 (*g_printData) = printer.GetPrintData();
556 // You might use THIS code to set the printer DC to ROUGHLY reflect
567 // Get the logical pixels per inch of screen and printer
586 // If printer pageWidth == current DC width, then this doesn't change. But w
594 // divide by the screen-to-printer scaling factor, because we need to