Searched defs:printer_handle (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/printing/backend/
H A Dprint_backend_win.cc219 ScopedPrinterHandle printer_handle; local
220 if (!printer_handle.OpenPrinter(base::UTF8ToWide(printer_name).c_str())) {
226 if (!info_5.Init(printer_handle))
235 CreateDevMode(printer_handle, NULL);
322 ScopedPrinterHandle printer_handle; local
323 if (printer_handle.OpenPrinter(printer_name_wide.c_str())) {
325 CreateDevMode(printer_handle, NULL));
361 ScopedPrinterHandle printer_handle; local
362 return printer_handle.OpenPrinter(base::UTF8ToWide(printer_name).c_str());
/external/chromium_org/cloud_print/virtual_driver/win/port_monitor/
H A Dport_monitor.cc54 PortData() : job_id(0), printer_handle(NULL), file(0) {
60 if (printer_handle) {
61 ClosePrinter(printer_handle);
62 printer_handle = NULL;
70 HANDLE printer_handle; member in struct:cloud_print::__anon6149::PortData
136 bool GetJobTitle(HANDLE printer_handle, argument
139 DCHECK(printer_handle != NULL);
142 GetJob(printer_handle, job_id, 1, NULL, 0, &bytes_needed);
148 if (!GetJob(printer_handle,
413 if (!OpenPrinter(printer_name, &(port_data->printer_handle), NUL
[all...]
/external/chromium_org/chrome/service/cloud_print/
H A Dprint_system_win.cc771 printing::ScopedPrinterHandle printer_handle; local
773 printer_handle.OpenPrinter(printer_name_wide.c_str());
774 DCHECK(printer_handle.IsValid());
776 if (printer_handle.IsValid()) {
778 GetJob(printer_handle, job_id, 1, NULL, 0, &bytes_needed);
784 if (GetJob(printer_handle, job_id, 1, job_info_buffer.get(), bytes_needed,

Completed in 92 milliseconds