/haiku/src/add-ons/print/transports/ipp/ |
H A D | Ipp.cpp | 98 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/src/add-ons/print/transports/lpr/ |
H A D | LpsClient.cpp | 93 LpsClient::receiveJob(const char *printer) argument 96 *fOutput << LPS_PRINT_JOB << printer << '\n' << flush;
|
/haiku/src/kits/print/ |
H A D | PicturePrinter.cpp | 65 ShapePrinter printer(this); 66 printer.Iterate(shape); 215 PicturePrinter printer(fIndent+1); 216 printer.Iterate(picture); 430 ShapePrinter::ShapePrinter(PicturePrinter* printer) argument 431 : fPrinter(printer)
|
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 | 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...] |
/haiku/src/add-ons/print/transports/parallel_port/ |
H A D | ParallelTransport.cpp | 42 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/transports/hp_jetdirect/ |
H A D | print_transport.cpp | 53 BDirectory printer(printer_name); 55 if (printer.InitCheck() == B_OK) { 56 HPJetDirectPort * transport = new HPJetDirectPort(&printer, msg);
|
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");
|
/haiku/headers/private/print/ |
H A D | PrintTransportAddOn.h | 48 extern "C" BDataIO* instantiate_transport(BDirectory* printer, BMessage* msg);
|
H A D | PicturePrinter.h | 112 ShapePrinter(PicturePrinter* printer);
|
/haiku/src/preferences/printers/ |
H A D | PrintersWindow.cpp | 45 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 D | PrintersWindow.h | 33 void PrintTestPage(PrinterItem* printer); 42 bool _IsSelected(PrinterItem* printer);
|
H A D | TestPageView.cpp | 237 TestPageView::TestPageView(BRect frame, PrinterItem* printer) argument 240 fPrinter(printer)
|
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);
|
/haiku/src/add-ons/print/drivers/gutenprint/ |
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 | 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...] |
/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/servers/print/ |
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 | 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 | 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);
|
H A D | ConfigWindow.h | 54 void UpdateAppSettings(const char* mime, const char* printer);
|
H A D | Printer.h | 42 // This class represents one printer definition. It is manages all actions & 43 // data related to that printer. 61 static void Remove(Printer* printer); 104 // the printer spooling directory 108 // is printer add-on allowed to process multiple print job at once
|
/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
|