Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Printer Preferences in Microsoft Dynamics NAV 2009 SP1 are not preserved when using a non-default printer


View products that this article applies to.

Symptoms

Printer preferences for a non-default printer are not preserved in Microsoft Dynamics NAV 2009 SP1.

↑ Back to the top


Cause

When requests are made for printer information from Microsoft Dynamics NAV the Windows GetPrinter (Level 2) function is used. The PRINTER_INFO_2 structure contains a pointer to a DEVMODE data structure which defines default printer data such as page size, orientation and resolution. The DEVMODE structure points to the Default printer and not to the non-default printer that was selected.

↑ Back to the top


Resolution

This functionality is by design. The work around would be to make use of the Printer Selection table and on a user or report basis, define which printer the report should go to. 

↑ Back to the top


More Information

For more information on the PRINTER_INFO_2 data structure and DEVMODE data structure see the following link on MSDN:

http://msdn.microsoft.com/en-us/library/dd162845(VS.85).aspx

↑ Back to the top


Keywords: kbmbsmigrate, kbmbspartner, vkball, kb

↑ Back to the top

Article Info
Article ID : 2019823
Revision : 2
Created on : 1/27/2017
Published on : 1/27/2017
Exists online : False
Views : 286