Presentation is loading. Please wait.

Presentation is loading. Please wait.

Free Standard Group: OpenPrinting 1 10 April 2006 FSG Design Objective Oriented Encapsulation Data (attributes) Methods (constructor/destructor, setter/getter)

Similar presentations


Presentation on theme: "Free Standard Group: OpenPrinting 1 10 April 2006 FSG Design Objective Oriented Encapsulation Data (attributes) Methods (constructor/destructor, setter/getter)"— Presentation transcript:

1 Free Standard Group: OpenPrinting 1 10 April 2006 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) JTAPI Implementation Overview

2 Free Standard Group: OpenPrinting 2 10 April 2006 0..* Subscription 0..* SeparatorSheet 0..* ForcePage 0..* InsertSheet 0..* PageOverrides 0..* PageRange 1 0..1 11 JTAPI Object Model 1 1 JobDocumentPage JobTicketInfoJobDocument Media 0..1 1 1 111 11 ContactInfo 0..* 111 MediaFoldingHoleMakingStitchingBindingTrimming 0..1 JobDocumentPage 1 1 1 1 1 1 0..* Destination 0..* 1 1 Enumerations for attribute values

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

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

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

6 Free Standard Group: OpenPrinting 6 10 April 2006 1.Create JobTicketInfo object 2.Set JobTicketInfo attributes/values author name, type, comment, etc. 3.Create Job object 4.Associate Job with JobTicketInfo set job attribute in JobTicketInfo 5.Set Job attributes/values copy count, image alignment, priority, resolution, sides, etc. Create subordinate objects (Media, Stitching, HoleMaking, InsertSheets, 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 Creating a JT Using the JTAPI

7 Free Standard Group: OpenPrinting 7 10 April 2006 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 PageOverrides object Note: PageOverrides object not supported in JTAPI 1.0 10.Associate PageOverrides with Document or Job set page-overrides attribute in either Document or Job Note: Not supported in JTAPI 1.0 11.Set PageOverrides attributes/values Note: media, finishing, image alignment, etc, to override document or job attributes not supported in JTAPI 1.0 12.Create Job Ticket from JobTicketInfo object

8 Free Standard Group: OpenPrinting 8 10 April 2006 Consuming a JT Using the JTAPI 1.Create JobTicketInfo object from Job Ticket 2.Get JobTicketInfo attributes/values author name, type, comment, etc. 3.Get Job object from JobTicketInfo 4.Get Job attribute(s) value(s) copy count, image alignment, priority, resolution, sides, etc. Get subordinate objects (Media, Stitching, HoleMaking, InsertSheets) Get subordinate objects attributes/values (media color/size, stitching type/count/reference edge, hole making count/edge) 5.Get Document object from Job 6.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 PageOverrides object from Document or Job Note: PageOverrides object not supported in JTAPI 1.0 8.Get PageOverrides attributes/values Note: media, finishing, image alignment, etc, to override document or job attributes not supported in JTAPI 1.0


Download ppt "Free Standard Group: OpenPrinting 1 10 April 2006 FSG Design Objective Oriented Encapsulation Data (attributes) Methods (constructor/destructor, setter/getter)"

Similar presentations


Ads by Google