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

Muiltiple prints to the same PDF file

Hi, Is it possible to print to a PDF file, then keep printing to the same file as new pages ?

Comments

  • Even a page for it - Nice !
  • Hi Nico
    Its so close to working. An example with child items would be really helpful as I keep getting this when trying to either open the file or attach to an email -

    Is there a command to issue after printtodevices that unlocks the file ? It only happens when there are morore than 1 print in the PDF file.
    ---------------------------
    We can't open 'D:\Documents\MidSoft\SkipTrak\pdf\INV55531_POD.PDF'. It's possible the file is already open, or you don't have permission to open it.

  • Hi Andy,

    For the last Report, set PDFDevice.EndPrintJob to True prior to calling Report.PrintToDevices. This is shown in the rbWiki example. When EndPrintJob is True, the PDF output file will be closed.

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • Hi Nico

    Yes, it was a data error as only didn;t work when there was 1 record.
    Thanks
Sign In or Register to comment.