PGetPrinterList

Returns the number of printers listed in the Printer option in the Print Document dialog box, and lists each printer name. (On the Macintosh, only one printer is returned. In Windows, several may be returned.)


Query results

PGetPrinterList is a subclass of PListQuery. This query returns a list of printer names.
Example.
PGetPrinterList printerList;
for (short i = printerList.Count(); i > 0; --i) {
    cout << (const char *) printerList;
    printerList++;
}


See also

The PGetPaperSizes, PGetPaperSources, PGetPrintCaps, PGetPrintColor, PGetPrintDoc, PGetPrintInk, PGetPrintOptions, PGetPrintOptionsPS, PGetPrintPaperPS, PGetPrintScreens, and PGetPrintTo queries

The PPrintTo command


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support