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

How do I leave the printer pagesize set to what the printer default is?

Our program is used in multiple countries. In the states almost all printer is 'Letter' but in Europe it's A4. Is there a way to set PaperName to what the default is for the default printer? Current our reports forces the user to go printer and press continue because it sends the report in 'Letter' instead of a4.

Thanks,
Ed

Comments

  • Hi Ed,

    You can use the Report.Printer.DefaultPrinterSetup.PaperName property to find the default paper used by the current printer.

    If you are loading templates, be sure to assign the PrinterSetup.PaperName property after the template loads so the value is not overwritten. Template.OnLoadEnd event or after the load call.


    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • Thank You. Appreciate the help.
Sign In or Register to comment.