Searched refs:printer (Results 1 - 25 of 40) sorted by relevance

12

/haiku/src/kits/print/
H A DPrinterRoster.cpp48 BPrinter printer; local
49 while (GetNextPrinter(&printer) == B_OK)
58 BPrinterRoster::GetNextPrinter(BPrinter* printer) argument
60 if (!printer)
72 printer->SetTo(entry);
73 next = !printer->IsValid();
75 printer->Unset();
83 BPrinterRoster::GetDefaultPrinter(BPrinter* printer) argument
85 if (!printer)
98 printer
108 FindPrinter(const BString& name, BPrinter* printer) argument
[all...]
H A DPrintTransportAddOn.cpp14 BDirectory printer(spool_path);
16 if (printer.InitCheck() == B_OK) {
17 gTransport = instantiate_transport(&printer, msg);
H A DPrinter.cpp26 #define PSRV_PRINTER_MIMETYPE "application/x-vnd.Be.printer"
29 // printer attributes
57 BPrinter::BPrinter(const BPrinter& printer) argument
59 *this = printer;
296 BPrinter::operator=(const BPrinter& printer) argument
298 if (this != &printer) {
300 fPrinterEntryRef = printer.fPrinterEntryRef;
301 if (printer.fListener)
302 StartWatching(*printer.fListener);
309 BPrinter::operator==(const BPrinter& printer) cons
[all...]
H A DJobSetupPanel.cpp34 BJobSetupPanel::BJobSetupPanel(BPrinter* printer) argument
36 , fPrinter(printer)
46 BJobSetupPanel::BJobSetupPanel(BPrinter* printer, uint32 flags) argument
48 , fPrinter(printer)
101 // TODO: check if we did work on an real printer
102 // TODO: set all selected values on printer object
120 BJobSetupPanel::SetPrinter(BPrinter* printer, bool keepSettings) argument
254 BPrinter printer; local
255 while (fPrinterRoster->GetNextPrinter(&printer) == B_OK) {
256 BMenuItem* item = new BMenuItem(printer
[all...]
/haiku/src/add-ons/print/transports/hp_jetdirect/
H A Dprint_transport.cpp53 BDirectory printer(printer_name);
55 if (printer.InitCheck() == B_OK) {
56 HPJetDirectPort * transport = new HPJetDirectPort(&printer, msg);
H A DHPJetDirectTransport.cpp24 HPJetDirectPort::HPJetDirectPort(BDirectory* printer, BMessage *msg) argument
32 if (printer->ReadAttrString("transport_address", &address) < 0
34 SetupWindow *setup = new SetupWindow(printer);
39 if (printer->ReadAttrString("transport_address", &address) < 0)
66 printf("Connected to HP JetDirect printer port at %s:%d\n",
71 "Can't connect to HP JetDirect printer port!", "OK");
H A DHPJetDirectTransport.h20 HPJetDirectPort(BDirectory* printer, BMessage* msg);
/haiku/src/servers/print/
H A DPrintServerApp.cpp73 name of the default printer from storage, caches the icons for
74 a selected printer.
113 // Cache icons for selected printer
145 Printer* printer; local
146 while ((printer = Printer::At(0)) != NULL) {
147 printer->AbortPrintThread();
148 UnregisterPrinter(printer);
182 PrintServerApp::RegisterPrinter(BDirectory* printer) argument
186 if (printer->ReadAttrString(PSRV_PRINTER_ATTR_TRANSPORT, &transport) == B_OK
187 && printer
213 UnregisterPrinter(Printer* printer) argument
222 NotifyPrinterDeletion(Printer* printer) argument
246 Printer* printer = Printer::Find(node); local
370 BDirectory printer; local
491 Printer* printer = Printer::At(i); local
[all...]
H A DPrintServerApp.R5.cpp29 Printer* printer; member in struct:AsyncThreadParams
34 , printer(p)
38 if (printer) printer->Acquire();
42 if (printer) printer->Release();
58 Printer* printer = p->printer; local
66 if (printer) {
71 ConfigWindow* w = new ConfigWindow(kind, printer, ms
[all...]
H A DSettings.cpp15 AppSettings::AppSettings(const char* mimetype, const char* printer) argument
18 if (printer != NULL)
19 fPrinter = printer;
25 PrinterSettings::PrinterSettings(const char* printer, argument
27 : fPrinter(printer)
92 Settings::FindPrinterSettings(const char* printer) argument
95 if (strcmp(PrinterSettingsAt(i)->GetPrinter(), printer) == 0)
112 // store printer settings
134 BString printer; local
136 message.FindString("p", i, &printer )
[all...]
H A DSettings.h19 BString fPrinter; // printer used by application (default == empty string)
22 AppSettings(const char* mimeType, const char* printer = NULL);
27 void SetPrinter(const char* printer) { fPrinter = printer; } argument
39 PrinterSettings(const char* printer, BMessage* pageSettings = NULL, BMessage* jobSettings = NULL);
75 PrinterSettings* FindPrinterSettings(const char* printer);
/haiku/src/add-ons/print/transports/ipp/
H A DIpp.cpp98 IPPPrinter *printer = fPrinters.Get(uri); local
99 if (!printer) {
100 printer = new IPPPrinter(uri, type);
101 fPrinters.Put(printer->fURI.String(), printer);
104 printer->fState=state;
110 printer->fLocation = str;
112 printer->fInfo = str;
114 printer->fMakeModel = str;
117 printer
[all...]
/haiku/headers/private/print/
H A DPrinterRoster.h32 status_t GetNextPrinter(BPrinter* printer);
33 status_t GetDefaultPrinter(BPrinter* printer);
34 status_t FindPrinter(const BString& name, BPrinter* printer);
H A DPrinter.h29 BPrinter(const BPrinter& printer);
59 BPrinter& operator=(const BPrinter& printer);
60 bool operator==(const BPrinter& printer) const;
61 bool operator!=(const BPrinter& printer) const;
H A DPrintTransportAddOn.h48 extern "C" BDataIO* instantiate_transport(BDirectory* printer, BMessage* msg);
H A DJobSetupPanel.h50 BJobSetupPanel(BPrinter* printer);
51 BJobSetupPanel(BPrinter* printer, uint32 flags);
62 void SetPrinter(BPrinter* printer, bool keepSettings);
/haiku/src/preferences/printers/
H A DTestPageView.h18 TestPageView(BRect rect, PrinterItem* printer);
H A DPrintersWindow.cpp45 TestPageWindow(BPrintJob* job, PrinterItem* printer);
55 TestPageWindow::TestPageWindow(BPrintJob* job, PrinterItem* printer) argument
60 fTestPage = new TestPageView(job->PrintableRect(), printer);
146 B_TRANSLATE("Print jobs: No printer selected"));
178 PrinterItem* printer = fPrinterListView->SelectedItem(); local
179 if (printer && printer == fPrinterListView->ActivePrinter())
182 if (printer && GetPrinterServerMessenger(msgr) == B_OK) {
185 setActivePrinter.AddString("data", printer->Name());
214 // active printer coul
237 PrintTestPage(PrinterItem* printer) argument
409 _IsSelected(PrinterItem* printer) argument
[all...]
H A DPrintersWindow.h33 void PrintTestPage(PrinterItem* printer);
42 bool _IsSelected(PrinterItem* printer);
/haiku/src/add-ons/print/transports/parallel_port/
H A DParallelTransport.cpp42 ParallelTransport(BDirectory* printer, BMessage* msg);
55 ParallelTransport::ParallelTransport(BDirectory* printer, BMessage* msg) argument
62 unsigned int size = printer->ReadAttr("transport_address", B_STRING_TYPE, 0, address, sizeof(address));
102 BDataIO* instantiate_transport(BDirectory* printer, BMessage* msg) argument
104 ParallelTransport* transport = new ParallelTransport(printer, msg);
/haiku/src/add-ons/print/drivers/gutenprint/
H A DGPBinding.cpp22 // printer manufacturer
26 // printer model
55 const stp_printer_t* printer = stp_get_printer_by_index(i); local
56 string manufacturer = stp_printer_get_manufacturer(printer);
110 const stp_printer_t* printer = stp_get_printer_by_index(i); local
111 if (strcmp(manufacturer, stp_printer_get_manufacturer(printer)) != 0)
114 const char* displayName = stp_printer_get_long_name(printer);
115 const char* driver = stp_printer_get_driver(printer);
146 const stp_printer_t* printer = stp_get_printer_by_driver(driver); local
147 if (printer
[all...]
/haiku/src/add-ons/print/transports/serial_port/
H A DSerialTransport.cpp23 SerialTransport(BDirectory* printer, BMessage* msg);
37 SerialTransport::SerialTransport(BDirectory* printer, BMessage* msg) argument
44 unsigned int size = printer->ReadAttr("transport_address", B_STRING_TYPE, 0,
61 size = printer->ReadAttr("transport_baudrate", B_INT32_TYPE, 0,
113 instantiate_transport(BDirectory* printer, BMessage* msg) argument
115 SerialTransport* transport = new SerialTransport(printer, msg);
/haiku/src/add-ons/print/drivers/preview/
H A DDriver.h19 BMessage * default_settings(BNode * printer);
24 // instanciate_driver has to be implemented by the printer driver
/haiku/src/add-ons/print/transports/usb_port/
H A DUSBTransport.cpp28 // printer interface types
35 // TODO handle disconnection of printer during printing
72 USBTransport(BDirectory *printer, BMessage *msg);
111 const BUSBInterface *printer = NULL; local
113 // Try to find a working printer interface in this device
115 for (uint32 idx = 0; printer == NULL
142 printer = alternate;
151 if (printer != NULL) {
152 // We found a working printer interface, lets determine a unique ID
172 printer, i
241 instantiate_transport(BDirectory *printer, BMessage *msg) argument
264 USBTransport(BDirectory *printer, BMessage *msg) argument
[all...]
/haiku/src/tests/kits/interface/pictureprint/
H A DDumpPrintJob.cpp73 PicturePrinter printer; local
74 printer.Iterate(&picture);

Completed in 174 milliseconds

12