BarTender Print Scheduler
Overview
The BarTender Print Scheduler Service is a Windows Service that manages BarTender print engines and intelligently assigns jobs to them while maximizing performance.
This article will provide an overview of the Print schedulers functionality and role within the BarTender environment.
Applicable to
BarTender 2019 and later
Information
BarTender Print Scheduler Service uses a single pool of print engines so that resources are used efficiently. The Print Scheduler service ensures that jobs printing to a specific printer will always come out of that printer in the order the requests were received. When documents contain embedded data that can change, such as serialized counters, they will be bound to a single print engine to ensure that they print in the correct order.
The BarTender Print Scheduler has three main functions:
-
Manage the print engines, which includes:
- Starting/stopping the print engines dynamically
- Opening/closing documents automatically
- Handling the printing process
- Automates print jobs through the use of BTXML Script
- Runs BarTender designer as a service in the background without need for user input
BTXML Job Processing
When a BTXML file is received the print jobs contained in it are split up into individual tasks of one document to one printer. The tasks will be either sent to a single print engine to be processed serially or to several print engines to be processed in parallel. Whether they are processed serially or in parallel depends on the following conditions:
- Tasks are based on the same BarTender template
- Tasks use serialization
- Tasks will be sent to the same printer
- Tasks are from the same BTXML file
Have a look at the below tables for the conditions which lead to parallel or serial processing:
| Single Printer | Multiple Printers | |
|---|---|---|
| Same Template with Serialization | Serial | Parallel |
| Same Templates without Serialization | Serial | Serial |
| Different Templates | Serial | Parallel |
The results of each individual task are merged back into a single XML response which is sent back to the user. The response is not sent until all sub-tasks have been completed.
Print Scheduler Process Using a BTXML Script
- Receive BTXML script
- Uses an open Print engine or opens a new print engine
-
Opens document and during print time will access:
- Files
- Databases
- Linked resources such as images
- Processes data from BTXML
- Sends print job to the print queue
Configuring Print Scheduler Settings
Have a look at the following article for information on how to configure the Print Scheduler settings: How to Configure Print Scheduler Settings
Additional Resources
For additional guidance on resolving common issues with the Print Scheduler, see the following resources:
- Running Print Scheduler Service in Debug Mode.
- Windows could not start the BarTender Print Scheduler service on Local Computer: "Error 2: The system cannot find the file specified"
- Print Scheduler Service error: Could not start an interactive BarTender due to no logged on users to the system
- Integration Error: System.String. Print Scheduler Service is not running or is unable to communicate
- Integration Platform and Print Scheduler not Running after Idling for a Period of Time