/haiku/headers/private/print/ |
H A D | JobSetupPanel.h | 50 BJobSetupPanel(BPrinter* printer); 51 BJobSetupPanel(BPrinter* printer, uint32 flags); 62 void SetPrinter(BPrinter* printer, bool keepSettings);
|
H A D | Printer.h | 29 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 D | PrinterRoster.h | 32 status_t GetNextPrinter(BPrinter* printer); 33 status_t GetDefaultPrinter(BPrinter* printer); 34 status_t FindPrinter(const BString& name, BPrinter* printer);
|
/haiku/src/add-ons/print/drivers/gutenprint/ |
H A D | GPBinding.cpp | 22 // 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...] |
H A D | GPParameterVisitor.cpp | 42 GPParameterVisitor::Visit(const stp_printer_t* printer) argument 45 const stp_vars_t* defaultVariables = stp_printer_get_defaults(printer); 91 // some printer definitions don't have resolution parameter
|
H A D | GPParameterVisitor.h | 38 void Visit(const stp_printer_t* printer);
|
/haiku/src/add-ons/print/drivers/preview/ |
H A D | Driver.h | 19 BMessage * default_settings(BNode * printer); 24 // instanciate_driver has to be implemented by the printer driver
|
/haiku/src/add-ons/print/transports/hp_jetdirect/ |
H A D | HPJetDirectTransport.cpp | 24 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 D | HPJetDirectTransport.h | 20 HPJetDirectPort(BDirectory* printer, BMessage* msg);
|
/haiku/src/add-ons/print/transports/serial_port/ |
H A D | SerialTransport.cpp | 23 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/transports/usb_port/ |
H A D | USBTransport.cpp | 28 // 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/kits/interface/ |
H A D | PrintJob.cpp | 240 char *printer = _GetCurrentPrinterName(); local 241 if (printer == NULL) 243 MemoryDeleter _(printer); 245 path.Append(printer); 277 // add printer settings message 279 fSetupMessage->AddString(PSRV_FIELD_CURRENT_PRINTER, printer); 438 // The passed message is valid if it contains the right printer name. 667 /*! Returns a copy of the applications default printer name or NULL if it
|
/haiku/src/kits/print/ |
H A D | JobSetupPanel.cpp | 34 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...] |
H A D | PrintTransportAddOn.cpp | 14 BDirectory printer(spool_path); 16 if (printer.InitCheck() == B_OK) { 17 gTransport = instantiate_transport(&printer, msg);
|
H A D | Printer.cpp | 26 #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 D | PrinterRoster.cpp | 48 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...] |
/haiku/src/preferences/printers/ |
H A D | PrinterListView.cpp | 63 // Find directory containing printer definition nodes 74 BDirectory printer(&entry); 75 _AddPrinter(printer, false); 108 // Select active printer 163 BDirectory printer(node); 164 _AddPrinter(printer, true); 185 BDirectory printer(node); 186 _AddPrinter(printer, true); 193 PrinterListView::_AddPrinter(BDirectory& printer, bool calculateLayout) argument 198 if (printer [all...] |
H A D | PrinterListView.h | 54 void _AddPrinter(BDirectory& printer, bool calculateLayout);
|
H A D | TestPageView.h | 18 TestPageView(BRect rect, PrinterItem* printer);
|
/haiku/src/servers/print/ |
H A D | ConfigWindow.cpp | 157 BPopUpMenu* menu = new BPopUpMenu(B_TRANSLATE("Select a printer")); 279 BString printer; local 280 if (m->FindString("name", &printer) == B_OK) { 281 UpdateAppSettings(fSenderMimeType.String(), printer.String()); 313 BAlert *about = new BAlert("About printer server", text.String(), 413 // fill menu with printer names 432 ConfigWindow::UpdateAppSettings(const char* mime, const char* printer) argument 439 app->SetPrinter(printer); 441 s->AddAppSettings(new AppSettings(mime, printer));
|
H A D | ConfigWindow.h | 54 void UpdateAppSettings(const char* mime, const char* printer);
|
H A D | PrintServerApp.R5.cpp | 29 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 D | PrintServerApp.Scripting.cpp | 29 B_TRANSLATE_MARK("Retrieve or select the active printer") }, 32 B_TRANSLATE_MARK("Retrieve a specific printer") }, 34 B_TRANSLATE_MARK("Create a new printer") }, 37 B_TRANSLATE_MARK("Delete a specific printer") }, 117 Printer* printer = GetPrinterFromSpecifier(&spec); local 120 if (printer != NULL) 121 rc=printer->Remove();
|
H A D | PrintServerApp.cpp | 73 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 D | PrintServerApp.h | 46 void NotifyPrinterDeletion(Printer* printer); 75 void UnregisterPrinter(Printer* printer);
|