Printing from VB

Home › Forums › General › Printing from VB

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6271
    rongpdf24
    Participant

    VB PowerPacks includes Printing.PrintForm which allows a form to be directed to a printer.  Printer settings can be defined programmatically.  (Landscape/Portrait, Margins)

    Can I define the PDF filename and folder programmatically as well?

    Can I monitor printing progress?  Specifically I need to know that printing has been completed before moving on to processing another form.

    #6273
    Stefan Ziegler
    Keymaster

    The name and directory of the file are determined from the name of the print job. Therefore, you can set the job name to a full file path name to tell the PDF printer the name and folder of the file. PDF24 then extracts it and makes it available in the placeholders.

    Print jobs can be monitored in windows. The Windows API gives you access to the printer task queue and and you can read the jobs and the state.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.