Using printer.pltcfg, is there a way to define the printer using the local printer name rather than


  
 Applies To 
  
 Product(s):MICROSTATION
 Version(s):N\A
 Environment: N\A
 Area: Print
 Subarea: N\A
 Original Author:Beverly Dawn Gentry, Bentley Technical Support Group
  

Problem

Using printer.pltcfg, is there a way to define the printer using the local printer name rather than using a UNC path to the printer? 

Solution

The user does not have a central print server but wants to use a central pltcfg located on the file server. The problem is printer.pltcfg print drivers require that you specify the printer using a UNC path to the shared printer. Every user would have a different UNC path to their local printer that is shared. Windows print drivers do not accept TCP/IP addresses or captured ports such as LPT1.

To work around this problem, define MS_PLT_SYSPRT_DEFAULT_PRINTER in the workspace/project and set the value to the name of the local printer.  Do not put quotes in the value of this variable even if the printer name contains spaces.

In the windows printer driver (printer.pltcfg), leave the Default Windows Printer Name blank.

When the user selects this printer driver, the printer used will get picked up by the workspace variable set.