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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Is print job sent from AOS or SSRS?

(0) ShareShare
ReportReport
Posted on by

We are facing a huge delay while printing a report directly to the printer. It looks like a slow network issue.

So my question is when print a report, does the print job goes from AOS machine or from SSRS machine to the target printer?

We are using the following code in controller to print directly to printer: 

srsPrintDestSettings = formletterReport.parmReportRun().settingDetail().parmPrintJobSettings();

srsPrintDestSettings.printMediumType(SRSPrintMediumType::Printer);
srsPrintDestSettings.printerName(sysCorpNetPrinters.PrinterName);
srsPrintDestSettings.fileFormat(SRSReportFileFormat::PDF);
srsPrintDestSettings.printerWhere(sysCorpNetPrinters.PrinterPath);
srsPrintDestSettings.numberOfCopies(1);
srsPrintDestSettings.collate(false);
srsPrintDestSettings.printOnBothSides(SRSReportDuplexPrintingSetting::None);
srsPrintDestSettings.printAllPages(true);
srsPrintDestSettings.fromPage(0);
srsPrintDestSettings.toPage(0);
srsPrintDestSettings.pack();

this.parmReportContract().parmPrintSettings(srsPrintDestSettings);

formletterReport.parmUsePrintMgmtDestinations(false);
formletterReport.parmUseUserDefinedDestinations(false);

printMgmtPrintSettingDetail = formletterReport.parmReportRun().settingDetail();
printMgmtPrintSettingDetail.parmPrintJobSettings(srsPrintDestSettings);
printMgmtPrintSettingDetail.pack();

In our case the print button is enabled only for once and disabled after that so that user cannot print more than once that is why it is being directly sent to printer otherwise user can print multiple times from PDF viewer of D365FO.

One option is that if we let the report to be opened in PDF viewer, can we disable the print button of pdf viwer after the first print.

pastedimage1627310513000v1.png

I have the same question (0)
  • Verified answer
    WillWU Profile Picture
    22,363 on at

    Hi AR01,

    What do you mean by "huge delay"?  Are you on the on-premise environment? The job is sent from AOS server.

    There are many reasons for performance issue, are there any problems with the network?

  • Community Member Profile Picture
    on at

    Yes, it is an on-premise environment.

    It takes upto 6minutes when it is sent to print on printer. The network guy says the connection between print server and AOS is smooth.

    Thanks for your answer: "The job is sent from AOS server."

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 490 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 241 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans