Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Label Printers

Posted on by Microsoft Employee

Hi,

Is there any best practices or requirements if I want to print labels using AX ? Any particular driver type / Printing language that is required for AX ?

Thank you

*This post is locked for comments

  • Suggested answer
    Manikanda Gopal Profile Picture
    Manikanda Gopal 250 on at
    RE: Label Printers

    Hi Nuno,

    Thanks for your useful information.

  • nunomaia Profile Picture
    nunomaia 10,684 Super User 2024 Season 1 on at
    RE: Label Printers

    Printing in ZPL it’s a just a matter of writing to the printer in raw format. If you search in google you will find some examples how to print in raw format in .NET. You have to open the printer device, write the ZPL string and close the printer.      

  • Suggested answer
    Manikanda Gopal Profile Picture
    Manikanda Gopal 250 on at
    RE: Label Printers

    Hi Nuno Maia,

    Could you please give more information on this.

  • nunomaia Profile Picture
    nunomaia 10,684 Super User 2024 Season 1 on at
    RE: Label Printers

    Hi, it’s possible do print directly ZPL from 4.0, but you must do some customizations to connect directly to printer from AX.

  • Manikanda Gopal Profile Picture
    Manikanda Gopal 250 on at
    RE: Label Printers

    Hi ,

    Does Dynamics AX 4 support ZPL format instead of PCL format ??

  • Verified answer
    Mark Prouty Profile Picture
    Mark Prouty 1,310 on at
    RE: Label Printers

    You do not want to use windows drivers because they will not only slow printing but will image your print output. You want text output. This means barcodes might be slightly resized and quality can easily go from A to D or even fail.

    I am not familiar w/AX2012 features. In AX 2009 & prior versions, in addition to setting up a port as Ivan Kaskperuk describes, these hints might be helpful.

    Install barcode printer on pc you are developing from and set as your default printer. This should install printer resident fonts on your pc.

    When create morphex report, select these resident fonts, not just barcode, but also resident text fonts. (barcode output still needs to use AX barcode classes). This formats text output with pcl metadata so that label prints in native pcl.

    Try to use only one kind of barcode printer pcl family (all datamax, all zebra zpl2, etc.) in entire organization. Otherwise, you will need to build different report formats according to printer language used. Maybe AX2012 features mitigate this issue?

    In rare cases, because your output is text, you can add pcl commands to your report strings (ex: vertical and horizontal barcodes). nasty , but possible. There is a handy passthru() method to help w/ this.

    Expect to spend sometime learning. Don't forget to change your default printer back.

  • RE: Label Printers

    I always use pcl language, I never use reporting because you want to print labels as fast as its possible. Ivan, didn't know R3 had that amazing tool, I will have to take a look on it! 

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Label Printers

    Thanks for the answer, I was talking in general, not for a specific module.

  • Suggested answer
    RE: Label Printers

    Are you talking R3 and the new WHS solution?

    Have you read the below post?

    kashperuk.blogspot.com/.../printing-labels-with-new-warehouse.html

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,188 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans