Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Receipt Print Modification


Published on

Published in: Business, Technology
  • Be the first to comment

  • Be the first to like this

Receipt Print Modification

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