Chain together Tray Selector buttons to print in a myriad of complex ways
📅 ✍️ By Tim Kempster
At Tray Selector, we are sometimes asked if it is possible to print 3 copies of a document to different trays in a single click. The answer is yes! With Tray Selector's button chaining feature, you can create sophisticated printing workflows that would otherwise require multiple manual steps.
The Problem: Multiple Clicks for Complex Print Jobs
Imagine you need to print a legal document with the following requirements:
- Print one copy with the first page from headed paper (Tray 1) and remaining pages from plain paper (Tray 3)
- Create a PDF copy for archiving
- Print an additional copy on pink paper (Tray 2) for the file
Without button chaining, you would need to click two separate buttons - one for the first set of requirements and another for the pink paper copy. This interrupts your workflow and increases the chance of errors or forgetting the second step.
The Solution: Button Chaining
Starting from version 1.3.5 (Dot Net) and 1.6.9 (Standard), Tray Selector introduced a powerful feature called "button chaining." This allows you to automatically trigger additional buttons after the current print job completes - all from a single click!
How It Works: A Real Example
Let's walk through setting up the scenario described above. First, we'll create a button that prints to headed paper, plain paper, and PDF:
This first button handles the primary document printing. The configuration shows:
- First page prints from Tray 1 (headed paper)
- Subsequent pages print from Tray 3 (plain paper)
- An extra copy is created as a PDF
Next, we create a second button for printing to pink paper. This button is configured as button #2:
This second button is set up to print the entire document to Tray 2, which contains pink paper.
The Magic: Adding the Chain Command
Now comes the crucial step - linking these buttons together. In the first button's configuration, navigate to the Macros dialog and locate the "Macros to run after printing" section. Here's where you add the special command:
Simply enter:
tsclickbutton,2
This tells Tray Selector: "After this button finishes printing, automatically click button number 2."
The Result: One Click, Multiple Actions
With this configuration in place, here's what happens when you click the first button:
- The document prints with page 1 from headed paper and remaining pages from plain paper
- A PDF copy is automatically created
- Without any further action from you, button 2 is triggered
- The document prints again, this time entirely on pink paper from Tray 2
All of this happens automatically from a single button click! This is incredibly powerful for repetitive, complex printing tasks common in legal offices, accounting firms, and other professional environments.
Chaining Multiple Buttons
You're not limited to just two buttons. You can chain together multiple buttons in sequence by adding the chain command to each button. For example:
- Button 1 could chain to Button 2
- Button 2 could chain to Button 3
- Button 3 could chain to Button 4
Each button executes completely before triggering the next one in the sequence.
Important Rules and Restrictions
To ensure safe and predictable operation, there are a few important rules to keep in mind:
1. Where to Place the Command
The tsclickbutton command only works in the "Macros to run after printing" field on the main settings dialog. It will not work if placed in:
- The "Macros to run before printing" section
- Extra copies dialogs
- Any other macro location
2. Maximum Chain Length
To prevent infinite loops and excessive paper consumption, no more than 12 buttons can be chained in a row. This safety limit ensures you won't accidentally create a chain that never ends or uses up your entire paper supply!
3. Button Numbers
Remember that button numbering starts at 0, not 1:
- First button = Button 0
- Second button = Button 1
- Third button = Button 2
- And so on...
So if you want to chain to your third button, you would use tsclickbutton,2.
Advanced Use Cases
Button chaining enables some sophisticated workflows:
Distribution Lists
Create a single button that prints copies for different departments, each on their designated paper color or tray. One click can print to white paper, yellow paper, pink paper, and green paper in sequence.
Multi-Format Output
Generate a printed copy, a PDF archive, a copy to a network printer, and a copy on letterhead - all from one button click.
Quality Control Workflows
Print a draft copy on plain paper, followed automatically by the final version on letterhead, ensuring you can review before the expensive paper is used.
Archival Systems
Create printed copies to multiple locations (different printers) plus digital copies (PDFs) simultaneously, ensuring redundancy in your document management system.
Tips for Success
- Test thoroughly: Always test your chained button configuration with a short test document before using it on important documents
- Name clearly: Give your buttons descriptive names that indicate they're part of a chain (e.g., "Contract - Start Chain")
- Document your setup: Keep notes about which buttons chain to which, especially if you have complex multi-button sequences
- Start simple: Begin with just two chained buttons and add more complexity once you're comfortable with the feature
- Consider timing: Remember that each button must complete fully before the next one starts, so factor in printing speed when planning workflows
Troubleshooting
If your button chaining isn't working as expected:
- Verify the command is in the "Macros to run after printing" field
- Check that button numbers are correct (remember they start at 0)
- Ensure you haven't exceeded the 12-button chain limit
- Confirm the target button exists and is properly configured
- Check that no button in the chain refers back to an earlier button (creating a loop)
Why Button Chaining Matters
This feature represents a significant productivity enhancement for offices with complex printing needs. By eliminating manual steps and reducing the cognitive load on users, button chaining:
- Saves time: What took multiple button clicks now takes just one
- Reduces errors: No more forgetting the second or third step
- Improves consistency: Every print job follows the exact same workflow
- Simplifies training: New staff only need to learn one button instead of a multi-step process
- Increases confidence: Users can trust that all required copies will be produced automatically
Get Started Today
Button chaining is available in all current versions of Tray Selector (version 1.3.5+ for Dot Net and 1.6.9+ for Standard). If you haven't tried this feature yet, it's a game-changer for complex printing workflows.
Need help setting up button chaining for your specific workflow? Contact our support team and we'll guide you through the configuration process.
Ready to streamline your printing? Download Tray Selector and start your free 7-day trial today!