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
Hi Nuno,
Thanks for your useful information.
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 Maia,
Could you please give more information on this.
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 ,
Does Dynamics AX 4 support ZPL format instead of PCL format ??
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.
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!
Thanks for the answer, I was talking in general, not for a specific module.
Are you talking R3 and the new WHS solution?
Have you read the below post?
kashperuk.blogspot.com/.../printing-labels-with-new-warehouse.html
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156