English

Problem: Printer properties button in ArcMap is grayed out

Description

The Printer Properties button on the ArcMap Page and Print Setup dialog box is grayed out and changes cannot be made although ArcMap can print to the printer.

Cause

This may occur if the printer was installed using a 'rundll32' command.

Two fabricated examples of this command are:

Code:
rundll32 printui.dll, PrintUIEntry /ga /n \printerserver\printer

or

Code:
rundll32 printui.dll,PrintUIEntry /ga /c\\%COMPUTERNAME% /n\\printerserver\printer

Solution or Workaround

Add the printer programmatically using a Windows Script Host .VBS script.

  • Use the following code saved in a .VBS file to add a printer when called from the command line:

    Code:
    'AddPrinters.vbs
    'start
    Set WshNetwork = WScript.CreateObject("WScript.Network")
    WshNetwork.AddWindowsPrinterConnection "\\<printerserver>\<printer>"
    'end