/haiku/src/add-ons/print/drivers/preview/ |
H A D | Driver.cpp | 41 BString printerName; in config_page() local 42 spoolDir->ReadAttrString("Printer Name", &printerName); in config_page() 48 if (driver->PageSetup(pagesetupMsg, printerName.String()) != B_OK) { in config_page() 60 BString printerName; in config_job() local 61 spoolDir->ReadAttrString("Printer Name", &printerName); in config_job() 67 if (driver->JobSetup(jobsetupMsg, printerName.String()) != B_OK) { in config_job() 77 add_printer(char *printerName) in add_printer() argument 79 return printerName; in add_printer()
|
H A D | PrinterDriver.cpp | 133 PrinterDriver::NewPageSetupWindow(BMessage *setupMsg, const char *printerName) in NewPageSetupWindow() argument 135 return new PageSetupWindow(setupMsg, printerName); in NewPageSetupWindow() 140 PrinterDriver::NewJobSetupWindow(BMessage *jobMsg, const char *printerName) in NewJobSetupWindow() argument 142 return new JobSetupWindow(jobMsg, printerName); in NewJobSetupWindow() 147 PrinterDriver::PageSetup(BMessage *setupMsg, const char *printerName) in PageSetup() argument 149 BlockingWindow* w = NewPageSetupWindow(setupMsg, printerName); in PageSetup() 155 PrinterDriver::JobSetup(BMessage *jobMsg, const char *printerName) in JobSetup() argument 167 BlockingWindow* w = NewJobSetupWindow(jobMsg, printerName); in JobSetup()
|
H A D | PrinterDriver.h | 40 virtual BlockingWindow* NewPageSetupWindow(BMessage *setupMsg, const char *printerName); 41 virtual BlockingWindow* NewJobSetupWindow(BMessage *setupMsg, const char *printerName); 44 virtual status_t PageSetup(BMessage *msg, const char *printerName = NULL); 45 virtual status_t JobSetup(BMessage *msg, const char *printerName = NULL);
|
H A D | JobSetupWindow.cpp | 29 JobSetupWindow::JobSetupWindow(BMessage *msg, const char * printerName) in JobSetupWindow() argument 34 fPrinterName(printerName), in JobSetupWindow() 37 if (printerName) in JobSetupWindow() 38 SetTitle(BString(printerName).Append(" Job Setup").String()); in JobSetupWindow()
|
H A D | PageSetupWindow.cpp | 95 PageSetupWindow::PageSetupWindow(BMessage *msg, const char *printerName) in PageSetupWindow() argument 102 fPrinterDirName(printerName) in PageSetupWindow() 104 if (printerName) in PageSetupWindow() 105 SetTitle(BString(printerName).Append(" paper setup").String()); in PageSetupWindow()
|
H A D | PageSetupWindow.h | 33 PageSetupWindow(BMessage *msg, const char *printerName = NULL);
|
/haiku/src/servers/print/ |
H A D | PrintServerApp.R5.cpp | 124 BString printerName; in async_thread() local 130 && msg->FindString("printer name", &printerName) == B_OK) { in async_thread() 136 if (p->app->CreatePrinter(printerName.String(), in async_thread() 144 text.ReplaceFirst("@", printerName.String()); in async_thread() 149 p->app->SelectPrinter(printerName.String()); in async_thread() 184 BString printerName; in Handle_BeOSR5_Message() local 186 printerName = fDefaultPrinter->Name(); in Handle_BeOSR5_Message() 195 printerName = p->GetPrinter(); in Handle_BeOSR5_Message() 198 reply.AddString("printer_name", printerName); in Handle_BeOSR5_Message()
|
H A D | PrintServerApp.cpp | 357 PrintServerApp::CreatePrinter(const char* printerName, const char* driverName, in CreatePrinter() argument 372 status = printersDir.CreateDirectory(printerName, &printer); in CreatePrinter() 374 printer.SetTo(&printersDir, printerName); in CreatePrinter() 381 if (Printer::FindPathToDriver(printerName, &path) == B_OK) { in CreatePrinter() 384 if (strcmp(fDefaultPrinter->Name(), printerName) != 0) in CreatePrinter() 417 printer.WriteAttr(PSRV_PRINTER_ATTR_PRT_NAME, B_STRING_TYPE, 0, printerName, in CreatePrinter() 418 ::strlen(printerName) + 1); in CreatePrinter() 428 status = Printer::ConfigurePrinter(driverName, printerName); in CreatePrinter() 456 PrintServerApp::SelectPrinter(const char* printerName) in SelectPrinter() argument 469 status_t status = FindPrinterNode(printerName, node); in SelectPrinter() [all …]
|
H A D | PrintServerApp.h | 67 status_t SelectPrinter(const char* printerName); 68 status_t CreatePrinter(const char* printerName,
|
H A D | Printer.h | 68 const char* printerName);
|
H A D | Printer.cpp | 211 const char* printerName) in ConfigurePrinter() argument 214 return addOn.AddPrinter(printerName); in ConfigurePrinter()
|
/haiku/headers/libs/print/libprint/ |
H A D | PrinterData.h | 30 void SetPrinterName(const char* printerName); 88 PrinterData::SetPrinterName(const char* printerName) in SetPrinterName() argument 90 fPrinterName = printerName; in SetPrinterName()
|
H A D | PrinterDriver.h | 37 virtual char* AddPrinter(char* printerName);
|
/haiku/src/libs/print/libprint/ |
H A D | PrinterDriver.cpp | 84 PrinterDriver::AddPrinter(char* printerName) in AddPrinter() argument 90 DBGMSG(("\tprinter_name: %s\n", printerName)); in AddPrinter() 111 return printerName; in AddPrinter() 254 char *add_printer(char *printerName) in add_printer() argument 261 path.Append(printerName) == B_OK && in add_printer() 267 return instance.GetPrinterDriver()->AddPrinter(printerName); in add_printer()
|
/haiku/src/kits/interface/ |
H A D | PrintJob.cpp | 312 const char* printerName = ""; in CommitJob() local 313 fSetupMessage->FindString(PSRV_FIELD_CURRENT_PRINTER, &printerName); in CommitJob() 323 printerName, strlen(printerName) + 1); in CommitJob() 433 char* printerName = _GetCurrentPrinterName(); in IsSettingsMessageValid() local 434 if (printerName == NULL) in IsSettingsMessageValid() 441 && strcmp(printerName, name) == 0; in IsSettingsMessageValid() 443 free(printerName); in IsSettingsMessageValid() 678 const char* printerName = NULL; in _GetCurrentPrinterName() local 683 reply.FindString("printer_name", &printerName); in _GetCurrentPrinterName() 685 if (printerName == NULL) in _GetCurrentPrinterName() [all …]
|
/haiku/src/add-ons/print/drivers/gutenprint/ |
H A D | GPPrinterDriver.cpp | 47 char* AddPrinter(char *printerName) in AddPrinter() argument 58 return printerName; in AddPrinter()
|
/haiku/src/add-ons/print/drivers/postscript/ |
H A D | PSEntry.cpp | 47 char* AddPrinter(char *printerName) in AddPrinter() argument 59 return printerName; in AddPrinter()
|
/haiku/src/kits/print/ |
H A D | Printer.cpp | 330 BString printerName(_ReadAttribute(PSRV_PRINTER_ATTR_PRINTER_NAME)); in _Configure() local 331 if (printerName.Length() > 0) { in _Configure() 336 if (add_printer(printerName.String()) != NULL) in _Configure()
|