Lines Matching refs:printer
27 // This test is automatically disabled if no printer named "UnitTest Printer" is
33 // It is assumed this printer is a HP Color LaserJet 4550 PCL or 4700.
34 HDC hdc = CreateDC(L"WINSPOOL", L"UnitTest Printer", NULL, NULL);
75 // Disabled if no "UnitTest printer" exist. Useful to reproduce bug 1186598.
83 settings.set_device_name(L"UnitTest Printer");
126 // Disabled if no "UnitTest printer" exists.
129 CreateDC(L"WINSPOOL", L"UnitTest Printer", NULL, NULL));
161 // Since presumably the printer is not real, let us just delete the job from
163 HANDLE printer = NULL;
164 if (::OpenPrinter(L"UnitTest Printer", &printer, NULL)) {
165 ::SetJob(printer, job_id, 0, NULL, JOB_CONTROL_DELETE);
166 ClosePrinter(printer);