Excluding printers from automated printing

In certain cases, your printing environment requires you to exclude some of your printers from the automated printing process. Possible reasons why you should exclude printers from the automated printing are your company printing policy or the limitations of you license.

By default, Automation prevents automated printing using file printers, such as Microsoft Shared Fax Driver, Microsoft Print To PDF, Microsoft XPS Document Writer, and similar. These file printers require the users to manually select the location for their "printouts". The request for manual user intervention causes the print engine to stop, reporting an error.

To prevent the Automation from using specific printers in the running configurations:

Note

When specifying the excluded printers from the automated printing in the product.config file, you must also explicitly list your file printers.

  1. Open file product.config in text editor.

    The file is located here:

    %PROGRAMDATA%\NiceLabel\NiceLabel 10\product.config

  2. Create a backup copy of the product.config file.

  3. Automation uses two parameters to check which printer model and printer port should be excluded from automated printing. Add these parameters to your product.config file.

    • /IntegrationService/DisabledPrinterDrivers and type the printer models you want to exclude from automated printing.

    • /IntegrationService/DisabledPrinterPorts and type the ports you want to exclude from automated printing.

    UUID-3209fa51-aaff-68dc-a86e-503b1783df13.png
    <configuration>
        <IntegrationService>
            <DisabledPrinterDrivers>NiceLabel Graphics Driver,NicePrinter1200dpi</DisabledPrinterDrivers>    
            <DisabledPrinterPorts>LPT1,LPT2</DisabledPrinterPorts>
        </IntegrationService>
    </configuration>
  4. Once you define the printer models and printer ports in the product.config file, you can still run your Automation configurations, but your updated settings prevent printing on the listed printers. Automation reports an error if the these printers are part of the running configurations.

    Note

    Automated printing does not stop if the excluded printers are used in the Redirect Printing to File action.