Home Devices

Detecting printer (queue) errors

edited June 2007 in Devices
Hi !

Is there a chance to detect printer (queue) errors like
"Out of paper" with ReportBuilder components ?

Like to switch to different printer if the original does have
an error or paper-out....

Thanks,
Wolfgang



--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited June 2007

    Try using the EnumJobs Win API function to check the status of print jobs
    for a specified printer. See the Win API help for details.

    ReportBuilder does not contain any functionality to check the status of
    print jobs.

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.