Printer name is invalid error when printing a report

We came across an issue where we got the following error when trying to open or print a report:

OpenPrinter_1: rc:0 lastError:1801(0x709) The printer name is invalid.

The printer was installed on the domain server and when checking the printer name we could verify that the printer name doesn't include illegal characters as "\" or ",".

Finally we could find out that the printer was not not visible as resource in the Active Directory.
On properties for the printer it was necessary to select "List in directory" in order for AX to see the printer. 

author: Anders Madsen
editor: Daniel Durrer
date: 20/Dec/2010
Comments (0)

Skip to main content