List of printers


static void RHE_TestPrinters(args a)
{
    printJobSettings pjs;
    str printer;
    int i;
    pjs = new printJobSettings();
    for (i=1; i<=pjs.GetNumberOfPrinters(); i++)
    {
        printer = pjs.GetPrinter(i);
        pjs.DeviceName(printer);
        info(strfmt("printer No. %1 has name %2", i , printer));
    }

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.