HI, I am working on a Zebra printing feature that will send Pallet label prints to our network printer, after configuring the Document Routing Agent, and adding and activating the printer in D365, i am now trying to send the print to the printer, the line of code that sends the string to the printer (below) executes without any error, but the Document Routing Agent never receives the document.
The Line of code to send the print:
Microsoft.Dynamics.AX.WHS.DeviceCom.Printer::SendStringToPrinter(routingLayout.PrinterName, finalStr);
Important thing here is that if i send any other SSRS report to the printer by changing the destination to the network printer, the Document Routing Agent successfully receives and forwards that request, its only with my ZPL code that i am unable to send the print.
I have also installed the Chrome ZPL printer app, and tested on that with the same results as well.
Currently i am developing and testing the printing from my D365 Dev box,
I also looked through the event log on the Dev box as well as the box where the Document routing agent is installed but there is nothing in the event log as well.
Any help would be greatly appreciated, thanks.
Ari.