/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/transport/ |
H A D | transport_rpc.h | 3 int btStartPrintJob(bt_rpcinfo *info, char *printerName, char *user, char *password, char *jobName, char **jobId); 4 int btPrintJobData(bt_rpcinfo *info, char *printerName, char *jobId, char *data, int dataLen); 5 int btCommitPrintJob(bt_rpcinfo *info, char *printerName, char *jobId);
|
H A D | transport_rpc.cpp | 7 int btStartPrintJob(bt_rpcinfo *info, char *printerName, char *user, char *password, char *jobName, char **jobId) argument 16 outPacket = btRPCPutHeader(BT_CMD_PRINTJOB_NEW, 4, strlen(printerName) + strlen(jobName) + strlen(user) + BT_AUTH_TOKEN_LENGTH); 17 btRPCPutArg(outPacket, B_STRING_TYPE, printerName, strlen(printerName)); 41 int btPrintJobData(bt_rpcinfo *info, char *printerName, char *jobId, char *data, int dataLen) argument 50 outPacket = btRPCPutHeader(BT_CMD_PRINTJOB_DATA, 4, strlen(printerName) + strlen(jobId) + dataLen + 4); 51 btRPCPutArg(outPacket, B_STRING_TYPE, printerName, strlen(printerName)); 71 int btCommitPrintJob(bt_rpcinfo *info, char *printerName, char *jobId) argument 80 outPacket = btRPCPutHeader(BT_CMD_PRINTJOB_COMMIT, 2, strlen(printerName) [all...] |
H A D | beserved_transport.cpp | 35 printerName[0] = 0; 48 dir.ReadAttr(PRINTER_NAME, B_STRING_TYPE, 0, printerName, sizeof(printerName)); 59 sprintf(errorMsg, "The server %s, which hosts printer %s, cannot be found on the network.", server, printerName); 82 result = btStartPrintJob(&info, printerName, user, password, jobName, &serverJobId); 99 sprintf(errorMsg, "The server %s, which hosts printer %s, is not responding.", server, printerName); 111 btCommitPrintJob(&info, printerName, serverJobId); 126 if (btPrintJobData(&info, printerName, serverJobId, (char *) buffer, size) != B_OK) 138 LoginPanel *login = new LoginPanel(frame, server, printerName, false); 149 sprintf(password, "%-*s%-*s", B_FILE_NAME_LENGTH, printerName, MAX_USERNAME_LENGT [all...] |
H A D | beserved_transport.h | 34 char printerName[256];
member in class:BeServedTransport
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/FileSharing-Windows/ |
H A D | printing.h | 10 char printerName[MAX_NAME_LENGTH];
member in struct:__anon5619 44 int btPrintJobNew(char *printerName, char *user, char *password, int client_s_addr, char *jobName, char *jobId);
45 int btPrintJobData(char *printerName, char *jobId, char *jobData, int dataLen);
46 int btPrintJobCommit(char *printerName, char *jobId);
47 int btPrintJobQuery(char *printerName, bt_print_job *jobList);
|
H A D | PrinterSharingDlg.cpp | 166 if (MessageBox(WARN_REMOVE_PRINTER, sharedPrinters[nItem].printerName, MB_YESNO | MB_ICONQUESTION) == IDYES)
186 strcpy(sharedPrinters[nIndex].printerName, "Untitled");
190 int nItem = m_printerList.InsertItem(0, sharedPrinters[nIndex].printerName, 0);
214 nItem = m_printerList.InsertItem(0, sharedPrinters[i].printerName, 0);
225 m_printerList.SetItemText(nItem, 0, sharedPrinters[nItem].printerName);
243 PrintString(fp, sharedPrinters[i].printerName);
256 PrintString(fp, sharedPrinters[i].printerName);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/server-Windows/ |
H A D | printing.h | 7 char printerName[MAX_NAME_LENGTH];
member in struct:__anon5677 39 int btPrintJobNew(char *printerName, char *user, char *password, int client_s_addr, char *jobName, char *jobId);
40 int btPrintJobData(char *printerName, char *jobId, char *jobData, int dataLen);
41 int btPrintJobCommit(char *printerName, char *jobId);
42 int btPrintJobQuery(char *printerName, bt_print_job *jobList)
|
H A D | printing.cpp | 16 extern bt_printer *btFindPrinter(char *printerName);
154 int btPrintJobNew(char *printerName, char *user, char *password, int client_s_addr, char *jobName, char *jobId)
argument 157 bt_printer *printer = btFindPrinter(printerName);
242 int btPrintJobData(char *printerName, char *jobId, char *jobData, int dataLen)
argument 245 bt_printer *printer = btFindPrinter(printerName);
271 int btPrintJobCommit(char *printerName, char *jobId)
argument 274 bt_printer *printer = btFindPrinter(printerName);
|
/haiku-fatelf/src/add-ons/print/drivers/preview/ |
H A D | Driver.cpp | 41 BString printerName; local 42 spoolDir->ReadAttrString("Printer Name", &printerName); 48 if (driver->PageSetup(pagesetupMsg, printerName.String()) != B_OK) { 60 BString printerName; local 61 spoolDir->ReadAttrString("Printer Name", &printerName); 67 if (driver->JobSetup(jobsetupMsg, printerName.String()) != B_OK) { 77 add_printer(char *printerName) argument 79 return printerName;
|
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 | PrinterDriver.cpp | 143 PrinterDriver::NewPageSetupWindow(BMessage *setupMsg, const char *printerName) argument 145 return new PageSetupWindow(setupMsg, printerName); 150 PrinterDriver::NewJobSetupWindow(BMessage *jobMsg, const char *printerName) argument 152 return new JobSetupWindow(jobMsg, printerName); 157 PrinterDriver::PageSetup(BMessage *setupMsg, const char *printerName) argument 159 BlockingWindow* w = NewPageSetupWindow(setupMsg, printerName); 165 PrinterDriver::JobSetup(BMessage *jobMsg, const char *printerName) argument 177 BlockingWindow* w = NewJobSetupWindow(jobMsg, printerName);
|
H A D | PageSetupWindow.h | 33 PageSetupWindow(BMessage *msg, const char *printerName = NULL);
|
H A D | JobSetupWindow.cpp | 29 JobSetupWindow::JobSetupWindow(BMessage *msg, const char * printerName) argument 34 fPrinterName(printerName), 37 if (printerName) 38 SetTitle(BString(printerName).Append(" Job Setup").String());
|
/haiku-fatelf/src/add-ons/print/drivers/pdf/source/ |
H A D | Driver.cpp | 69 BString printerName; local 70 spoolDir->ReadAttrString("Printer Name", &printerName); 73 if (driver->PageSetup(pagesetupMsg, printerName.String()) == B_OK) { 92 BString printerName; local 93 spoolDir->ReadAttrString("Printer Name", &printerName); 96 if (driver->JobSetup(jobsetupMsg, printerName.String()) == B_OK) { 110 add_printer(char *printerName) argument 112 return printerName;
|
H A D | PrinterDriver.h | 84 virtual status_t PrinterSetup(char *printerName); 85 virtual status_t PageSetup(BMessage *msg, const char *printerName = NULL); 86 virtual status_t JobSetup(BMessage *msg, const char *printerName = NULL);
|
H A D | PrinterDriver.cpp | 222 PrinterDriver::PrinterSetup(char *printerName) argument 231 PrinterDriver::PageSetup(BMessage *setupMsg, const char *printerName) argument 235 psw = new PageSetupWindow(setupMsg, printerName); 242 PrinterDriver::JobSetup(BMessage *jobMsg, const char *printerName) argument 256 jsw = new JobSetupWindow(jobMsg, printerName);
|
H A D | JobSetupWindow.cpp | 55 JobSetupWindow::JobSetupWindow(BMessage *msg, const char * printerName) argument 66 if (printerName) { 68 title << printerName << " Job Setup"; local 70 fPrinterName = printerName;
|
H A D | PageSetupWindow.h | 55 PageSetupWindow(BMessage *msg, const char *printerName = NULL);
|
/haiku-fatelf/src/servers/print/ |
H A D | PrintServerApp.R5.cpp | 124 BString printerName; local 130 && msg->FindString("printer name", &printerName) == B_OK) { 136 if (p->app->CreatePrinter(printerName.String(), 144 text.ReplaceFirst("@", printerName.String()); 149 p->app->SelectPrinter(printerName.String()); 184 BString printerName; local 186 printerName = fDefaultPrinter->Name(); 195 printerName = p->GetPrinter(); 198 reply.AddString("printer_name", printerName);
|
H A D | PrintServerApp.cpp | 381 // CreatePrinter(const char* printerName, const char* driverName, 391 // printerName - Name of printer to create. 400 PrintServerApp::CreatePrinter(const char* printerName, const char* driverName, argument 416 rc = printersDir.CreateDirectory(printerName, &printer); 418 printer.SetTo(&printersDir, printerName); 425 if (Printer::FindPathToDriver(printerName, &path) == B_OK) { 428 if (strcmp(fDefaultPrinter->Name(), printerName) != 0) 461 printer.WriteAttr(PSRV_PRINTER_ATTR_PRT_NAME, B_STRING_TYPE, 0, printerName, 462 ::strlen(printerName) + 1); 472 rc = Printer::ConfigurePrinter(driverName, printerName); 506 SelectPrinter(const char* printerName) argument [all...] |
H A D | PrintServerApp.h | 60 status_t SelectPrinter(const char *printerName); 61 status_t CreatePrinter(const char *printerName, const char *driverName,
|
/haiku-fatelf/src/add-ons/print/drivers/gutenprint/ |
H A D | GPPrinterDriver.cpp | 47 char* AddPrinter(char *printerName) argument 58 return printerName;
|
/haiku-fatelf/src/add-ons/print/drivers/postscript/ |
H A D | PSEntry.cpp | 47 char* AddPrinter(char *printerName) argument 59 return printerName;
|
/haiku-fatelf/headers/libs/print/libprint/ |
H A D | PrinterData.h | 30 void SetPrinterName(const char* printerName); 88 PrinterData::SetPrinterName(const char* printerName) argument 90 fPrinterName = printerName;
|
/haiku-fatelf/src/libs/print/libprint/ |
H A D | PrinterDriver.cpp | 83 PrinterDriver::AddPrinter(char* printerName) argument 85 // print_server has created a spool folder with name printerName in 89 DBGMSG(("\tprinter_name: %s\n", printerName)); 110 return printerName; 255 char *add_printer(char *printerName) argument 262 path.Append(printerName) == B_OK && 268 return instance.GetPrinterDriver()->AddPrinter(printerName);
|