Notifications
Announcements
No record found.
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
Are you talking R3 and the new WHS solution?
Have you read the below post?
kashperuk.blogspot.com/.../printing-labels-with-new-warehouse.html
Thanks for the answer, I was talking in general, not for a specific module.
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!
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.
Hi ,
Does Dynamics AX 4 support ZPL format instead of PCL format ??
Hi, it’s possible do print directly ZPL from 4.0, but you must do some customizations to connect directly to printer from AX.
Hi Nuno Maia,
Could you please give more information on this.
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.
Hi Nuno,
Thanks for your useful information.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2