In this third part, we’ll see how you can find what are available trays in your printer.
In order to do this, I will explain two solutions.
This solution is based on a simple tool called “FindTrays”. This tool was kindly shared by Timo Lässer from German NAV community msdynamics.de. You can directly download FindTrays from this link.
You can get available trays by executing this command line:
.\FindTrays.exe "MyPrinterName" > .\AvailableTrays.txt
How do you get your printer name? Simple, just go to your printer properties and you’ll find it under the general tab.
The second solution I suggest is base on NAV. The idea is to create a simple report that prints the tray number using:
Sources and examples are available for download here. Enjoy!
In the forth part, we’ll apply what we learned and we’ll discuss some NAV limitations.
This blog is available also on Microsoft Dynamics NAV Community