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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Deprecated function for printing shipping labels (ZPL)

(0) ShareShare
ReportReport
Posted on by 133
Good morning,
 
For a while now we've been using the WhsDocumentRouting::printLabelToPrinter function to print shipping labels (that we get from an external source) in ZPL format to our label printers. Now after a Dynamics update this year, I saw the warning 'printLabelToPrinter' is obsolete: ''WhsLabelPrintCommand was introduced to replace the plain string ZPL label. Callers should begin using printLabelPrintCommandToPrinter instead'' in my build.
 
So I tried to change my code to use this new function. However, it appears this printLabelCommandToPrinter function is marked as internal, so I cannot call this from my own model. Am I missing something here? How am I supposed to replace this obsolete function with an internal function?
I have the same question (0)

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 577 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 309

#3
Diego Mancassola Profile Picture

Diego Mancassola 259

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans