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

How print a stream to a network printer

(0) ShareShare
ReportReport
Posted on by 642

Hello,

I need to print a stream (a file) directly to a network printer.

I know how to get the network printer but I don't find the way to print directly to the printer.

Please could you help me

I have the same question (0)
  • Adria Ariste Profile Picture
    User Group Leader on at

    I´ve never seen that done with X++ in 365, in previous versions you could call the Acrobat EXE in the AOS machines, but now we can´t do this kind of workarounds...

    You can probably use a .NET library to create a PDF file from your stream and send it to the printer. Have you tried that?

    Adrià Ariste - Senior technical consultant @ Axazure - Read my blog!

  • Verified answer
    Eugen Glasow Profile Picture
    6,359 on at

    See WHSDocumentRouting.printLabelToPrinter().

  • DONA Profile Picture
    642 on at

    Thanks Eugen :-)

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... 467 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 420 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 241 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans