Running Print Scheduler Service and Integration in Debug Mode
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
- Before starting, make sure your Integration is stopped.
- Also, go into the Windows Services list. Find the BarTender Print Scheduler Service and also stop this service.
- 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 2016C:\Program Files (x86)\Seagull\BarTender Suite (32 bit)
orC:\Program Files\Seagull\BarTender Suite (64 bit)
For BarTender 2019 and laterC:\Program Files (x86)\Seagull\BarTender 20xx (32 bit)
orC:\Program Files\Seagull\BarTender 20xx (64 bit)
- 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. - Save the PrintScheduler.Service.exe.Instance.config file.
- Open Windows Command Prompt as admin.
- Browse to the directory where the BarTender Suite is installed. By default:
For BarTender 2016C:\Program Files (x86)\Seagull\BarTender Suite (32-bit)
orC:\Program Files\Seagull\BarTender Suite (64-bit),
For BarTender 2019 and later
C:\Program Files (x86)\Seagull\BarTender 20xx (32 bit)
orC:\Program Files\Seagull\BarTender 20xx (64 bit)
- Run the command: PrintScheduler.Service.exe /console This should start the Print Scheduler. Leave this running.
- Browse to the directory where the BarTender Suite is installed. By default:
- 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.
- 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:
- Close the Windows Command prompt to stop the Print Scheduler.
- 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" />
- Start the BarTender Print Scheduler Service back up through the Windows Services list.