Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Batch Printing - Monitor Printer

edited July 2009 in General
Hello again,

before I start, we and our customers simply love the new 11.x RB

Now then, we have customers that batch print large amounts of Work Orders,
Invoices, etc. Years ago we coded a Pause Dialog at every 25 counted, and
encouraged them to exit loop at 100 to keep printers from problems. There
must be a slik way of monitoring the Printer Buffer to know when it is time
to feed more reports. Example: We gather the Invoice Numbers to print in a
table, then loop through them and mark the table coulmns Printed = True and
PrintTimeStamp, then archive the table.

Thanks,
Mark

Comments

  • edited July 2009

    Thanks for the positive feedback on RB 11! :)

    ReportBuilder does not contain any functionality to monitor the Windows
    Print Spooler.

    Check out the Windows API section on Print and Spooler functions. We do not
    any experience with using the Spooler functions, but I have noticed them in
    the docs. According to the docs there is a function called EnumJobs that can
    be used retrieve information about print jobs in the queue. The remarks
    section says "To determine the number of print jobs in the printer queue,
    call the GetPrinter function with the Level parameter set to 2."



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

    Best regards,

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