Running Print Scheduler Service and Integration in debug mode Follow

Avatar

BarTender Content Team


Overview

When troubleshooting unfamiliar integration issues, it is helpful to run the Integration and Print Scheduler through the Windows Console and with visible BarTender windows.

It may provide additional clues and messages about what the issue may be.

Applicable to

BarTender 2016 and later

Information

Note that it will be necessary to interrupt all Integrations running on the system in order to complete these steps

How to Configure

  1. Before starting, make sure your Integration is stopped.
    Image02.pngImage01.png
  2. Also, go into the Windows Services list. Find the BarTender Print Scheduler Service and also stop this service.
    Image03.png
  3. Open an Administrator run Notepad. Open the file PrintScheduler.Service.exe.Instance.config from the main BarTender Installation directory. By default it is
    For BarTender 2016
    C:\Program Files (x86)\Seagull\BarTender Suite (32 bit) 
    or
    C:\Program Files\Seagull\BarTender Suite (64 bit)
    For BarTender 2019 and later
    C:\Program Files (x86)\Seagull\BarTender 20xx (32 bit) 
    or
    C:\Program Files\Seagull\BarTender 20xx (64 bit)
  4. Scroll down to the bottom of this file and you should see a section for "PrintScheduler Service Settings" and a section for "Print Engine Settings" section which contain settings you most likely want to change when troubleshooting. The notable setting here is the line
     <Console EngineVisibility="None" />
    By default, this is set to none, but you can change this setting to All.
  5. Save the PrintScheduler.Service.exe.Instance.config file.
  6. Open Windows Command Prompt as admin.
    1. Browse to the directory where the BarTender Suite is installed. By default:
      For BarTender 2016
      C:\Program Files (x86)\Seagull\BarTender Suite (32-bit) 
      or
      C:\Program Files\Seagull\BarTender Suite (64-bit),
      For BarTender 2019 and later
      C:\Program Files (x86)\Seagull\BarTender 20xx (32 bit)
      or
      C:\Program Files\Seagull\BarTender 20xx (64 bit)
    2. Run the command: PrintScheduler.Service.exe /console This should start the Print Scheduler. Leave this running.
      Image04.png
  7. Now start your Integration. Once your Integration is triggered, you will see the Integration executed with messages being displayed in the Windows Command Prompt and visible BarTender windows opened.
    Image05.png
  8. After you finish testing and running the Integration and Print Scheduler through the Windows Console and with visible BarTender windows, change the settings back to default by:
    1. Close the Windows Command prompt to stop the Print Scheduler.
    2. Go back into the PrintScheduler.Service.exe.Instance.config file in an Administrator run Notepad and change the following setting back to None:
      <Console EngineVisibility="All" /> 
    3. Start the BarTender Print Scheduler Service back up through the Windows Services list.

 

Do you have feedback or questions on this article? We encourage you to post them on our Community Forums