The RedRock Print Router is a small windows executable that off loads the automatic printing of Documents to printers hosted on the Customer’s network.
Executable Brokers Communication
- The Print Router executable brokers communication between a client's internal printing resources and the external RedRock resources.
- The Print Router also allows for deployment to a location on the network that can "see" the printer in a MultiCompany or Hosted scenario.
- The Print Router communicates via a web service call to the SAMMS application to receive a list of things that needs to be printed, it then cycles over that list and issues requests to the report server to generate a PDF representation of the report.
- Once the report server returns the PDF, it is printed to the assigned printer.
- Finally, a web service call informs the SAMMS application of the success/failure of the printing job.
- All web service calls are made via port 80, no special firewall rules are required.
- The application will only contact servers in the redrocksoftware.com domain.
Printing a Single Document
- In the case of printing a single document, the print router will make two secure connections via port 443 to the RedRock server over standard https protocol.
- One call to get a list of things needing to be printed
- Second call to fetch a generated PDF document.
- As all communication happens over https this communication is typically allowed access through a client’s firewall without elevated privileges.
- The Print Router then takes that information and generates a connection to the printer via standard windows printing api.
- That authorization is granted by the setup and user configuration of the Print Router itself.
- At no point does an external resource have any direct communication with an internal resource, the web service calls are all one way generated by the print router.
Security Violation
- It is a security violation to print from within a Windows Service in Windows Server 2008, and the executable must be able to display the printing dialog to a desktop.
- Due to these considerations, the Print Router must be launched via the Windows Task Manager.
- The scheduling therefore is done via Windows Task Scheduler.
- Failures to print are logged both to the Windows log file as well as the Windows Task scheduler.
1. Open Windows Task Scheduler
Windows Task Scheduler
1.1. Using the computers “Start Search” look for “Task Scheduler”
2. Create a Task
Task Scheduler: Actions
2.1. Once in “Task Scheduler”, under Actions, select “Create Task”

Create Task: General Tab
2.2. Click on the General Tab - In the “Name” field, key in the task name.
2.3. Make sure User Account can run the task being created. If not, change to a User that can.
2.4. Select option “Run whether User is logged on or not”.
Create Task: Triggers Tab
2.5. Click on the “Triggers” tab and click “New”.
2.6. Set the “Begin the task” to “On a Schedule”.
2.7. Set the “Settings” to “Daily” and Recur every “1” days.
2.8. Select “Repeat task every” and key in “2 Minutes”.
2.9. Set the “for a duration of” with “Indefinitely”.
2.10. Select “Stop task if it runs longer than” and select “30 minutes”.
2.11. Select “Enabled”.
2.12. Click “OK”.
2.13. The Trigger will be listed.
Create Task: Actions Tab
2.14. Click on the “Actions” tab and click “New”.
2.15. In “Program/script” find the directory where the config and exe files are saved and select the exe file.
2.16. Click “OK”.
2.17. The Action will be listed.
Create Task: Settings Tab
2.18. Click on the “Settings” tab.
2.19. Change the “Stop the task if it run longer than” to “1 hour” and click “OK”.
3. Create the Print Routes in RedRock site
Navigating to Print Routes
3.1. Go to “Administration” on the menu bar, then select “Routes” and then “Print Routes”
Creating New Print Route
3.2. On the View Print Routes Page, Click “New”.
Print Route Details
3.3. Fill in all the required fields. Any field in bold text is required and non-bold text is optional.
3.3.1. Code: Short description of the Print Route. This is Unique and limited to 20 characters.
3.3.2. Name: Long description of the Print Route.
3.3.3. Transaction Type: The Type of Document. Option of: Procurement Request, Procurement Order (Delivery Sheet), Procurement Order Receipt (Receiver), Invoice, Contract Release Order (Delivery Sheet), Stock Request, Stock Return, Stock Transfer, Department Transfer, Direct Receipt, & Smart Requisition.
3.3.4. Department: Gives the Print Route the ability to be specific to one Department. This would be the “From” portion on a Document. (Example: Property has 2 Warehouses, a Print Route for each Warehouse can be set up, so the Documents go to the correct printer.)
3.3.5. Receiving Area: Gives the Print Route the ability to be specific to one Receiving Location. (Example: Property has 2 Receiving Area, a Print Route for each Receiving Area can be set up, so the Documents go to the correct printer.)
3.3.6. Printer Address: The full printer address.
3.3.7. # Copies: The number of Documents printed.
3.3.8. Active: Check the box to make Print Route Active.
Print Route Details - New
3.4. Click “New”.
3.4.1. Confirm Printer: The Printer will always say Offline unless the Customer is Self-Hosted.