Bugzilla – Attachment 167701 Details for
Bug 138200
PRINT DIALOG: Please remove deleted printers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Sample program to list printers
list-printers.cxx (text/x-c++src), 270 bytes, created by
Michael Weghorn
on 2020-12-01 05:28:38 UTC
(
hide
)
Description:
Sample program to list printers
Filename:
MIME Type:
Creator:
Michael Weghorn
Created:
2020-12-01 05:28:38 UTC
Size:
270 bytes
patch
obsolete
>#include <iostream> >#include <cups/cups.h> > >int main() { > cups_dest_t* dests; > int nCount = cupsGetDests2(CUPS_HTTP_DEFAULT, &dests); > > for (int i = 0; i < nCount; i++) { > cups_dest_t dest = dests[i]; > std::cout << dest.name << std::endl; > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 138200
:
167286
| 167701 |
167702