Forums

Find answers, ask questions, and connect with our
community all around the world.

Home Forum Omnis General Coding Save a PDF print jpb

  • Save a PDF print jpb

    Posted by Ghiara Mimmo on April 19, 2019 at 8:14 am

    Goodmorning everyone,
    I have to save a PDF of several pages on disk but I can’t remember how I can do it
    I put the usual dialogues like print page and detstination and then Begin Print Job. The program prints but does not save them anywhere
    How do I request to save the file?
    Thank you
    Mimmo

    Escale Solutions replied 7 months, 2 weeks ago 3 Members · 3 Replies
  • 3 Replies
  • Paul Mulroney

    Member
    April 21, 2019 at 10:40 am

    You need to do the following (assuming Studio 8.0 or higher):
    Do $cdevice.$assign(kDevOmnisPDF) ;; Switch to the Omnis PDF device.
    Calculate $prefs.$reportfile as ‘full path to PDF file’ ;; Omnis PDF uses the $prefs.$reportfile to determine where to write the PDF.
    Print report

  • Ghiara Mimmo

    Member
    April 22, 2019 at 2:42 pm

    Trank’s
    Mimmo

  • Escale Solutions

    Member
    December 30, 2021 at 9:50 am

    Open a file in a Windows application.
    Choose File > Print.
    Choose Adobe PDF as the printer in the Print dialog box. To customize the Adobe PDF printer setting, click the Properties (or Preferences) button. …
    Click Print. Type a name for your file, and click Save.
    Thanks

Log in to reply.