web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    RE: How print a stream to a network printer

    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
    RE: How print a stream to a network printer

    See WHSDocumentRouting.printLabelToPrinter().

  • DONA Profile Picture
    642 on at
    RE: How print a stream to a network printer

    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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,004

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 548 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans