Options

How To Change Default Printer at Report Run Time ?

FrekieFrekie Member Posts: 19
edited 2003-02-27 in Navision Attain
Hi -
I have written a small component (.dll) that manipulates the registry settings for the default printer under Win2K. The idea is to get the original default printer, set a new default printer, run the report, reset the default printer to the original value. The switching of the printers goes fine but Navision doe not seem to care. Any ideas ?
Thanx

Comments

  • Options
    Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    When the report has been run for the first time, the settings are stored in the ZUP-file. Next time, Navision will use that information.
    What you can do however is to modify the Printer Selection table at run-time, where one can store the Report ID, together with the Printer Name.
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
Sign In or Register to comment.