Dynamics NAV 2018 client on Windows Server 2019 Standard.
All users, including administrators, get the same error when attempting to print anything from within Dynamics NAV on a Terminal server.
"An error occurred when printing - The handle is invalid (-2147467259)"
The print preview function works in that the print job is displayed properly but it generates a similar message when an attempt to print is made.
All users can print normally if they use an installation locally installed on their computers. This isn't practical since many of them are working across slow VPN connections.
The type of printer does not matter; even attempting to use the Microsoft PDF printer results in the error.
As far as we can determine, Dynamics NAV otherwise works as expected.
What could be causing this?
Thanks in advance