Receipt Print Modification
-
Upload
guestbc7e13 -
Category
Business
-
view
1.821 -
download
2
Transcript of Receipt Print Modification
![Page 1: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/1.jpg)
Receipt Print Modification
Right Click 3.0Kevin Devine
Euclid Public Library
August 22, 2007
![Page 2: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/2.jpg)
The Problem
• Handwritten slips for reserves
• No consistency
• Bad spelling / penmanship• 100s handwritten each day
• Even in front of patrons waiting to checkout!
![Page 3: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/3.jpg)
The Goal
Before After
![Page 4: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/4.jpg)
From the beginning
• Can it be done?
• How will it work?
• Can our ILS do this?
• Initially, the answer was “No”, but the question lingered… Could this be done?
![Page 5: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/5.jpg)
TIME PASSES…
![Page 6: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/6.jpg)
A New Problem Arises
![Page 7: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/7.jpg)
Goal Revisited
Routing Before Routing After
![Page 8: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/8.jpg)
Options?
• Screen capture / OCR / Print
• Utilizing Window Handles to get Textboxes
• Staff copy and paste to another application
• Change ILS to a system that works better
• Capture Spool file and modify output
![Page 9: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/9.jpg)
Spool File
What are these?
![Page 10: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/10.jpg)
Escape Codes
• Specific to each brand of printer
• SDK on website
• List of commands– Font height and width– Bold, Underline, Italics– Line feeds, cut paper
– Change text orientation
![Page 11: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/11.jpg)
Example Escape Code (in code)
• ChrW(27) & ChrW(104) & ChrW(51) & ChrW(27) & ChrW(87) & ChrW(49) & ChrW(27) & ChrW(45) & ChrW(49) & ChrW(27) & ChrW(69) & sName
• ChrW(27) & ChrW(104) & ChrW(48) & ChrW(27) & ChrW(87) & ChrW(48) & ChrW(27) & ChrW(45) & ChrW(48) & ChrW(27) & ChrW(70)
• Bold, Underline, Height = 4, Width = 2 turned on• The second bullet turns those all off
![Page 12: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/12.jpg)
Capturing a Print Job
• Small jobs enter and exit the spool quickly
• Pause/Unpause the queue?
• Create a “dummy” printer• Copy modified spool file to real printer
![Page 13: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/13.jpg)
A Little Bit of Code
• Monitoring application– VB.net– Watches the “dummy” print queue
– Looks for keywords in spool file• HOLD FOR:• in transit to:
– Modifies the spool file with escape codes– Copies to the real printer
![Page 14: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/14.jpg)
Results
• Circulation was ecstatic!
• Reserves have readable names
• Routing slips are easy• Patrons are not waiting for the staff to
write out slips
• Customer Service and line speed have increased
![Page 15: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/15.jpg)
Time Comparison
Before
• Writing reserve slips– 20 seconds
• Writing routing slips– 20 seconds
• Reserves per month: 9000
• Routing per month: 4000• Total Time:
– 72 hours a month
After
• Printing reserve slips– 2 seconds
• Printing routing slips– 2 seconds
• Reserves per month: 9000• Routing per month: 4000• Total Time:
– 7 hours a month
It cut the work down to 1/10th of
before!
![Page 16: Receipt Print Modification](https://reader033.fdocuments.in/reader033/viewer/2022052623/559f73b11a28abeb718b464f/html5/thumbnails/16.jpg)
Any Questions?Receipt Print Modification
Right Click 3.0
Kevin Devine
Euclid Public Library
August 22, 2007