SalReportPrintToFile always prints document on default printer

Report bugs and possible workarounds.
Franklin67
Germany
Posts: 13
Joined: 16 Apr 2018, 12:12
Location: Germany

SalReportPrintToFile always prints document on default printer

Post by Franklin67 » 01 Apr 2022, 09:44

Hello,

after migrating one of my application to TD 7.4.0 (Build 65999) I have a problem with the SalReportPrintToFile function. in TD 7.2.x this function only created the PDF file but now everytime I create a PDF it is automatically printed on the default printer although I am not using the new "RPT_PrintToPrinter" options. I only use the "RPT_PrintAll" option in the function.

How can I prevent that the function will always prints the created PDF document to the default printer?

Regards,
Frank

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3231
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: SalReportPrintToFile always prints document on default printer

Post by Dave Rabelink » 06 Apr 2022, 08:31

A small testcase would be nice to reproduce.
Can you post one?
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 0 guests