web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

how to print reports to specified printer

(0) ShareShare
ReportReport
Posted on by 20

Hi all,

I develop a screen which contains two button to print two different reports directly to printers. One report is printed on a default printer. Another report must be printed in a Dotted Printer. Do you know how to code to print a report to a specified printer in stead of using default printer in the window?

Regards,

Hieu Vu

*This post is locked for comments

I have the same question (0)
  • Post Thomas Profile Picture
    85 on at

    hi,

    You should add an init method to your report with the following code:

       printer = '\\\\path\your_printer';

       this.DeviceName(printer);

       this.setTarget(printmedium::Printer);

    hope it helps

    Regards,

    Thomas

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans