Not applicable.
The invention relates to the field of computing, and more particularly to a platform for generating a universal visual tree object which may be accepted by an operating system or other resource to condition and prepare printed page or other output, with no dependencies on output resolution or requiring special preparation by the source application sending the object to a printer or other output device.
The problem of generating reliable, accurate printed output on a printer or other output device has occupied application programmers, operating system designers, printer and other hardware engineers and others for some time. In general, printed, facsimile or other output has been subject to inconsistencies such as misaligned pages, improperly formed characters or fonts, limited or poorly executed effects such as shadowing or keming, or other problems due to the technical issues surrounding the printing chain.
For one, and as illustrated in
The application usually accesses an application programming interface (API) in the operating system to transmit that file to the operating system for output spooling and processing. The application may be required to conform to the API for instance by passing constituent text, numerical, graphical or other data as well as arguments and variables related to the resolution, font, page size and other characteristics of the output file. The API may then invoke other resources of the operating system to serialize or spool the file for transmission to the printer or other output device.
The operating system may communicate the spooled file or other data to a printer driver, for example a software interpreter or commands and functions, resident in the operating system or supplied by the hardware manufacturer. The printer driver may then transmit the resulting processed output data to the printer hardware via a serial, parallel or other connection. The printer or other output device may then process the received document or other object to generate a printed page, for instance using a print engine containing routines, fonts, logic control and other information which is embedded in the printer.
The series of conventional processing and conversion steps which translate an original source file to a form for ultimate printing introduces multiple chances for errors and incompatibilities between source data and physical output. For one thing, not all applications are aware of the font, effects and other processing limitations of given printers or other output devices. For another, the APIs presented to applications may be hardwired to specifications which do not permit substitution or extension of fonts or other effects or processing. Moreover, interposing a manufacturer-specific printer driver or other driver between the operating system and output device only increases the possibility of incompatible fonts, routines or commands. Other problems in printing and other output technology exist.
The invention overcoming these and other problems in the art relates in one regard to a system and method for generating resolution-independent output via a visual tree object, in which an application or other source may create, store and manipulate an abstracted visual tree object. The application or other source may transmit that visual tree object to an operating system for print or other output conditioning, for instance to parse that object to spool or serialize the content. The conditioned visual tree object may be communicated to a printer, copy machine or other output device in that form, for printing or other output. In embodiments, the visual tree object may retain its resolution independence throughout the print output process. The operating system and related resources may therefore directly receive and manipulate the visual tree object without reliance on an intermediate API or similar interface, and applications need not conform file parameters to API requirements. Because the same visual tree object is used for on-screen visual display as well as for printing and other output activity, the ability to match visually perceived displays to printed or other output is greatly enhanced.
The visual tree object 114 may in embodiments be or include a hierarchical data schema encapsulating a screen, text file, image file or other object for printing, facsimile transmission, copying or other output. The visual tree object 114 may be encoded, for example, in extensible markup language (XML) or other code, instructions or formats. According to embodiments, the application 112 may build the visual tree object 114 based on the textual, graphical or other elements of the file or content which the user has generated in application 112. For example, application 112 may as shown operate on a graphical image, textual or other content, whose elements or components may be enumerated in a tree-style or hierarchical data object.
According to embodiments of the invention in one regard, the application 112 may communicate the visual tree object 114 or other output content to an operating system 126 operating on client 108, to condition and transmit that content to printer 102 for printing or other output. In embodiments as shown, the visual tree object 114 may be transmitted to a print manager 116, which may contain control logic for initiating and generating printed or other output. In embodiments print manager 116 may be or include a built-in facility within operating system 126, which however does not require or depend on the presentation of APIs to application 112 to conduct printing setup and output operations. In embodiments, the visual tree object 114 may be, include or be embedded in or associated with an electronic document of the type described in the aforementioned copending U.S. patent application Ser. No. 10/______, attorney docket number MS1-2051US, entitled “Document Markup Methods and Systems”, or others.
Print manager 116 may in turn communicate with a spool engine 118. Spool engine 118 may contain logic or intelligence to serialize or otherwise decompose the visual tree object 114 for transmission to the printer or other output device as encoded visual tree object 122. Spool engine 118 may likewise be hosted or included within operating system 126. Spool engine 118 may communicate the encoded visual tree object 114 to a driver 120, which may be or include general or specific codes or routines to drive the encoded visual tree object 122 to printer 102 for printing or other output.
The driver 120 may transit the encoded visual tree object 114 to the printer over a connection such as a serial connection, a parallel connection, a universal serial bus (USB) connection, a wireless connection or other port or connection. The printer 102 may receive the encoded visual tree object 122 for processing and output. In embodiments, the printer 102 may contain a print engine 104 including an interpreter 106 or other print control logic, which may parse the visual tree object 122 and generate pixels or other output to be printed on pages, for example via a line or other output buffer. In embodiments interpreter 106 may be configured to decode electronic documents or commands of the type described in the aforementioned U.S. patent application Ser. No. 10/______, attorney docket number MS1-2051US, entitled “Document Markup Methods and Systems”, or others.
Moreover, since the content may be completely represented in a standard visual tree object 114 without dependency on APIs or idiosyncratic print functions based on individual manufacturer specifications, the visual tree object 114 may be constructed in a resolution-independent format. The scaling and other conditioning of the content for printing or outputting the visual tree object 114 on a given printer 102 may instead be performed in printer manager 116, spool engine 118 or other operating system or other resources. Again, electronic documents of the type described in copending U.S. patent application Ser. No. 10/______, attorney docket number MS1-2051 US, entitled “Document Markup Methods and Systems” or others may contain intermediate language or other interpretable or executable code, which may in one regard encode instructions for scaling, sizing, font or other content or effects. Further, since visual tree object 114 does not necessarily require conversion steps before being sent to print or other output, a round-trip transmission of the visual tree object 114 is possible according to embodiments of the invention. Thus for instance print manager 116 may store a visual tree object 114 before or after it has been printed or otherwise output to a file. A viewer tool or other application or resource may then be able to view that object in the form in which it was displayed, printed or otherwise processed or output, for instance to preview, print or otherwise manipulate that object at a later time.
In step 408, the visual tree object 114 may be communicated to print manager 116 or other print control logic, for instance hosted in an operating system or other resource. In step 410, the visual tree object 114 may be transmitted to spool engine 118 or other conditioning logic, for instance to generate an encoded visual tree object 122, for instance containing a corresponding sequence of serialized data or commands. In embodiments, the encoded visual tree object 122 may be, include or be embedded in or associated with an electronic document of the type described in the aforementioned U.S. patent application Ser. No. 10/______, attorney docket number MS1-2051US, entitled “Document Markup Methods and Systems”, or otherwise. The conditioning performed on visual tree object 114 may in one regard preserve the structure of that object, so that in one regard that change in form of the visual tree object 114 may be thought of as an isomorphic transform. In step 412, the encoded visual tree object 122 may be transmitted to driver 120, such as a printer driver or other output interface or resource. In step 414, the encoded visual tree object 122 may be transmitted to printer 102 or other output device, for instance via a serial port, parallel port, USB connection, wireless connection or other port or connection.
In step 416, the encoded visual tree object 122 may be received in printer 102 or other output device, for instance being stored into electronic memory or otherwise.
In step 418, the encoded visual tree object 122 may be interpreted, executed, decoded or otherwise processed in print engine 104 of printer 102, for example rasterizing an image object or initiating fonts, routines, effects or other data. In step 420, the printed page or other physical or media output may be generated, for instance on paper or other media. In step 422, processing may repeat, return to a prior processing point, jump to a further processing point or end.
The foregoing description of the invention is illustrative, and modifications in configuration and implementation will occur to persons skilled in the art. For instance, while the invention has generally been described in terms of an application or other source passing a single visual tree object 114 to a printer 102, in embodiments multiple or combined visual tree objects may be transmitted to the printer or other o device for outputting.
Similarly, while the invention has in embodiments been described as involving a visual tree object 114 whose internal structure is built on a two dimensional descending tree, in embodiments the visual tree object 114 may contain other internal structures, such as three-dimensional trees or lattices, four (or more) dimensional objects, or other configurations structures. Other hardware, software or other resources described as singular may in embodiments be distributed, and similarly in embodiments resources described as distributed may be combined. Further, while the invention has generally as operating in conjunction with one or more local applications which generate the visual tree object 114, in embodiments the visual tree object 114 may originate from other sources, such as distributed Web or other applets, be read from media, downloaded from the Internet or be derived or receive from other sources. The scope of the invention is accordingly intended to be limited only by the following claims.
The subject matter of this application is related to the subject matter of co-pending U.S. patent application Ser. No. 10/______ filed Apr. 30, 2004, attorney docket number MS1-2051US, entitled “Document Markup Methods and Systems”, which application is assigned or under obligation of assignment to the same entity as this application, and which application is incorporated by reference herein; and to the subject matter of co-pending U.S. Provisional Application Ser. No. 60/567,173 filed May 3, 2004, entitled “System and Method for Generating Resolution-Independent Output Via Visual Tree Object”, which application is assigned or under obligation of assignment to the same entity as this application, from which application priority is claimed, and which application is incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
60567173 | May 2004 | US |