Free Standard Group Open Printing JTAPI Implementation Overview

  • Slides: 8
Download presentation
Free Standard Group: Open. Printing JTAPI Implementation Overview FSG Design Objective Oriented Encapsulation Data

Free Standard Group: Open. Printing JTAPI Implementation Overview FSG Design Objective Oriented Encapsulation Data (attributes) Methods (constructor/destructor, setter/getter) Hierarchical Programming language neutral FSG Implementation C header files OO emulation Each "object" in object model is in one file Functions for each "object" that act as constructors, setters, getters, destructors Enumerations Some have fixed set of values (reference edge, sides, stitching type) Some are extensible (media type, input tray name, output bin name) 10 April 2006 1

Free Standard Group: Open. Printing JTAPI Object Model Job. Document. Page Job. Ticket. Info

Free Standard Group: Open. Printing JTAPI Object Model Job. Document. Page Job. Ticket. Info 1 1 1 0. . * Contact. Info Subscription 1 Job 1 1 1 0. . * Document 1 1 0. . * Page. Range Separator. Sheet 0. . * Force. Page 1 1 0. . * Insert. Sheet 1 0. . * Page. Overrides 1 0. . 1 Media Enumerations for attribute values Job. Document. Page 1 0. . * Destination 10 April 2006 0. . 1 Media 0. . 1 Folding 1 1 0. . 1 Hole. Making 1 1 1 0. . 1 Stitching 1 0. . 1 Binding 0. . 1 Trimming 2

Free Standard Group: Open. Printing Create Job Ticket Technical Review Job Submitter (Application -

Free Standard Group: Open. Printing Create Job Ticket Technical Review Job Submitter (Application - Java, C, C++) Set attributes/values Get Job Ticket JTAPI JT Creator Create JTAPI Implementation (Java, C, C++) Job with Job Ticket Submit Job to Printer or Print System 10 April 2006 3

Free Standard Group: Open. Printing Consume/Modify Job Ticket Technical Review Job from Submitter Print

Free Standard Group: Open. Printing Consume/Modify Job Ticket Technical Review Job from Submitter Print System (Java, C, C++) Get attributes/values Set attributes/values Get Job Ticket Job without Job Ticket JTAPI Create from Job Ticket JTAPI Implementation (Java, C, C++) Job with Job Ticket Submit Job to Printer 10 April 2006 4

Free Standard Group: Open. Printing Consume Job Ticket Technical Review Job from Print System

Free Standard Group: Open. Printing Consume Job Ticket Technical Review Job from Print System Job from Application or Print System Job without Job Ticket Job with Job Ticket C, C++) 10 April 2006 (Java, Create from Job Ticket Get attributes/values JTAPI Printer JTAPI Implementation (Java, C, C++) 5

Free Standard Group: Open. Printing Creating a JT Using the JTAPI 1. 2. Create

Free Standard Group: Open. Printing Creating a JT Using the JTAPI 1. 2. Create Job. Ticket. Info object Set Job. Ticket. Info attributes/values author name , type, comment, etc. 3. 4. Create Job object Associate Job with Job. Ticket. Info set job attribute in Job. Ticket. Info 5. Set Job attributes/values copy count, image alignment, priority, resolution, sides, etc. Create subordinate objects (Media, Stitching, Hole. Making, Insert. Sheets, etc. ) Set subordinate object attributes/values (media color/size, stitching type/count/reference edge, hole making count/edge) 6. Create Document object Optionally provide print file URI 7. Associate Document with Job set document attribute in Job Note: Multi-document jobs not supported in JTAPI 1. 0 10 April 2006 6

Free Standard Group: Open. Printing Creating a JT Using the JTAPI (cont) 8. Set

Free Standard Group: Open. Printing Creating a JT Using the JTAPI (cont) 8. Set Document attributes/values Note: media, finishing, image alignment, etc, to override job attributes not supported in JTAPI 1. 0 9. Create Page. Overrides object Note: Page. Overrides object not supported in JTAPI 1. 0 10. Associate Page. Overrides with Document or Job set page-overrides attribute in either Document or Job Note: Not supported in JTAPI 1. 0 11. Set Page. Overrides attributes/values Note: media, finishing, image alignment, etc, to override document or job attributes not supported in JTAPI 1. 0 12. 10 April 2006 Create Job Ticket from Job. Ticket. Info object 7

Free Standard Group: Open. Printing Consuming a JT Using the JTAPI 1. 2. Create

Free Standard Group: Open. Printing Consuming a JT Using the JTAPI 1. 2. Create Job. Ticket. Info object from Job Ticket Get Job. Ticket. Info attributes/values author name , type, comment, etc. 3. 4. Get Job object from Job. Ticket. Info Get Job attribute(s) value(s) copy count, image alignment, priority, resolution, sides, etc. Get subordinate objects (Media, Stitching, Hole. Making, Insert. Sheets) Get subordinate objects attributes/values (media color/size, stitching type/count/reference edge, hole making count/edge) 5. 6. Get Document object from Job Get Document attributes/values print file URI Note: media, finishing, image alignment, etc, to override job attributes not supported in JTAPI 1. 0 7. Get Page. Overrides object from Document or Job Note: Page. Overrides object not supported in JTAPI 1. 0 8. Get Page. Overrides attributes/values Note: media, finishing, image alignment, etc, to override document or job attributes not supported in JTAPI 1. 0 10 April 2006 8