USRE37258E1 - Object oriented printing system - Google Patents

Object oriented printing system Download PDF

Info

Publication number
USRE37258E1
USRE37258E1 US09/173,465 US17346598A USRE37258E US RE37258 E1 USRE37258 E1 US RE37258E1 US 17346598 A US17346598 A US 17346598A US RE37258 E USRE37258 E US RE37258E
Authority
US
United States
Prior art keywords
printer
print
data
print job
handler
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
US09/173,465
Inventor
Jayendra Natubhai Patel
Ryoji Watanabe
Mark Peek
L. Bayles Holt
Mahinda K. de Silva
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apple Inc
Original Assignee
Object Technology Licensing Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Object Technology Licensing Corp filed Critical Object Technology Licensing Corp
Priority to US09/173,465 priority Critical patent/USRE37258E1/en
Application granted granted Critical
Publication of USRE37258E1 publication Critical patent/USRE37258E1/en
Assigned to APPLE INC. reassignment APPLE INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: OBJECT TECHNOLOGY LICENSING CORPORATION
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1206Improving or facilitating administration, e.g. print management resulting in increased flexibility in input data format or job format or job type
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1244Job translation or job parsing, e.g. page banding
    • G06F3/1247Job translation or job parsing, e.g. page banding by conversion to printer ready format

Definitions

  • the invention generally relates to improvements in computer systems and, more particularly, to operating system software for printing documents.
  • a computer system generally includes a printing device which is electrically connected to the computer system and controlled by it in order to generate a permanent image on a selected medium.
  • printing devices in common use are dot matrix, ink jet and laser printers which fix permanent images on paper under control of the computer. Although paper is the most common medium, other media are often used, such as photographic film.
  • the print medium In order to print a document which is displayed on the monitor or stored, within the memory, several actions must take place.
  • the print medium generally has a fixed size, the printable information must be divided into pieces which are small enough to fit on the selected medium, a process which is called pagination.
  • the information may need to be reformatted from the format in which it is either displayed or stored into a format which is suitable for controlling the printing device to actually perform the printing on the medium.
  • the reformatting in this latter step may include the insertion of control commands into the printable information in order to control the printing device. These added commands may, for example, include such commands as carriage returns, line feeds, form feeds, spaces and font information, all of which format the printable information.
  • the reformatting may also include a conversion step in which a graphical display is converted into the form used by the printing device.
  • the pagination and reformatting necessary to convert the printable information into a form which can be printed on a given printing device is generally performed by software programs running within the computer system.
  • Software programs operating on a computing system generally can be categorized into two broad classes: operating systems which are usually specific to a type of computer system and consist of a collection of utility programs that enable the computer system to perform basic operations, such as storing and retrieving information on a peripheral disk memory, displaying information on an associated video display, performing rudimentary file operations including the creation, naming and renaming of files and, in some cases, performing diagnostic operations in order to discover or recover from malfunctions.
  • the operating system generally provides only very basic functions and must be accompanied by an “application” program.
  • the application program interacts with the operating system to provide much higher level functionality and a direct interface with the user.
  • the application program typically makes use of operating system functions by sending a series of task commands to the operating system which then performs the requested tasks.
  • the application program may request that the operating system store particular information on the computer disk memory or display information on the video display.
  • FIG. 1 is a schematic illustration of a typical computer system utilizing both an application program and an operating system.
  • the computer system is schematically represented by dotted box 100
  • the application program is represented by box 102
  • the operating system by box 106 .
  • the interaction between the application program 102 and the operating system 106 is illustrated schematically by arrow 104 .
  • This dual program system is used on many types of computers systems ranging from mainframes to personal computers.
  • FIG. 1 represents a prior art personal computer system.
  • the application program 102 interacts (as shown schematically by arrow 108 ) with printer driver software 110 .
  • Printer driver software 110 is generally associated with an application program and reformats and converts the printable information as necessary. Since each printer has its own particular format and control command set, which must be embedded in the text properly to control the printer, the printer driver software 110 must be specifically designed to operate with one printer or one type of printer.
  • the printer driver software 110 produces a reformatted information stream containing the embedded commands as shown schematically as arrow 114 .
  • the converted information stream is, in turn, applied to a printer port 112 which contains circuitry that converts the incoming information stream into electrical signals.
  • the signals are, in turn, sent over a cable 116 to the printer 118 .
  • Printer 118 usually contains an “imaging engine” which is a hardware device or a ROM-programmed computer which takes the incoming information stream and converts it into the electrical signals necessary to drive the actual printing elements. The result is a “hard copy” output on the selected medium.
  • printer driver software 110 is specific to each type of printer, a separate driver had to be provided for each printer type with which the application program is to operate.
  • the printer driver software 110 In the personal computer market, there are a large number of different printer types that are compatible with each type of computer and, therefore, as the number of printer types proliferated, so did the number of printer drivers which were required for each application program so that the program was compatible with most available printers. Therefore, application program developers had to provide larger and larger numbers of printer drivers with each application program, resulting in wasted time and effort and wasted disk space to hold the drivers, only one or two of which were of interest to any particular user. Unfortunately, if a user purchased an application program and it did not include a printer driver which could control the printer which the user owned, unpredictable operation occurred, resulting in program returns and user dissatisfaction.
  • FIG. 2 In order to overcome the aforementioned difficulties, the prior art arrangement was modified as shown in FIG. 2 .
  • computer system 200 is still controlled by application program 202 which cooperates, as shown schematically by arrow 204 , with operating system 206 .
  • operating system 206 includes printer drivers 214 .
  • a separate printer driver must still be provided for each different type of printer, but the printer drivers are sold with, and part of, the operating system. Consequently, it is not necessary for each application program to have its own set of printer drivers.
  • An application program such as application program 202 , communicates with the printer driver 214 by means of a standardized interface 210 . Two common interfaces are called “grafports” or “device contexts”.
  • application program 202 provides information (shown schematically shown by arrow 208 ) in a standardized form to the grafport 210 .
  • the grafport 210 forwards information, as shown by arrow 212 , to printer driver 214 which reformats and converts the information as previously described into the format required by the printer.
  • printer driver 214 is provided (illustratively shown as arrow 216 ) to printer port 218 where it is converted to electrical signals that are transmitted, via cable 220 , to the printer 222 .
  • the configuration shown in FIG. 2 has the advantage that the application program developer need not worry about the specific computer and printer combination on which the program will ultimately run in order to provide printing capabilities to the application program. However, it still suffers from the drawback that, if desired, high level printing capabilities such as pagination and page composition must still be designed into each application program, thereby duplicating program code and wasting programming resources.
  • an object-oriented printing interface includes document grouping or folio objects which, once instantiated provide complete and flexible printing capability that is transparent to the application program.
  • the printing interface objects include objects that provide query, data transfer, and control methods.
  • the inventive object-oriented printing interface communicates with the remainder of the operating system by means of a standard interface such as a grafport and printer drivers are provided for each printer type within the operating system.
  • a standard interface such as a grafport
  • printer drivers are provided for each printer type within the operating system.
  • the printing system includes objects that provide queries for device identification, optimized imaging, and printer status. Other objects are also provided for data transfer to bracket connections prior to sending and receiving information. Still other objects are provided for canceling a print job, pausing a job, and clearing out a job. Finally, an object is also provided for supporting multiple streams of communication to an imaging task.
  • FIG. 1 is a schematic block diagram of a prior art computer system showing the relationship of the application program to the operating system and the printer driver in the prior art;
  • FIG. 2 is a schematic block diagram of a modification of the prior art system shown in FIG. 1 to allow the application program to interface to a standard printing interface in the prior art;
  • FIG. 3 is a block schematic diagram of a computer system, for example, a personal computer system on which the inventive object-oriented printing interface operates in accordance with a preferred embodiment
  • FIG. 4 is a schematic block diagram of modified computer system in which the operating system includes an inventive object-oriented printing interface in accordance with a preferred embodiment
  • FIG. 5 is a block schematic diagram of the information paths and hardware by which printable information is channeled through intermediate storage to a print device in accordance with a preferred embodiment
  • FIG. 6 shows how the personality document is used by different parts of the printing system in accordance with a preferred embodiment
  • FIG. 7 details the printer handler components and their interactions in accordance with a preferred embodiment
  • FIG. 8 illustrates the relationship between various printer handler classes in accordance with a preferred embodiment
  • FIG. 9 is a block diagram of local printing in accordance with a preferred embodiment.
  • FIG. 10 is a block diagram of remote imaging in accordance with a preferred embodiment
  • FIG. 11 is a block diagram of local imaging in accordance with a preferred embodiment.
  • FIG. 12 is a block diagram of local imaging to a networked printer.
  • FIG. 3 illustrates a typical hardware configuration of a computer 300 in accordance with the subject invention.
  • the computer 300 is controlled by a central processing unit 302 , which may be a conventional microprocessor; a number of other units, all interconnected via a system bus 308 , are provided to accomplish specific tasks.
  • a particular computer may only have some of the units illustrated in FIG. 3 or may have additional components not shown, most computers will include at least the units shown.
  • computer 300 shown in FIG. 3 includes a random access memory (RAM) 306 for temporary storage of information, a read only memory (ROM) 304 for permanent storage of the computer's configuration and basic operating commands and an input/output (I/O) adapter 310 for connecting peripheral devices such as a disk unit 313 and printer 314 to the bus 308 , via cables 315 and 312 , respectively.
  • a user interface adapter 316 is also provided for connecting input devices, such as a keyboard 320 , and other known interface devices including mice, speakers and microphones to the bus 308 .
  • Visual output is provided by a display adapter 318 which connects the bus 308 to a display device 322 such as a video monitor.
  • the workstation has resident thereon and is controlled and coordinated by operating system software such as the Apple System/7, operating system.
  • the invention is implemented in the C++ programming language using object-oriented programming techniques.
  • C++ is a compiled language, that is, programs are written in a human-readable script and this script is then provided to another program called a compiler which generates a machine-readable numeric code that can be loaded into, and directly executed by, a computer.
  • the C++ language has certain characteristics which allow a software developer to easily use programs written by others while still providing a great deal of control over the reuse of programs to prevent their destruction or improper use.
  • the C++ language is well-known and many articles and texts are available which describe the language in detail.
  • C++ compilers are commercially available from several vendors including Borland International, Inc. and Microsoft Corporation. Accordingly, for reasons of clarity, the details of the C++ language and the operation of the C++ compiler will not be discussed further in detail herein.
  • OOP Object-Oriented Programming
  • objects are software entities comprising data elements and routines, or functions, which manipulate the data elements.
  • the data and related functions are treated by the software as an entity and can be created, used and deleted as if they were a single item.
  • the data and functions enable objects to model virtually any real-world entity in terms of its characteristics, which can be represented by the data elements, and its behavior, which can be represented by its data manipulation functions.
  • objects can model concrete things like people and computers, and they can also model abstract concepts like numbers or geometrical designs.
  • Objects are defined by creating “classes” which are not objects themselves, but which act as templates that instruct the compiler how to construct the actual object.
  • a class may, for example, specify the number and type of data variables and the steps involved in the functions which manipulate the data.
  • An object is actually created in the program by means of a special function called a constructor which uses the corresponding class definition and additional information, such as arguments provided during object creation, to construct the object. Likewise objects are destroyed by a special function called a destructor. Objects may be used by using their data and invoking their functions.
  • objects can be designed to hide, or encapsulate, all, or a portion of, the internal data structure and the internal functions. More particularly, during program design, a program developer can define objects in which all or some of the data variables and all or some of the related functions are considered “private” or for use only by the object itself. Other data or functions can be declared “public” or available for use by other programs. Access to the private variables by other programs can be controlled by defining public functions for an object which access the object's private data. The public functions form a controlled and consistent interface between the private data and the “outside” world. Any attempt to write program code which directly accesses the private variables cause the compiler to generate an error during program compilation which error stops the compilation process and prevents the program from being run.
  • Polymorphism is a concept which allows objects and functions which have the same overall format, but which work with different data, to function differently in order to produce consistent results.
  • an addition function may be defined as variable A plus variable B (A+B) and this same format can be used whether the A and B are numbers, characters or dollars and cents.
  • the actual program code which performs the addition may differ widely depending on the type of variables that comprise A and B.
  • Polymorphism allows three separate function definitions to be written, one for each type of variable (numbers, characters and dollars). After the functions have been defined, a program can later refer to the addition function by its common format (A+B) and, during compilation, the C++ compiler will determine which of the three functions is actually being used by examining the variable types. The compiler will then substitute the proper function code.
  • Polymorphism allows similar functions which produce analogous results to be “grouped” in the program source code to produce a more logical and clear program flow.
  • the third principle which underlies object-oriented programming is inheritance, which allows program developers to easily reuse pre-existing programs and to avoid creating software from scratch.
  • the principle of inheritance allows a software developer to declare classes (and the objects which are later created from them) as related.
  • classes may be designated as subclasses of other base classes.
  • a subclass “inherits” and has access to all of the public functions of its base classes just as if these function appeared in the subclass.
  • a subclass can override some or all of its inherited functions or may modify some or all of its inherited functions merely by defining a new function with the same form (overriding or modification does not alter the function in the base class, but merely modifies the use of the function in the subclass).
  • the creation of a new subclass which has some of the functionality (with selective modification) of another class allows software developers to easily customize existing code to meet their particular needs.
  • an application framework for a user interface might provide a set of predefined graphic interface objects which create windows, scroll bars, menus, etc. and provide the support and “default” behavior for these graphic interface objects.
  • application frameworks are based on object-oriented techniques, the pre-defined classes can be used as base classes and the built-in default behavior can be inherited by developer-defined subclasses and either modified or overridden to allow developers to extend the framework and create customized solution in a particular area of expertise.
  • This object-oriented approach provides a major advantage over traditional programming since the programmer is not changing the original program, but rather extending the capabilities of the original program.
  • developers are not blindly working through layers of code because the framework provides architectural guidance and modeling and, at the same time, frees the developers to supply specific actions unique to the problem domain.
  • frameworks There are many kinds of application frameworks available, depending on the level of the system involved and the kind of problem to be solved.
  • the types of frameworks range from high-level application frameworks that assist in developing a user interface, to lower-level frameworks that provide basic system software services such as communications, printing, file systems support, graphics, etc.
  • Commercial examples of application frameworks include MacApp (Apple), Bedrock (Symantec), OWL (Borland), NeXT Step App Kit (NEXT), and Smalltalk-80 MVC (ParcPlace).
  • a system framework such as that included in a preferred embodiment, can provide a prefab functionality for system level services which developers can modify or override to create customized solutions, thereby avoiding the awkward procedural calls necessary with the prior art application frameworks programs.
  • a printing framework which could provide the foundation for automated pagination, pre-print processing and page composition of printable information generated by an application program.
  • An application software developer who needed these capabilities would ordinarily have to write specific routines to provide them. To do this with a framework, the developer only needs to supply the characteristics and behavior of the finished output, while the framework provides the actual routines which perform the tasks.
  • a preferred embodiment takes the concept of frameworks and applies it throughout the entire system, including the application and the operating system.
  • frameworks such as MacApp
  • FIG. 4 shows a schematic overview of an computer system utilizing the object-oriented printing interface of the present invention.
  • the computer system is shown generally as a dotted box 400 , and an application program 402 and an operating system 406 are provided to control and coordinate the operations of the computer.
  • Application program 402 communicates with operating system 406 as indicated by arrow 404 .
  • application program 402 can now communicate with operating system 406 at a higher level when it wishes to print information. This latter interaction is accomplished by providing an object-oriented printing interface shown schematically as box 424 .
  • printing interface 424 responds to a series of simple commands generated by application program 402 in order to perform various formatting and pagination functions.
  • the formatted, printable information is then transmitted to a grafport 410 as indicated schematically by arrow 426 . It is possible for application program 402 to communicate directly with grafport 410 as in the prior art arrangement, however, it is not contemplated that most applications will do this unless special procedures are needed.
  • printer handler 414 is similar to printer drivers previously described. However, it is “intelligent” and offers some additionally capabilities which will be described herein. Essentially, printer handler 414 processes the incoming data stream indicated by arrow 412 and adds the necessary printer commands to control the associated printer schematically illustrated as printer 422 .
  • the reformatted data is provided, as indicated by arrow 416 , to a printer port 418 which converts the data into electrical signals that are sent over cable 420 to printer 422 .
  • printing interface 424 (as will hereafter be described in detail) generates an entity called a document folio shown schematically as document folio 500 in FIG. 5 .
  • the document folio may consist of text, graphics or a combination of the two, all formatted and arranged in a manner specified by the application program.
  • the document folio information is provided, as indicated by arrow 512 , to a print channel 502 .
  • Print channel 502 is an object which is created to transport the information to an appropriate printer. Print channel uses a print job description and a printer identification provided by the application program to transmit the printable information to the appropriate printer.
  • the print channel 502 After the print channel 502 receives a printing job, it transmits the printable information to a spooler program 518 as indicated by arrow 514 .
  • Spooler 518 receives the incoming information stream and stores it, in incoming order, in an intermediate storage location 522 as indicated by arrow 520 .
  • Print channel 502 then sends a notification to a print server program 506 via a link 504 , which notification informs print server program 506 that a new print job exists.
  • the print server program 506 is standard program which monitors all print jobs that have been created and also checks the available printers to determine their status.
  • the print server 506 notifies a printer handler 510 by means of a link 508 .
  • the printer handler 510 is type of printer driver which controls and drives a specific printer; its purpose is to convert text and graphic information into printer readable form for any particular printer type. Typically, a printer handler can only process one print job and any other jobs that are created and directed towards the associated printer are queued for later processing.
  • the printer handler contains a despooler program (indicated as box 516 ) which retrieves the spooler data from intermediate storage 522 (as indicated by arrow 524 ) and provides the information, as indicated by arrow 526 , to an imaging engine schematically illustrated as box 532 .
  • the imaging engine 532 converts the incoming data stream into the command signals which are necessary to drive the printing elements to produce the final printed document.
  • the commands, indicated schematically by arrow 430 are provided to the actual print device indicated by box 528 for printing.
  • the printer handler 510 checks its queue for another print job and, if a job is present, begins processing it. Alternatively, if there are no new print jobs to process, the printer handler becomes inactive. After a particular print job is completed, the information stored in intermediate storage in 522 is deleted and the storage is reclaimed. As an option, the storage can retained until a user explicitly deletes the storage.
  • the printer handler framework facilitates creation of frameworks for different types of printers like PostScript, raster, vector, and PCL.
  • a preferred embodiment provides a framework that is extensible so that new printers can be added to the system very easily. This includes printers with new imaging models, communication protocols, etc.
  • the preferred embodiment also provides a framework that does most of the work to support a printer and at the same time provides enough flexibility for developer customization.
  • the preferred embodiment also allows developer customization at various times during the printing process.
  • Customization occurs at the desktop printer level for presenting device specific user interface, at print time for setting print time features (like duplex printing, multi-bin paper feeding, etc.), at imaging time, by providing a way to access the device at the beginning/end of document and page, and by providing a way to customize rendering of graphics model primitives. Finally, at the device level to support different communication protocol(s).
  • printer handler framework All printer manufacturers are clients of the printer handler framework.
  • a client that uses a framework to design PostScript, raster, vector, and PCL printer handler frameworks. Developers start from one of these special types of frameworks and customize it for their printers. For example, a PostScript printer developer (like QMS or Linotype) would use the PostScript printer framework, a plotter developer (like CalComp) would customize the vector printer handler framework.
  • the desktop printer is the only user visible part of the printer. All user actions (commands) related to the printer are handled by this object.
  • a document When a document is to be printed, it is dragged to the printer icon (or the Print item is selected from the system wide menu).
  • This starts the printing process by first spooling the document by packaging it as a print job. Spooling is a process of streaming the graphic description of a document to the disk so it can be imaged later (possibly in a different task) to the actual printing device represented by the desktop printer.
  • the spooled print job is stored in the printer's persistent data which consists mainly of the print job queue and the printer's dynamic configuration.
  • the printer handler After the print job is spooled, the printer handler is sent a message that there is a print job for it to process.
  • the printer handler picks up the print job, despools it, converts it to the printer's native imaging model and sends it to the printer.
  • a reference to a printer in a preferred embodiment really mean a printer model and its associated files, which includes the printer handler.
  • a model is a class that is subclassed from an existing class. Since all user visible entities on a system are models, or the interface presented by them, it makes sense to talk about a printer this way.
  • Each printer model keeps its persistent data (job queue, configuration, etc.) in its model store.
  • the model store provides a way for a model to create separate files that it alone manages. It has protocol for interfacing to a file system.
  • the printer “component” has certain dependencies that must be satisfied when it is moved between machines or enclosed in a business card.
  • a printer is typically dependent on its personality document, the shared library and archive for the system classes that implement the printer, and the shared library and archive for the developer supplied customizations.
  • a printer handler When a user “installs” a printer handler in the system, it is immediately available for direct connect devices or in the network browser for network devices. This processing is facilitated by creating a physical model for a direct connect device and a service adapter is “registered” for a network device.
  • a physical device object represents a real device that can be connected directly to the computer (as opposed to available on the network). It is capable of creating a subclass that represents the device.
  • a service adapter indicates the directory protocols (AppleTalk Name Binding Protocol-(NBP), Domain Naming System(DNS) etc.) and service identifiers (“LaserWriter”) it can handle and is called on by a directory service to create a model for a service available on a physical directory.
  • a user connects the printer to the computer (for serial devices) and then drags a document to it.
  • a document is dragged to the printer in the network browser or the printer is dragged to the desktop and then the document is dragged to it.
  • a personality document is supplied by the device manufacturer.
  • the printer personality “document” contains instances of objects, just the data, that implement a particular printer. In other words, it is a shared library without code—just the archive. Examples of objects in the personality document are the printer configuration, print job description which specifies the print time options available on the printer, and the print device object that converts the graphic data into the printer's imaging model.
  • FIG. 6 shows how the personality document is used by different parts of the printing system.
  • the personality document supplied by the developer is used in read-only mode by the printing system.
  • the desktop printer and the printer handler “read” this document to access its personality objects polymorphically.
  • the analogy of a printer model and its personality to an application and its document implies that a printer model can “read” many personality documents. However, in most cases there is only one personality document per printer because a printer model represents one physical printer. In the case where the user has more than one printer of the same type (for example, two LaserWriter IIg printers), one personality document may be “shared” by multiple printers.
  • the desktop printer obtains user interface objects from the personality (the objects that present the user with printer configuration, features and settings that can be manipulated).
  • the printer handler gets imaging objects from the personality and calls on them to reproduce the document on the printer. Once the printer's dynamic state is added to its persistent store, both the desktop printer and the printer handler refer to it for the printer's configuration.
  • a personality document is created for each type of printer that a printer handler is created for. The document is created and given to the developer of that type of printer. The developer can “edit” the instance data of objects or replace them with the printer specific implementations.
  • FIG. 7 details the printer handler components and their interactions in accordance with a preferred embodiment
  • FIG. 8 illustrates the logical relationship between various printer handler classes in accordance with a preferred embodiment.
  • the printer handler server team is started by the desktop printer when a print command is initiated by either dragging the document to it or selecting the Print command from one of the menus.
  • the printer handler program creates a dispatch giving it a dispatcher and a message stream to be used as a transport between the client and the server.
  • the dispatch task combines the transport and the dispatcher to create the printer handler server.
  • the printer handler consists of a dispatcher and an imaging task.
  • the dispatcher is a task that handles requests to print jobs and sends them to the imaging task so that the server task is free to handle other requests (more print jobs, status queries, notification, etc.).
  • the printer handler architecture allows for more than one task working on print jobs. Instead of having only one imaging task, the printer handler dispatcher can have a pool of tasks that access the job queue and pick up a job to process. This way, the printer handler can be processing multiple jobs at the same time. If the target printer can accept only one job at a time, only one imaging task will be talking to it at a given time.
  • the multiple imaging tasks model works well when the destination is a spooler that can accept more than one job at a time. Each job in the queue will know the task that is processing it so things like abort, pause, etc. can function properly.
  • the printer handler task is started by the desktop printer when a print command is initiated by either dragging the document to the printer icon or selecting the Print command from one of the menus.
  • the desktop printer has a client class that starts up the server.
  • the client class provides the protocol for calling “remote” procedures that are implemented in other objects, tasks, or servers.
  • the printer handler program creates a transport and a dispatcher to create the printer handler server.
  • the printer handler consists of a dispatcher and an imaging task.
  • the dispatcher handles requests to print jobs and sends them to the imaging task so that the server task is free to handle other requests (more print jobs, status queries, notification, etc.).
  • the printer handler architecture allows for more than one task working on print jobs. Instead of having one imaging task, the printer handler dispatcher has a pool of tasks that access the job queue and pick a job to process. This way, the printer handler can be processing multiple jobs at the same time. If the target printer can accept only one job at a time, only one imaging task communicates to it at a given time.
  • the multiple imaging tasks function efficiently when the destination is a spooler that can accept more than one job at a time. Each job in the queue understands the task that is processing it so things like abort, pause, etc. are managed properly.
  • the printer handler imaging task receives one job at a time. It uses the developer customizable imaging objects to convert the source description of the document into a stream of data targeted for a particular printer.
  • the imaging task obtains a spool stream from the print job and passes it to the a printer device object.
  • the printer device object extracts individual pages out of the print run and converts the individual pages into the printer's imaging model.
  • the imaging objects also perform the task of mapping the attributes requested by the print job (page size, media, color, fonts, etc.) to features actually available on the printer. This processing is achieved by consulting the printer's dynamic state maintained by the printer handler.
  • the imaging objects produce an output stream that is sent to the output device.
  • the framework for a specific type of printer defines an appropriate class.
  • the PostScript printer handler framework defines a class whose subclass talks with a printer using the AppleTalk Printer Access Protocol (PAP).
  • PAP AppleTalk Printer Access Protocol
  • a TCP/IP based printer can be easily supported by subclassing the same class.
  • the printer handler is responsible for keeping track of the printer's persistent data, in particular, its job queue and dynamic state.
  • the dynamic state contains things like the current media/tray setting, current color mode (2, 3 or 4 colors), etc. Since each printer would want to save different things in its dynamic state, there is a class that developers can subclass to add printer specific features. For the most part, it is this class that will be streamed out to the printer's persistent data store.
  • the default implementation of the persistent data store will be a dictionary, although the developer is free to use some other storage scheme. Since the printer's state is persistent, the printer handler can be easily restarted in case of a crash or system shutdown.
  • the printer state which is part of the printer model's store, is updated when the printer handler images a job to it and finds that the state has changed.
  • This scheme works when the printer handler has two-way communication available with the printer. In cases when two-way communication is not available, the printer handler will rely on the printer's static configuration.
  • the printer handler framework employs the same facilities provided by standard frameworks. It is standard procedure to report normal progress information to the user as a print job progresses. There are two types of statuses that a printer handler might want to report. The first is the global status of the job, for example, “Processing page 3 of 50”, or “Printing 4th out of 10 copies”, etc. This type of global job status is common for all printers and can be provided easily by the framework. The second kind of status is one that comes directly from the printer, for example, “user: Jay Patel; job: Printer Handler ERS; status: busy; source: AppleTalk”. Some printers may not report this type of status at all.
  • TPrinterHandler class TPrinterHandler public MRemoteDispatcher ⁇ public: TPrinterHandlero( ); virtual-TPrinterHandler( ); private: // Server Requests // Every XXXRequest method unflattens arguments, if any, and then // calls the corresponding HandleXXX method. It then calls // ReturnSuccess and flattens results to the result stream.
  • Job Queue Management // Requests that apply to all jobs in the queue void GetAllJobsRequest( ); void AbortAllJobsRequest( ): void DeferAllJobsRequest( ); void UndeferAllJobsRequest( ); void DeferAllJobsUntilRequest( ); // Requests that apply to one job in the queue void AddJobRequest( ); // RemoveJobRequest will abort the job if it is currently being processed. // Otherwise, the job will be removed from the queue.
  • TPrinterHiandler is a base class that provides protocol for dispatching server requests. The corresponding client class TPrinterHandlerCaller is described later.
  • TPrinterHandler maintains a job queue for the printer. This queue is semaphore protected to allow concurrent access by the printer handler and an imaging task. GetImagingTask creates a TPrinterImagingTask giving it an exchange to communicate with (an exchange provides a place to send messages to and receive messages from).
  • TPrinterImagingTask is given one job at a time to process (by AddJobRequest). When the job is finished, it notifies the printer handler so it can decide what to do with the job.
  • GetStatusOfJobRequest returns status of a job in the job queue. For the job being processed currently, the status reported is the “global” job status described earlier. There are two ways this could be implemented. One way is for the TPrintDevice subclass to post the status (perhaps a TText) periodically at a global location which the printer handler returns to the client in GetStatusRequest method. Another way is to implement a helper task to get status from the TPrintDevice subclass. For any other job (not currently being processed), the status that is returned might be the number of pages in the job (if that's appropriate), how far down the queue this job is, etc.
  • TPrinterHandlerCaller class TPrinterHandlerCaller protected MRemoteCaller ⁇ public: TPrinterHandlerCaller(TSenderTransport*); virtual-TPrinterHandlerCaller( ); // Remote requests // These are called by TPrinterModel's command handlers virtual TPrintJobQueue* CreateJobIterator( ); virtual void AbortAllJobs( ); virtual void DeferAllJobs( ); virtual void UndeferAllJobs( ); virtual void DeferAllJobsUntil( ); virtual void AddJob(TPrintJobSurrogate&); virtual void RemoveJob(const TPrintJobSurrogate&); virtual void PauseJob(const TPrintJobSurrogate&); virtual void DeferJobRequest(const TPrintJobSurrogate&); virtual void UndeferJobRequest(const TPrintJob
  • a TPrinterHandlerCaller is instantiated in the printing task (the task that initiates printing, probably a compound document) by the TPrinterModel. It uses a transport to send a request to the printer handler task.
  • the transport can be local or remotely located.
  • the printer handler to be on a remote machine.
  • a reference to an already-registered service (like a network printer) required by the transport is known to the printer that the document is being printed on.
  • TServiceReference is obtained from the network.
  • TPrinterHandlerCaller's methods are called by the printer model's commands which are called by the document framework in response to user actions.
  • TPrinterImagingTask class TPrinterImagingTask public TTaskProgram ⁇ public: TPrinterImagingTask(TIPCExchange*); virtual ⁇ TPrinterImagingTask( ); // TTaskProgram override virtual void Run( ); // Support methods to handle different types of messages from the // Printer Handler. // The messages that this task will receive are: // AbortJob // PauseJob // GetStatus // ProcessJob // etc. // . . . . . ⁇ ;
  • TPrinterImagingTask which is created by the printer handler, performs the task of imaging print jobs and supplying progress information for the same.
  • the constructor receives a TIPCExchange that the imaging task uses to communicate with the printer handler.
  • a TIPCExchange that the imaging task uses to communicate with the printer handler.
  • IPC Inter-Process Communication
  • the second method makes the implementation more structured (avoids a switch statement) but involves writing more code.
  • ProcessJob gets a TPrintJobSurrogate as a parameter.
  • the imaging task gets to the print job.
  • a print job has a reference to the printer's persistent data (a TDiskDictionary) that keeps the spooled image of the document, a reference to the printer that the job was targeted to, etc.
  • the printer reference lets call it TPrinterIdentity
  • TPrintDevice subclass for the printer.
  • the imaging task gets the spool stream and the job description (TPrintJobDescription) out of the job's persistent data and asks the print device to process it.
  • TPrintDevice class TPrintDevice public MCollectible ⁇ public virtual ⁇ TPrintDevice( ); // Don't override these: override the HandleXXX methods below. virtual void RenderPrintRun(const TPrintRun&,const TPrintJobDescription&.
  • virtual void HandleBeginPage( ); virtual void HandleRenderPage( ) 0; // You must override this to convert the page to the printer imaging model.
  • TPrintDevice converts a document to the printer imaging model. It provides an abstract interface to access page and job information and to process the job (a Print Run) and each page. Subclasses implement HandleRenderPage method to convert the page data to the printer imaging model.
  • TPrintDevice is one of the objects that will be included in the personality document that the developer can edit or subclass. Therefore, it is possible for the developer to supply an implementation for converting the document to the printer imaging model.
  • TPrintDevice is resurrected from the printer personality by the imaging task.
  • RenderPrintRun is called with a TPrintRun, TPrintJobDescription, and a TPrinterIdentity.
  • RenderPrintRun calls HandleBeginPrintRun.
  • HandleRenderPrintRun and HandleEndPrintRun.
  • the reason for providing the begin and end methods is so that the subclasses can send some global commands to the printer before and after the document is processed.
  • the default implementation of HandlePrintRun goes through the print-run in forward order and calls RenderPage for each page. Subclasses can override this to “play” the document in any random order they like.
  • RenderPage calls HandleBeginPage, HandleRenderPage and HandleEndPage. Again, the reason for providing the begin and end methods is so subclasses can send page level global commands to the printer.
  • the TPrintJobDescription parameter passed in the constructor, gives the user selected print time options.
  • the print device maps the user's choice to what is actually available on the printer. It uses the printer's configuration kept in the printer's persistent store (the printer identity object can be used to get to the persistent store.).
  • TPrinterConfiguration is an abstract base class for a printer's state. It is part of the printer's persistent data kept current by the printer handler. Subclasses can store the actual configuration data in a file of their choice (e.g. dictionary, flat stream, etc.). For example, TPSPrinterConfiguration will use PPD files converted to a disk dictionary to keep configuration data. TPrinterConfiguration defines a protocol that provides for setting and getting configuration items such as page sizes, media, resolution(s), etc. When a printer is first available for use, its persistent store (a TModelStore) is created and TPrinterConfiguration is asked to write itself into the store. This becomes the printer's initial state which is updated when a print job is sent to it.
  • TModelStore persistent store
  • TPrinterConfiguration The lists returned by getters (TPageList, TMediaList, etc.) are implemented using C++ templates.
  • each type of printer has a subclass of TPrinterConfiguration that returns the printer's static configuration. This is streamed into the personality document which is given to the developer of that type of printer. The developer typically will edit the configuration instance (that is, the fields of the particular TPrinterConfiguration class) to include the printer's data.
  • TPrintJobDescription class TPrintJobDescription public MCollectible ⁇ public: MCollectibleDeclarationsMacro(TPrintJobDescription); public: TPrintJobDescription(TPrinterIdentity&); TPrintJobDescription(const TPrintJobDescription&); virtual ⁇ TPrintJobDescription( ); typedef enum EBannerPage ⁇ eNoBanner, eBriefBanner, eWholeBanner ⁇ ; // ----------------------------- // Description: These member functions are pretty much self explanatory // except for notes as added. // Rewires : // Modifies : The job's state is altered to reflect the requested // operation.
  • TPrintJobDescription is a base class providing protocol for accessing/changing print time options like number of copies, cover page choices, punt options (what to do when there is a mismatch between the document and printer page sizes), etc. Developers can subclass this to add features specific to their device.
  • the default implementation of TPrintJobDescription provides the choice of options common to all printers.
  • the print job description gets streamed with a print job and is used by TPrintDevice (in the printer handler task) to send appropriate commands to the printer that implement the print time options.
  • Each job description knows the printer that it is comes from. As a matter of fact, it is created by the printer model.
  • the printer model gets it out of the printer's personality document. EditSelf is a place holder for a method that might be used to allow users to change job description attributes. This method might be called in response to the system wide print menu command.
  • a new PostScript printer, ABC Lriter is added to the network that the user wants to print to. Since ABC chose not to subclass any of the personality classes, it simply supplies the PPD (Postscript Printer Description) file with the printer.
  • the TPSPrinterConfiguration can parse a PPD file and convert it into a configuration dictionary. So, the PPD file can be placed somewhere on the computer, and a preferred embodiment handles the rest.
  • the ABC Lriter Iicon is moved from the network browser to the printer in the browser. Behind the scenes, the TPSPrinterServiceAdaptor class (a subclass of TServiceAdaptor), given a TServiceReference in the CreateModel method, talks to the printer to get the product name of the printer and associates the model with the correct PPD file. If the printer is busy, this operation may have to be deferred. Also, if the device specific PPD file is not available. TPSPrinterConfiguration will default to a “standard” PostScript printer configuration.
  • TModel data encapsulator For legacy data, the approach will be slightly different. If the data can be converted into a system graphic model, then a TModel data encapsulator should be written to do this conversion. Almost any file format, such as TIFF, Pict, HPG L, Adobe Illustrator and Adobe Acrobat should be easily translatable. More complex files such as EPSF or Raw PostScript files can be encapsulated but would require a PostScript interpreter. To simply print these complex files, the same imaged data interface specified above could be utilized. A print job either contains a spool file or imaged data. This is to prevent the mixing of device dependent and device independent data.
  • the ability to print across machines has usually been accomplished by dedicating a server for this purpose. Now that the operating system can accommodate additional remote processing (due in part to protected address spaces, robustness and computation power), the use of a client machine (peer) as a server for other peers is achievable. To allow this, the printing architecture must permit printer handlers to advertise themselves as a sharable printer and the printer handler must be able to transfer the job to the remote system.
  • the use of a peer as a server clouds the distinction but for our purposes all machines will have the same capabilities. The printing system will not treat systems setup for serving multiple printers differently than a published peer.
  • the printing system must be able to spool both graphics between systems and raw imaged data.
  • graphics is considered remote imaging because the device independent data is converted to device dependent data on the remote system.
  • the case of spooling raw data can be thought of as local imaging since you could actually convert the data into an imaging language on the local system before transferring the device dependent data to the remote printing system. This capability is only available due to the legacy data requirement.
  • the use of the local imaging model constrains the print job by taking away the device independent nature of the spool file.
  • FIG. 9 is a block diagram of local printing in accordance with a preferred embodiment.
  • local printing does not involve printer sharing, it is useful to consider this as a base model for future discussion.
  • Tprinter::AddJob( ) This translates into a TPrinterHandlerCaller which is a subclassed MRemoteCaller.
  • the corresponding TPrinterHandler (subclassed from MRemoteDispatcher) will accept the print job and enqueue the job for printing.
  • the Printer Handler will schedule the job through the TImagingTask and the TPrintDeviceChannel.
  • the corresponding TPrintDeviceChannel provides the communication (imaged data transfer, command and status) to the local printer. If the data is legacy imaged data, the TImagingTask does not have to translate the spool file but instead passes it on to the TPrintDeviceChannel without interpretation (ie., it literally dumps the bytes).
  • Remote imaging consists of the local application connecting with a local Printer Handler which spools the graphics commands onto the local system.
  • the Printer Handler connects to a remote system through the same TRemoteCaller/TRemoteDispatcher mechanism as the local print jobs.
  • the remote Printer Handler then routes the spool job through the imaging task and out to the printer via a TPrintDeviceChannel. By routing the job through the remote Printer Handler, the print job will be prioritized in the remote queue.
  • FIG. 10 is a block diagram of remote imaging in accordance with a preferred embodiment.
  • FIG. 11 is a block diagram of local imaging in accordance with a preferred embodiment.
  • Networked printers are basically the same as a local printer except that the communications channel must use a specific network protocol. This scenario can be used for printers using protocols based on NPA (Network Printing Architecture), TCP/IP, PAP protocol, and Novell IPX based print servers.
  • NPA Network Printing Architecture
  • TCP/IP Transmission Control Protocol
  • PAP PAP protocol
  • Novell IPX Novell IPX based print servers.
  • the TPrintDeviceChannel will map the printer protocol into the TImagingTask interface for devices.
  • FIG. 12 is a block diagram of local imaging to a networked printer.
  • a TPrinterItandler will register itself as a TServiceAdaptor and provide a protocol interface (using Message Streams. Since the communication is similar whether the TPrinterHandler is on one machine or multiple machines, it is not necessary to implement a wrapper class to handle the IPC between machines.
  • the TPrintJobHandle interface will include a method to set the type of the job (SetJobType).
  • the TPrintDeviceChannel interface will be used to provide a common interface between the imaging task and the physical printer.
  • the TPrintDeviceChannel will implement different communications protocols for the printing services, example implementations could be for direct connect printers (serial or parallel) or networked devices (such as PAP, Novell, and TCP/IP).
  • the TPrinterHandler can integrate the communications portion without using a TPrintDeviceChannel but typical printer architecture's will use TPrintDeviceChannel.
  • the printer handler interface provides a set of query, data transfer and control methods.
  • the queries consist of a Lookup (for device identification), IsBidirectional (in order to provide optimized imaging), and GetStatus (for printer status).
  • the Connect and Disconnect methods will be used to bracket connections prior to using SendData and GetData.
  • the control methods include Abort (cancel the job), Pause (pause the job) and Flush (to clear out the data channel).
  • a GetStream method provides multiple streams to the imaging task.

Abstract

An object-oriented printing system includes objects that provide query, data transfer, and control methods. The inventive object-oriented printing system communicates with the remainder of the operating system by means of a standard interface such as a grafport and printer drivers are provided for each printer type within the operating system. Thus, an application not only need not worry about the particular printer/computer combination with which it is to operate, but also need not have a built in document formatting capability. The printing system includes objects that provide queries for device identification, optimized imaging, and printer status. Other objects are also provided for data transfer to bracket connections prior to sending and receiving information. Still other objects are provided for cancelling a print job, pausing a job, and clearing out a job. Finally, an object is also provided for supporting multiple streams of communication to an imaging task.

Description

COPYRIGHT NOTIFICATION
Portions of this patent application contain materials that are subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office.
FIELD OF THE INVENTION
The invention generally relates to improvements in computer systems and, more particularly, to operating system software for printing documents.
BACKGROUND OF THE INVENTION
One of the most important aspects of a modern computer system is the ability to generate a “hard” copy of textual information or graphics which can be manipulated by the computer, visually displayed and stored. In order to accomplish this task, a computer system generally includes a printing device which is electrically connected to the computer system and controlled by it in order to generate a permanent image on a selected medium. Examples of printing devices in common use are dot matrix, ink jet and laser printers which fix permanent images on paper under control of the computer. Although paper is the most common medium, other media are often used, such as photographic film.
In order to print a document which is displayed on the monitor or stored, within the memory, several actions must take place. First, since the print medium generally has a fixed size, the printable information must be divided into pieces which are small enough to fit on the selected medium, a process which is called pagination. In addition, the information may need to be reformatted from the format in which it is either displayed or stored into a format which is suitable for controlling the printing device to actually perform the printing on the medium. The reformatting in this latter step may include the insertion of control commands into the printable information in order to control the printing device. These added commands may, for example, include such commands as carriage returns, line feeds, form feeds, spaces and font information, all of which format the printable information. The reformatting may also include a conversion step in which a graphical display is converted into the form used by the printing device.
The pagination and reformatting necessary to convert the printable information into a form which can be printed on a given printing device is generally performed by software programs running within the computer system. Software programs operating on a computing system generally can be categorized into two broad classes: operating systems which are usually specific to a type of computer system and consist of a collection of utility programs that enable the computer system to perform basic operations, such as storing and retrieving information on a peripheral disk memory, displaying information on an associated video display, performing rudimentary file operations including the creation, naming and renaming of files and, in some cases, performing diagnostic operations in order to discover or recover from malfunctions.
By itself, the operating system generally provides only very basic functions and must be accompanied by an “application” program. The application program interacts with the operating system to provide much higher level functionality and a direct interface with the user. During the interaction between the application program and the operating system, the application program typically makes use of operating system functions by sending a series of task commands to the operating system which then performs the requested tasks. For example, the application program may request that the operating system store particular information on the computer disk memory or display information on the video display.
FIG. 1 is a schematic illustration of a typical computer system utilizing both an application program and an operating system. The computer system is schematically represented by dotted box 100, the application program is represented by box 102 and the operating system by box 106. The interaction between the application program 102 and the operating system 106 is illustrated schematically by arrow 104. This dual program system is used on many types of computers systems ranging from mainframes to personal computers.
The method for handling printing, however, varies from computer to computer, and, in this regard, FIG. 1 represents a prior art personal computer system. In order to provide printing functions, the application program 102 interacts (as shown schematically by arrow 108) with printer driver software 110. Printer driver software 110 is generally associated with an application program and reformats and converts the printable information as necessary. Since each printer has its own particular format and control command set, which must be embedded in the text properly to control the printer, the printer driver software 110 must be specifically designed to operate with one printer or one type of printer.
The printer driver software 110 produces a reformatted information stream containing the embedded commands as shown schematically as arrow 114. The converted information stream is, in turn, applied to a printer port 112 which contains circuitry that converts the incoming information stream into electrical signals. The signals are, in turn, sent over a cable 116 to the printer 118. Printer 118 usually contains an “imaging engine” which is a hardware device or a ROM-programmed computer which takes the incoming information stream and converts it into the electrical signals necessary to drive the actual printing elements. The result is a “hard copy” output on the selected medium.
While the configuration shown in FIG. 1 generally works in a satisfactory manner, it has several drawbacks. Since the printer driver software 110 is specific to each type of printer, a separate driver had to be provided for each printer type with which the application program is to operate. In the personal computer market, there are a large number of different printer types that are compatible with each type of computer and, therefore, as the number of printer types proliferated, so did the number of printer drivers which were required for each application program so that the program was compatible with most available printers. Therefore, application program developers had to provide larger and larger numbers of printer drivers with each application program, resulting in wasted time and effort and wasted disk space to hold the drivers, only one or two of which were of interest to any particular user. Unfortunately, if a user purchased an application program and it did not include a printer driver which could control the printer which the user owned, unpredictable operation occurred, resulting in program returns and user dissatisfaction.
In addition, it was also necessary for each application program to provide high level printing functions such as pagination and page composition (including addition of margins, footnotes, figure numbers, etc.) if such functions were desired. Consequently, each application program developer had to spend time developing programs to implement common printing functions which programs were specific to each application program, thereby resulting in duplicated effort and wasted time.
In order to overcome the aforementioned difficulties, the prior art arrangement was modified as shown in FIG. 2. In this new arrangement, computer system 200 is still controlled by application program 202 which cooperates, as shown schematically by arrow 204, with operating system 206. However, in the system shown in FIG. 2 operating system 206 includes printer drivers 214. A separate printer driver must still be provided for each different type of printer, but the printer drivers are sold with, and part of, the operating system. Consequently, it is not necessary for each application program to have its own set of printer drivers. An application program, such as application program 202, communicates with the printer driver 214 by means of a standardized interface 210. Two common interfaces are called “grafports” or “device contexts”. Illustratively, application program 202 provides information (shown schematically shown by arrow 208) in a standardized form to the grafport 210. The grafport 210, in turn, forwards information, as shown by arrow 212, to printer driver 214 which reformats and converts the information as previously described into the format required by the printer. The output of printer driver 214 is provided (illustratively shown as arrow 216) to printer port 218 where it is converted to electrical signals that are transmitted, via cable 220, to the printer 222.
The configuration shown in FIG. 2 has the advantage that the application program developer need not worry about the specific computer and printer combination on which the program will ultimately run in order to provide printing capabilities to the application program. However, it still suffers from the drawback that, if desired, high level printing capabilities such as pagination and page composition must still be designed into each application program, thereby duplicating program code and wasting programming resources.
SUMMARY OF THE INVENTION
The foregoing problems are overcome and the foregoing object is achieved in an illustrative embodiment of the invention in which an object-oriented printing interface includes document grouping or folio objects which, once instantiated provide complete and flexible printing capability that is transparent to the application program. The printing interface objects include objects that provide query, data transfer, and control methods.
The inventive object-oriented printing interface communicates with the remainder of the operating system by means of a standard interface such as a grafport and printer drivers are provided for each printer type within the operating system. Thus, an application not only need not worry about the particular printer/computer combination with which it is to operate, but also need not have a built in document formatting capability. The printing system includes objects that provide queries for device identification, optimized imaging, and printer status. Other objects are also provided for data transfer to bracket connections prior to sending and receiving information. Still other objects are provided for canceling a print job, pausing a job, and clearing out a job. Finally, an object is also provided for supporting multiple streams of communication to an imaging task.
BRIEF DESCRIPTION OF THE DRAWINGS
The above and further advantages of the invention may be better understood by referring to the following description in conjunction with the accompanying drawings, in which:
FIG. 1 is a schematic block diagram of a prior art computer system showing the relationship of the application program to the operating system and the printer driver in the prior art;
FIG. 2 is a schematic block diagram of a modification of the prior art system shown in FIG. 1 to allow the application program to interface to a standard printing interface in the prior art;
FIG. 3 is a block schematic diagram of a computer system, for example, a personal computer system on which the inventive object-oriented printing interface operates in accordance with a preferred embodiment;
FIG. 4 is a schematic block diagram of modified computer system in which the operating system includes an inventive object-oriented printing interface in accordance with a preferred embodiment;
FIG. 5 is a block schematic diagram of the information paths and hardware by which printable information is channeled through intermediate storage to a print device in accordance with a preferred embodiment;
FIG. 6 shows how the personality document is used by different parts of the printing system in accordance with a preferred embodiment;
FIG. 7 details the printer handler components and their interactions in accordance with a preferred embodiment;
FIG. 8 illustrates the relationship between various printer handler classes in accordance with a preferred embodiment;
FIG. 9 is a block diagram of local printing in accordance with a preferred embodiment;
FIG. 10 is a block diagram of remote imaging in accordance with a preferred embodiment;
FIG. 11 is a block diagram of local imaging in accordance with a preferred embodiment; and
FIG. 12 is a block diagram of local imaging to a networked printer.
DETAILED DESCRIPTION OF THE ILLUSTRATIVE EMBODIMENTS
The invention is preferably practiced in the context of an operating system resident on a personal computer such as the IBM, PS/2, or Apple, Macintosh, computer. A representative hardware environment is depicted in FIG. 3, which illustrates a typical hardware configuration of a computer 300 in accordance with the subject invention. The computer 300 is controlled by a central processing unit 302, which may be a conventional microprocessor; a number of other units, all interconnected via a system bus 308, are provided to accomplish specific tasks. Although a particular computer may only have some of the units illustrated in FIG. 3 or may have additional components not shown, most computers will include at least the units shown.
Specifically, computer 300 shown in FIG. 3 includes a random access memory (RAM) 306 for temporary storage of information, a read only memory (ROM) 304 for permanent storage of the computer's configuration and basic operating commands and an input/output (I/O) adapter 310 for connecting peripheral devices such as a disk unit 313 and printer 314 to the bus 308, via cables 315 and 312, respectively. A user interface adapter 316 is also provided for connecting input devices, such as a keyboard 320, and other known interface devices including mice, speakers and microphones to the bus 308. Visual output is provided by a display adapter 318 which connects the bus 308 to a display device 322 such as a video monitor. The workstation has resident thereon and is controlled and coordinated by operating system software such as the Apple System/7, operating system.
In a preferred embodiment, the invention is implemented in the C++ programming language using object-oriented programming techniques. C++ is a compiled language, that is, programs are written in a human-readable script and this script is then provided to another program called a compiler which generates a machine-readable numeric code that can be loaded into, and directly executed by, a computer. As described below, the C++ language has certain characteristics which allow a software developer to easily use programs written by others while still providing a great deal of control over the reuse of programs to prevent their destruction or improper use. The C++ language is well-known and many articles and texts are available which describe the language in detail. In addition, C++ compilers are commercially available from several vendors including Borland International, Inc. and Microsoft Corporation. Accordingly, for reasons of clarity, the details of the C++ language and the operation of the C++ compiler will not be discussed further in detail herein.
As will be understood by those skilled in the art, Object-Oriented Programming (OOP) techniques involve the definition, creation, use and destruction of “objects”. These objects are software entities comprising data elements and routines, or functions, which manipulate the data elements. The data and related functions are treated by the software as an entity and can be created, used and deleted as if they were a single item. Together, the data and functions enable objects to model virtually any real-world entity in terms of its characteristics, which can be represented by the data elements, and its behavior, which can be represented by its data manipulation functions. In this way, objects can model concrete things like people and computers, and they can also model abstract concepts like numbers or geometrical designs.
Objects are defined by creating “classes” which are not objects themselves, but which act as templates that instruct the compiler how to construct the actual object. A class may, for example, specify the number and type of data variables and the steps involved in the functions which manipulate the data. An object is actually created in the program by means of a special function called a constructor which uses the corresponding class definition and additional information, such as arguments provided during object creation, to construct the object. Likewise objects are destroyed by a special function called a destructor. Objects may be used by using their data and invoking their functions.
The principle benefits of object-oriented programming techniques arise out of three basic principles; encapsulation, polymorphism and inheritance. More specifically, objects can be designed to hide, or encapsulate, all, or a portion of, the internal data structure and the internal functions. More particularly, during program design, a program developer can define objects in which all or some of the data variables and all or some of the related functions are considered “private” or for use only by the object itself. Other data or functions can be declared “public” or available for use by other programs. Access to the private variables by other programs can be controlled by defining public functions for an object which access the object's private data. The public functions form a controlled and consistent interface between the private data and the “outside” world. Any attempt to write program code which directly accesses the private variables cause the compiler to generate an error during program compilation which error stops the compilation process and prevents the program from being run.
Polymorphism is a concept which allows objects and functions which have the same overall format, but which work with different data, to function differently in order to produce consistent results. For example, an addition function may be defined as variable A plus variable B (A+B) and this same format can be used whether the A and B are numbers, characters or dollars and cents. However, the actual program code which performs the addition may differ widely depending on the type of variables that comprise A and B. Polymorphism allows three separate function definitions to be written, one for each type of variable (numbers, characters and dollars). After the functions have been defined, a program can later refer to the addition function by its common format (A+B) and, during compilation, the C++ compiler will determine which of the three functions is actually being used by examining the variable types. The compiler will then substitute the proper function code. Polymorphism allows similar functions which produce analogous results to be “grouped” in the program source code to produce a more logical and clear program flow.
The third principle which underlies object-oriented programming is inheritance, which allows program developers to easily reuse pre-existing programs and to avoid creating software from scratch. The principle of inheritance allows a software developer to declare classes (and the objects which are later created from them) as related. Specifically, classes may be designated as subclasses of other base classes. A subclass “inherits” and has access to all of the public functions of its base classes just as if these function appeared in the subclass. Alternatively, a subclass can override some or all of its inherited functions or may modify some or all of its inherited functions merely by defining a new function with the same form (overriding or modification does not alter the function in the base class, but merely modifies the use of the function in the subclass). The creation of a new subclass which has some of the functionality (with selective modification) of another class allows software developers to easily customize existing code to meet their particular needs.
Although object-oriented programming offers significant improvements over other programming concepts, program development still requires significant outlays of time and effort, especially if no pre-existing software programs are available for modification. Consequently, a prior art approach has been to provide a program developer with a set of pre-defined, interconnected classes which create a set of objects and additional miscellaneous routines that are all directed to performing commonly-encountered tasks in a particular environment. Such pre-defined classes and libraries are typically called “application frameworks” and essentially provide a pre-fabricated structure for a working application.
For example, an application framework for a user interface might provide a set of predefined graphic interface objects which create windows, scroll bars, menus, etc. and provide the support and “default” behavior for these graphic interface objects. Since application frameworks are based on object-oriented techniques, the pre-defined classes can be used as base classes and the built-in default behavior can be inherited by developer-defined subclasses and either modified or overridden to allow developers to extend the framework and create customized solution in a particular area of expertise. This object-oriented approach provides a major advantage over traditional programming since the programmer is not changing the original program, but rather extending the capabilities of the original program. In addition, developers are not blindly working through layers of code because the framework provides architectural guidance and modeling and, at the same time, frees the developers to supply specific actions unique to the problem domain.
There are many kinds of application frameworks available, depending on the level of the system involved and the kind of problem to be solved. The types of frameworks range from high-level application frameworks that assist in developing a user interface, to lower-level frameworks that provide basic system software services such as communications, printing, file systems support, graphics, etc. Commercial examples of application frameworks include MacApp (Apple), Bedrock (Symantec), OWL (Borland), NeXT Step App Kit (NEXT), and Smalltalk-80 MVC (ParcPlace).
While the application framework approach utilizes all the principles of encapsulation, polymorphism, and inheritance in the object layer, and is a substantial improvement over other programming techniques, there are difficulties which arise. These difficulties are caused by the fact that it is easy for developers to reuse their own objects, but it is difficult for the developers to use objects generated by other programs. Further, application frameworks generally consist of one or more object “layers” on top of a monolithic operating system and even with the flexibility of the object layer, it is still often necessary to directly interact with the underlying operating system by means of awkward procedural calls.
In the same way that an application framework provides the developer with prefab functionality for an application program, a system framework, such as that included in a preferred embodiment, can provide a prefab functionality for system level services which developers can modify or override to create customized solutions, thereby avoiding the awkward procedural calls necessary with the prior art application frameworks programs. For example, consider a printing framework which could provide the foundation for automated pagination, pre-print processing and page composition of printable information generated by an application program. An application software developer who needed these capabilities would ordinarily have to write specific routines to provide them. To do this with a framework, the developer only needs to supply the characteristics and behavior of the finished output, while the framework provides the actual routines which perform the tasks.
A preferred embodiment takes the concept of frameworks and applies it throughout the entire system, including the application and the operating system. For the commercial or corporate developer, systems integrator, or OEM, this means all of the advantages that have been illustrated for a framework such as MacApp can be leveraged not only at the application level for such things as text and user interfaces, but also at the system level, for services such as printing, graphics, multi-media, file systems, I/O, testing, etc.
FIG. 4 shows a schematic overview of an computer system utilizing the object-oriented printing interface of the present invention. The computer system is shown generally as a dotted box 400, and an application program 402 and an operating system 406 are provided to control and coordinate the operations of the computer. Application program 402 communicates with operating system 406 as indicated by arrow 404. However, in accordance with an embodiment of the invention, rather than communicating directly with a standard interface, such as grafport 410, application program 402 can now communicate with operating system 406 at a higher level when it wishes to print information. This latter interaction is accomplished by providing an object-oriented printing interface shown schematically as box 424. As will hereinafter be described in detail, printing interface 424 responds to a series of simple commands generated by application program 402 in order to perform various formatting and pagination functions. The formatted, printable information is then transmitted to a grafport 410 as indicated schematically by arrow 426. It is possible for application program 402 to communicate directly with grafport 410 as in the prior art arrangement, however, it is not contemplated that most applications will do this unless special procedures are needed.
In any case, the information flows through grafport 410, and as indicated by arrow 412, is provided to a printer handler 414. Printer handler 414 is similar to printer drivers previously described. However, it is “intelligent” and offers some additionally capabilities which will be described herein. Essentially, printer handler 414 processes the incoming data stream indicated by arrow 412 and adds the necessary printer commands to control the associated printer schematically illustrated as printer 422. The reformatted data is provided, as indicated by arrow 416, to a printer port 418 which converts the data into electrical signals that are sent over cable 420 to printer 422.
The actual mechanism by which a document generated by the printing interface 424 is transmitted to printer 422 is shown in more detail in FIG. 5. In particular, printing interface 424 (as will hereafter be described in detail) generates an entity called a document folio shown schematically as document folio 500 in FIG. 5. The document folio may consist of text, graphics or a combination of the two, all formatted and arranged in a manner specified by the application program. The document folio information is provided, as indicated by arrow 512, to a print channel 502. Print channel 502 is an object which is created to transport the information to an appropriate printer. Print channel uses a print job description and a printer identification provided by the application program to transmit the printable information to the appropriate printer.
More specifically, after the print channel 502 receives a printing job, it transmits the printable information to a spooler program 518 as indicated by arrow 514. Spooler 518 receives the incoming information stream and stores it, in incoming order, in an intermediate storage location 522 as indicated by arrow 520. Print channel 502 then sends a notification to a print server program 506 via a link 504, which notification informs print server program 506 that a new print job exists. The print server program 506 is standard program which monitors all print jobs that have been created and also checks the available printers to determine their status.
Once a print job has been completely spooled or stored in intermediate storage 522, the print server 506 notifies a printer handler 510 by means of a link 508. The printer handler 510 is type of printer driver which controls and drives a specific printer; its purpose is to convert text and graphic information into printer readable form for any particular printer type. Typically, a printer handler can only process one print job and any other jobs that are created and directed towards the associated printer are queued for later processing. The printer handler contains a despooler program (indicated as box 516) which retrieves the spooler data from intermediate storage 522 (as indicated by arrow 524) and provides the information, as indicated by arrow 526, to an imaging engine schematically illustrated as box 532. The imaging engine 532 converts the incoming data stream into the command signals which are necessary to drive the printing elements to produce the final printed document. The commands, indicated schematically by arrow 430, are provided to the actual print device indicated by box 528 for printing.
Once a print job is completely printed, the printer handler 510 checks its queue for another print job and, if a job is present, begins processing it. Alternatively, if there are no new print jobs to process, the printer handler becomes inactive. After a particular print job is completed, the information stored in intermediate storage in 522 is deleted and the storage is reclaimed. As an option, the storage can retained until a user explicitly deletes the storage.
The printer handler framework facilitates creation of frameworks for different types of printers like PostScript, raster, vector, and PCL. A preferred embodiment provides a framework that is extensible so that new printers can be added to the system very easily. This includes printers with new imaging models, communication protocols, etc. The preferred embodiment also provides a framework that does most of the work to support a printer and at the same time provides enough flexibility for developer customization. The preferred embodiment also allows developer customization at various times during the printing process. Customization occurs at the desktop printer level for presenting device specific user interface, at print time for setting print time features (like duplex printing, multi-bin paper feeding, etc.), at imaging time, by providing a way to access the device at the beginning/end of document and page, and by providing a way to customize rendering of graphics model primitives. Finally, at the device level to support different communication protocol(s).
Clients
All printer manufacturers are clients of the printer handler framework. A client that uses a framework to design PostScript, raster, vector, and PCL printer handler frameworks. Developers start from one of these special types of frameworks and customize it for their printers. For example, a PostScript printer developer (like QMS or Linotype) would use the PostScript printer framework, a plotter developer (like CalComp) would customize the vector printer handler framework.
Architecture
The desktop printer is the only user visible part of the printer. All user actions (commands) related to the printer are handled by this object. When a document is to be printed, it is dragged to the printer icon (or the Print item is selected from the system wide menu). This starts the printing process by first spooling the document by packaging it as a print job. Spooling is a process of streaming the graphic description of a document to the disk so it can be imaged later (possibly in a different task) to the actual printing device represented by the desktop printer. The spooled print job is stored in the printer's persistent data which consists mainly of the print job queue and the printer's dynamic configuration. After the print job is spooled, the printer handler is sent a message that there is a print job for it to process. The printer handler picks up the print job, despools it, converts it to the printer's native imaging model and sends it to the printer.
User's Model of Printing
A reference to a printer in a preferred embodiment really mean a printer model and its associated files, which includes the printer handler. A model is a class that is subclassed from an existing class. Since all user visible entities on a system are models, or the interface presented by them, it makes sense to talk about a printer this way. Each printer model keeps its persistent data (job queue, configuration, etc.) in its model store. The model store provides a way for a model to create separate files that it alone manages. It has protocol for interfacing to a file system. The printer “component” has certain dependencies that must be satisfied when it is moved between machines or enclosed in a business card. A printer is typically dependent on its personality document, the shared library and archive for the system classes that implement the printer, and the shared library and archive for the developer supplied customizations.
When a user “installs” a printer handler in the system, it is immediately available for direct connect devices or in the network browser for network devices. This processing is facilitated by creating a physical model for a direct connect device and a service adapter is “registered” for a network device. A physical device object represents a real device that can be connected directly to the computer (as opposed to available on the network). It is capable of creating a subclass that represents the device. A service adapter indicates the directory protocols (AppleTalk Name Binding Protocol-(NBP), Domain Naming System(DNS) etc.) and service identifiers (“LaserWriter”) it can handle and is called on by a directory service to create a model for a service available on a physical directory. To print to a direct connect device, a user connects the printer to the computer (for serial devices) and then drags a document to it. To print to a network device, either the document is dragged to the printer in the network browser or the printer is dragged to the desktop and then the document is dragged to it.
Printer Personality Document
A personality document is supplied by the device manufacturer. The printer personality “document” contains instances of objects, just the data, that implement a particular printer. In other words, it is a shared library without code—just the archive. Examples of objects in the personality document are the printer configuration, print job description which specifies the print time options available on the printer, and the print device object that converts the graphic data into the printer's imaging model. FIG. 6 shows how the personality document is used by different parts of the printing system. The personality document supplied by the developer is used in read-only mode by the printing system. The desktop printer and the printer handler “read” this document to access its personality objects polymorphically.
The analogy of a printer model and its personality to an application and its document implies that a printer model can “read” many personality documents. However, in most cases there is only one personality document per printer because a printer model represents one physical printer. In the case where the user has more than one printer of the same type (for example, two LaserWriter IIg printers), one personality document may be “shared” by multiple printers. The desktop printer obtains user interface objects from the personality (the objects that present the user with printer configuration, features and settings that can be manipulated). The printer handler gets imaging objects from the personality and calls on them to reproduce the document on the printer. Once the printer's dynamic state is added to its persistent store, both the desktop printer and the printer handler refer to it for the printer's configuration. A personality document is created for each type of printer that a printer handler is created for. The document is created and given to the developer of that type of printer. The developer can “edit” the instance data of objects or replace them with the printer specific implementations.
Printer Handler
FIG. 7 details the printer handler components and their interactions in accordance with a preferred embodiment and FIG. 8 illustrates the logical relationship between various printer handler classes in accordance with a preferred embodiment. The printer handler server team is started by the desktop printer when a print command is initiated by either dragging the document to it or selecting the Print command from one of the menus. The printer handler program creates a dispatch giving it a dispatcher and a message stream to be used as a transport between the client and the server. The dispatch task combines the transport and the dispatcher to create the printer handler server.
There is one printer handler task per physical printer. The printer handler consists of a dispatcher and an imaging task. The dispatcher is a task that handles requests to print jobs and sends them to the imaging task so that the server task is free to handle other requests (more print jobs, status queries, notification, etc.). The printer handler architecture allows for more than one task working on print jobs. Instead of having only one imaging task, the printer handler dispatcher can have a pool of tasks that access the job queue and pick up a job to process. This way, the printer handler can be processing multiple jobs at the same time. If the target printer can accept only one job at a time, only one imaging task will be talking to it at a given time. The multiple imaging tasks model works well when the destination is a spooler that can accept more than one job at a time. Each job in the queue will know the task that is processing it so things like abort, pause, etc. can function properly.
Printer Handler Server
The printer handler task is started by the desktop printer when a print command is initiated by either dragging the document to the printer icon or selecting the Print command from one of the menus. The desktop printer has a client class that starts up the server. The client class provides the protocol for calling “remote” procedures that are implemented in other objects, tasks, or servers. The printer handler program creates a transport and a dispatcher to create the printer handler server.
There is one printer handler task per physical printer. The printer handler consists of a dispatcher and an imaging task. The dispatcher handles requests to print jobs and sends them to the imaging task so that the server task is free to handle other requests (more print jobs, status queries, notification, etc.). The printer handler architecture allows for more than one task working on print jobs. Instead of having one imaging task, the printer handler dispatcher has a pool of tasks that access the job queue and pick a job to process. This way, the printer handler can be processing multiple jobs at the same time. If the target printer can accept only one job at a time, only one imaging task communicates to it at a given time. The multiple imaging tasks function efficiently when the destination is a spooler that can accept more than one job at a time. Each job in the queue understands the task that is processing it so things like abort, pause, etc. are managed properly.
Printer Handler Imaging Task
The printer handler imaging task receives one job at a time. It uses the developer customizable imaging objects to convert the source description of the document into a stream of data targeted for a particular printer. The imaging task obtains a spool stream from the print job and passes it to the a printer device object. The printer device object extracts individual pages out of the print run and converts the individual pages into the printer's imaging model. The imaging objects also perform the task of mapping the attributes requested by the print job (page size, media, color, fonts, etc.) to features actually available on the printer. This processing is achieved by consulting the printer's dynamic state maintained by the printer handler.
The imaging objects produce an output stream that is sent to the output device. The framework for a specific type of printer defines an appropriate class. For example, the PostScript printer handler framework defines a class whose subclass talks with a printer using the AppleTalk Printer Access Protocol (PAP). A TCP/IP based printer can be easily supported by subclassing the same class.
Printer's Persistent Data
The printer handler is responsible for keeping track of the printer's persistent data, in particular, its job queue and dynamic state. The dynamic state contains things like the current media/tray setting, current color mode (2, 3 or 4 colors), etc. Since each printer would want to save different things in its dynamic state, there is a class that developers can subclass to add printer specific features. For the most part, it is this class that will be streamed out to the printer's persistent data store. The default implementation of the persistent data store will be a dictionary, although the developer is free to use some other storage scheme. Since the printer's state is persistent, the printer handler can be easily restarted in case of a crash or system shutdown.
The printer state, which is part of the printer model's store, is updated when the printer handler images a job to it and finds that the state has changed. This scheme works when the printer handler has two-way communication available with the printer. In cases when two-way communication is not available, the printer handler will rely on the printer's static configuration.
Status Reporting
One of the goals of the printer handler framework is to provide a convenient way for developers to report status and notification from the printer to the user. The printer handler framework employs the same facilities provided by standard frameworks. It is standard procedure to report normal progress information to the user as a print job progresses. There are two types of statuses that a printer handler might want to report. The first is the global status of the job, for example, “Processing page 3 of 50”, or “Printing 4th out of 10 copies”, etc. This type of global job status is common for all printers and can be provided easily by the framework. The second kind of status is one that comes directly from the printer, for example, “user: Jay Patel; job: Printer Handler ERS; status: busy; source: AppleTalk”. Some printers may not report this type of status at all.
User notification is given in cases where there is a problem with printing. This may be a result of a printer out of paper, a paper jam, communication error, PostScript error, a plotter needs new/different set of pens, printer is out of ribbon, etc. For some of these situations, the user must be notified and the printing process can continue once the problem is rectified. There are cases, however, where the printer may not be able to say that the problem is fixed. In such cases, a notification must be given to the user and the printing process must wait until the user says it's OK to continue.
Printer Handler Classes
A discussion of the classes that implement the printer handler framework is provided below.
TPrinterHandler
class TPrinterHandler : public MRemoteDispatcher {
public:
TPrinterHandlero( );
virtual-TPrinterHandler( );
private:
// Server Requests
// Every XXXRequest method unflattens arguments, if any, and then
// calls the corresponding HandleXXX method. It then calls
// ReturnSuccess and flattens results to the result stream.
// Job Queue Management
// Requests that apply to all jobs in the queue
void GetAllJobsRequest( );
void AbortAllJobsRequest( ):
void DeferAllJobsRequest( );
void UndeferAllJobsRequest( );
void DeferAllJobsUntilRequest( );
// Requests that apply to one job in the queue
void AddJobRequest( );
// RemoveJobRequest will abort the job if it is currently
being processed.
// Otherwise, the job will be removed from the queue.
void RemoveJobRequest( );
void PauseJobRequest( );
void DeferJobRequest( );
void UndeferJobRequest( );
// Update printer's state
void UpdateDynamicPrinterDataRequest( );
// return status of a job
void GetStatusOfJobRequest( );
//
// Subclasses can override the following HandleXXX methods.
// HandleXXX are called from the corresponding request
methods.
//
// Job Queue Management
// Requests that apply to all jobs in the queue
virtual void HandleGetAllJobs( );
virtual void HandleAbortAllJobs( );
virtual void HandleDeferAllJobs( );
virtual void HandleUndeferAlljobs( );
virtual void HandleDeferAllJobsUntil( );
// Requests that apply to one job in the queue
virtual void HandleAddJob( );
// RemoveJobRequest will abort the job if it is currently
being processed.
// Otherwise, the job will be removed from the queue.
virtual void HandleRemoveJob( );
virtual void HandlePauseJob( );
virtual void HandleDeferJob( );
virtual void HandleUndeferJob( );
// Update printer's state
virtual void
HandleUpdateDynamicPrinterData( );
// return status of a job
virtual void HandleGetStatusOfJob( );
// for TPrinterHandlerCaller only
typedef enum {
kGetAllJobsRequest, kAbortAllJobsRequest,
kDeferAllJobsRequest,
kUndeferAllJobsRequest, kDeferAllJObsUntilRequest,
kAddJobRequest, kRemoveJobRequest, kPauseJobRequest,
kDeferJobRequest, kUndeferJobRequest,
kUpdateDynamicPrinterDataRequest,
kGetStatueRequest
};
friend class TPrinterHandlerCaller; // so it can use enums
above.
protected:
// Get the imaging task to send jobs to
virtual TPrinterImagingTask* GetImagingTask( );
// Get the job queue for this printer
virtual TDeque* GetPrintJobQueue( );
// . . . . . . . Methods to communicate with the imaging task
// . . . . . . .
};
TPrinterHiandler is a base class that provides protocol for dispatching server requests. The corresponding client class TPrinterHandlerCaller is described later. TPrinterHandler maintains a job queue for the printer. This queue is semaphore protected to allow concurrent access by the printer handler and an imaging task. GetImagingTask creates a TPrinterImagingTask giving it an exchange to communicate with (an exchange provides a place to send messages to and receive messages from). TPrinterImagingTask is given one job at a time to process (by AddJobRequest). When the job is finished, it notifies the printer handler so it can decide what to do with the job.
GetStatusOfJobRequest returns status of a job in the job queue. For the job being processed currently, the status reported is the “global” job status described earlier. There are two ways this could be implemented. One way is for the TPrintDevice subclass to post the status (perhaps a TText) periodically at a global location which the printer handler returns to the client in GetStatusRequest method. Another way is to implement a helper task to get status from the TPrintDevice subclass. For any other job (not currently being processed), the status that is returned might be the number of pages in the job (if that's appropriate), how far down the queue this job is, etc.
TPrinterHandlerCaller
class TPrinterHandlerCaller : protected MRemoteCaller {
public:
TPrinterHandlerCaller(TSenderTransport*);
virtual-TPrinterHandlerCaller( );
// Remote requests
// These are called by TPrinterModel's command handlers
virtual TPrintJobQueue* CreateJobIterator( );
virtual void AbortAllJobs( );
virtual void DeferAllJobs( );
virtual void UndeferAllJobs( );
virtual void DeferAllJobsUntil( );
virtual void AddJob(TPrintJobSurrogate&);
virtual void RemoveJob(const
TPrintJobSurrogate&);
virtual void PauseJob(const
TPrintJobSurrogate&);
virtual void DeferJobRequest(const
TPrintJobSurrogate&);
virtual void UndeferJobRequest(const
TPrintJobSurrogate&);
virtual void GetStatus(TText&);
// . . . . .
MRemoteCallerDeclarationsMacro(TPrinterHandlerCaller);
};
A TPrinterHandlerCaller is instantiated in the printing task (the task that initiates printing, probably a compound document) by the TPrinterModel. It uses a transport to send a request to the printer handler task. The transport can be local or remotely located. Thus, the printer handler to be on a remote machine. A reference to an already-registered service (like a network printer) required by the transport is known to the printer that the document is being printed on. When the printer handler is remote, TServiceReference is obtained from the network.
TPrinterHandlerCaller's methods are called by the printer model's commands which are called by the document framework in response to user actions.
TPrinterImagingTask
class TPrinterImagingTask : public TTaskProgram {
public:
TPrinterImagingTask(TIPCExchange*);
virtual   ˜TPrinterImagingTask( );
// TTaskProgram override
virtual void   Run( );
// Support methods to handle different types of messages
from the
// Printer Handler.
// The messages that this task will receive are:
// AbortJob
// PauseJob
// GetStatus
// ProcessJob
// etc.
// . . . . . .
};
TPrinterImagingTask, which is created by the printer handler, performs the task of imaging print jobs and supplying progress information for the same. The constructor receives a TIPCExchange that the imaging task uses to communicate with the printer handler. As far as the communication between the printer handler server and the imaging task is concerned, there are two possibilities. One is to use the exchange to receive messages and dispatch them based on the message id that the printer handler attaches to the header. Another way to do Inter-Process Communication (IPC) is to use wait groups to handle the dispatching automatically when you provide message handlers for each type of message. The second method makes the implementation more structured (avoids a switch statement) but involves writing more code.
ProcessJob gets a TPrintJobSurrogate as a parameter. Using the TPrintJobSurrogate, the imaging task gets to the print job. A print job has a reference to the printer's persistent data (a TDiskDictionary) that keeps the spooled image of the document, a reference to the printer that the job was targeted to, etc. The printer reference (lets call it TPrinterIdentity) is actually a reference to the TPrinterModel's data. Using this data the imaging task can get to the TPrintDevice subclass for the printer. The imaging task gets the spool stream and the job description (TPrintJobDescription) out of the job's persistent data and asks the print device to process it.
TPrintDevice
class TPrintDevice : public MCollectible {
public
virtual ˜TPrintDevice( );
// Don't override these: override the HandleXXX methods below.
virtual void RenderPrintRun(const TPrintRun&,const
TPrintJobDescription&.
const TPrinterIdentity&);
virtual void RenderPage(const TGrafRun& grafRun, const
TPageDescription&,
// MCollectible support
virtual TStream& operator<<=(TStream& fromwhere);
virtual TStream&operator>>=(TStream& towhere) const;
virtual Boolean IsEqual(const MCollectible *) const;
protected;
TPrintDevice& operator=(const TPrintDevice&);
// You can use these in the HandleXXX methods below to
get current
// page/job information.
virtual TPrintRun* GetPrintRun( );
virtual const TPrintJobDescription*
GetPrintJobDescription( );
virtual TGrafRun* GetGrafRun( );
virtual TPageDescription* GetPageDescription( );
// The following methods are called as a result of
RenderPrintRun( ).
// Don't call these directly: call RenderPrintRun( ).
// You may override these. If you override
Begin/EndPrintRun, then
// be sure to call these base class methods as the first
thing
// in your override implementations.
virtual void HandleBeginPrintRun( );
virtual void HandleRenderPrintRun( );
// Default implementation goes through the
printrun in
// forward order and calls RenderPage for each
page.
virtual void HandleEndPrintRun( );
// The following methods are called as a result of
RenderPage( ).
// Don't call these directly: call RenderPage( ).
virtual void HandleBeginPage( );
virtual void HandleRenderPage( ) = 0;
// You must override this to convert the page to the
printer imaging model.
virtual void HandleEndPage( );
protected:
TPrintDevice( );
};
TPrintDevice converts a document to the printer imaging model. It provides an abstract interface to access page and job information and to process the job (a Print Run) and each page. Subclasses implement HandleRenderPage method to convert the page data to the printer imaging model. TPrintDevice is one of the objects that will be included in the personality document that the developer can edit or subclass. Therefore, it is possible for the developer to supply an implementation for converting the document to the printer imaging model. TPrintDevice is resurrected from the printer personality by the imaging task. RenderPrintRun is called with a TPrintRun, TPrintJobDescription, and a TPrinterIdentity. RenderPrintRun calls HandleBeginPrintRun. HandleRenderPrintRun, and HandleEndPrintRun. The reason for providing the begin and end methods is so that the subclasses can send some global commands to the printer before and after the document is processed. The default implementation of HandlePrintRun goes through the print-run in forward order and calls RenderPage for each page. Subclasses can override this to “play” the document in any random order they like. RenderPage calls HandleBeginPage, HandleRenderPage and HandleEndPage. Again, the reason for providing the begin and end methods is so subclasses can send page level global commands to the printer.
The TPrintJobDescription parameter, passed in the constructor, gives the user selected print time options. The print device maps the user's choice to what is actually available on the printer. It uses the printer's configuration kept in the printer's persistent store (the printer identity object can be used to get to the persistent store.).
TPrinterConfiguration
class TPrinterConfiguration : public MCollectible {
public:
virtual-TPrinterConfiguration( );
// for static state of the printer
// virtual TPageDescription&
GetDefaultPageDescription( ) const = 0;
// subclasses can return static or current state of the
printer from  // following methods.
virtual TPageList& GetPageList( ) const =
0;
virtual TMediaList& GedMediaList( ) const =
0;
virtual TResolutionList& GetResolutionList( )
const = 0;
virtual TRGBColor GetEngineColor( ) const =
0;
// for dynamic state of the printer
virtual TPageDescription&
GetCurrentPageDesecription( ) const = 0;
virtual void SetPageList(TPageList&) =
0;
virtual void
setMediaList(TMediaList&) = 0;
virtual void
SetResolution(TResolution&) = 0;
virtual TStream& operator<<=(TStream& fromwhere);
virtual TStream& operator>>=(TStream& towhere)
const;
virtual Boolean IsEqual (const MCollectible*) const;
virtual long   Hash( ) const:
protected:
TPrinterConfiguration( );
TPrinterConfiguration&operator=(const
TPrinterConfiguration&);
};
TPrinterConfiguration is an abstract base class for a printer's state. It is part of the printer's persistent data kept current by the printer handler. Subclasses can store the actual configuration data in a file of their choice (e.g. dictionary, flat stream, etc.). For example, TPSPrinterConfiguration will use PPD files converted to a disk dictionary to keep configuration data. TPrinterConfiguration defines a protocol that provides for setting and getting configuration items such as page sizes, media, resolution(s), etc. When a printer is first available for use, its persistent store (a TModelStore) is created and TPrinterConfiguration is asked to write itself into the store. This becomes the printer's initial state which is updated when a print job is sent to it.
The lists returned by getters (TPageList, TMediaList, etc.) are implemented using C++ templates. As mentioned earlier, each type of printer has a subclass of TPrinterConfiguration that returns the printer's static configuration. This is streamed into the personality document which is given to the developer of that type of printer. The developer typically will edit the configuration instance (that is, the fields of the particular TPrinterConfiguration class) to include the printer's data.
TPrintJobDescription
class TPrintJobDescription : public MCollectible
{
public:
MCollectibleDeclarationsMacro(TPrintJobDescription);
public:
TPrintJobDescription(TPrinterIdentity&);
TPrintJobDescription(const
TPrintJobDescription&);
virtual ˜TPrintJobDescription( );
typedef enum EBannerPage { eNoBanner, eBriefBanner,
eWholeBanner
};
// --------------------------    //
Description: These member functions are pretty much self
explanatory
// except for notes as added.
// Rewires :
// Modifies : The job's state is altered to reflect the
requested
// operation.
// Effects :
// Raises :
// Override : All subclasses must override all virtual
functions.
// ---------------------------- virtual
void SetCopies(unsigned long);
virtual unsigned long GetCopies( ) const;
virtual unsigned long GetPageCount( ) const;
virtual void SetPageCount(unsigned long);
virtual void SetCoverPage(EBannerPage);
virtual EBannerPage GetCoverPage( ) const;
virtual void SetEndPage(EBannerPage);
virtual EBannerPage GetEndPage( ) const;
// ----------------------------- // Punt
choice specifies what the user wants to do when the page sizes
// don't match between the document and the printer.
These options
// are defined in PageDescription.h
// ------------------------------ virtual
void SetJobPuntChoice(EPuntOption choice);
virtual EPuntOption GetJobPuntChoice( ) const;
// Get the printer that this PrintJobDescription
comes from
virtual void
GetPrinterIdentity(TPrinterIdentity&) const;
// User interface. Equivalent to the classic Print Job
dialog.
virtual void EditSelf( );
// MCollectible support
virtual TStream& operator<<=(TStream&
fromwhere);
virtual TStream& operator>>=(TStream&
towhere) const;
virtual TPrintJobDescription& operator=(const
TPrintJobDescription&);
virtual Boolean operator==(const
TPrintJobDescription&) const;
virtual Boolean IsEqual(const MCollectible*
right) const;
protected:
TPrintJobDescription( ); // for Streaming
};
TPrintJobDescription is a base class providing protocol for accessing/changing print time options like number of copies, cover page choices, punt options (what to do when there is a mismatch between the document and printer page sizes), etc. Developers can subclass this to add features specific to their device. The default implementation of TPrintJobDescription provides the choice of options common to all printers. The print job description gets streamed with a print job and is used by TPrintDevice (in the printer handler task) to send appropriate commands to the printer that implement the print time options. Each job description knows the printer that it is comes from. As a matter of fact, it is created by the printer model. The printer model gets it out of the printer's personality document. EditSelf is a place holder for a method that might be used to allow users to change job description attributes. This method might be called in response to the system wide print menu command.
User Scenario
A new PostScript printer, ABC Lriter is added to the network that the user wants to print to. Since ABC chose not to subclass any of the personality classes, it simply supplies the PPD (Postscript Printer Description) file with the printer. The TPSPrinterConfiguration can parse a PPD file and convert it into a configuration dictionary. So, the PPD file can be placed somewhere on the computer, and a preferred embodiment handles the rest. The ABC Lriter Iicon is moved from the network browser to the printer in the browser. Behind the scenes, the TPSPrinterServiceAdaptor class (a subclass of TServiceAdaptor), given a TServiceReference in the CreateModel method, talks to the printer to get the product name of the printer and associates the model with the correct PPD file. If the printer is busy, this operation may have to be deferred. Also, if the device specific PPD file is not available. TPSPrinterConfiguration will default to a “standard” PostScript printer configuration.
Printer Sharing
Sharing printers across machines (peer to peer or print servers) is supported by the Printer Handler. Compatibility with existing OS applications, legacy applications is a part of a preferred embodiment. Applications and operating systems that abstract the imaging into graphical data can write translation drivers to convert the data format. This has the benefit of being device independent when entering into the system. An example of this kind of translation is a Windows application, layered above Pink, in which the GDI printing driver would translate the GDI into a compatible format. At this point, the print job would be similar to other print jobs. If the application does the imaging, the device independence is lost. The adapter must present specific printer types to the user for selection. The system accepts the raw printer data and pass it onto the printer. For a uniform interface to print jobs, this job should show up in the printer queues as any other job. Due to the lack of direct device manipulation by the application, the imaged data stream will have to make assumptions about the device and will not be redirectable to other output devices.
For legacy data, the approach will be slightly different. If the data can be converted into a system graphic model, then a TModel data encapsulator should be written to do this conversion. Almost any file format, such as TIFF, Pict, HPG L, Adobe Illustrator and Adobe Acrobat should be easily translatable. More complex files such as EPSF or Raw PostScript files can be encapsulated but would require a PostScript interpreter. To simply print these complex files, the same imaged data interface specified above could be utilized. A print job either contains a spool file or imaged data. This is to prevent the mixing of device dependent and device independent data.
Peer-to-peer printing
The ability to print across machines has usually been accomplished by dedicating a server for this purpose. Now that the operating system can accommodate additional remote processing (due in part to protected address spaces, robustness and computation power), the use of a client machine (peer) as a server for other peers is achievable. To allow this, the printing architecture must permit printer handlers to advertise themselves as a sharable printer and the printer handler must be able to transfer the job to the remote system. The use of a peer as a server clouds the distinction but for our purposes all machines will have the same capabilities. The printing system will not treat systems setup for serving multiple printers differently than a published peer.
Due to the raw data requirement, the printing system must be able to spool both graphics between systems and raw imaged data. The case of graphics is considered remote imaging because the device independent data is converted to device dependent data on the remote system. Conversely, the case of spooling raw data can be thought of as local imaging since you could actually convert the data into an imaging language on the local system before transferring the device dependent data to the remote printing system. This capability is only available due to the legacy data requirement. The use of the local imaging model constrains the print job by taking away the device independent nature of the spool file.
Printing Scenarios
The following printing scenarios will help illustrate the use of the shared printer handler. Some of the scenarios are similar but are presented for thoroughness.
Local printing
FIG. 9 is a block diagram of local printing in accordance with a preferred embodiment. Although local printing does not involve printer sharing, it is useful to consider this as a base model for future discussion. To print to a local printer, the document makes a print request through Tprinter::AddJob( ). This translates into a TPrinterHandlerCaller which is a subclassed MRemoteCaller. The corresponding TPrinterHandler (subclassed from MRemoteDispatcher) will accept the print job and enqueue the job for printing. The Printer Handler will schedule the job through the TImagingTask and the TPrintDeviceChannel. The corresponding TPrintDeviceChannel provides the communication (imaged data transfer, command and status) to the local printer. If the data is legacy imaged data, the TImagingTask does not have to translate the spool file but instead passes it on to the TPrintDeviceChannel without interpretation (ie., it literally dumps the bytes).
Remote imaging
Remote imaging consists of the local application connecting with a local Printer Handler which spools the graphics commands onto the local system. The Printer Handler connects to a remote system through the same TRemoteCaller/TRemoteDispatcher mechanism as the local print jobs. The remote Printer Handler then routes the spool job through the imaging task and out to the printer via a TPrintDeviceChannel. By routing the job through the remote Printer Handler, the print job will be prioritized in the remote queue. FIG. 10 is a block diagram of remote imaging in accordance with a preferred embodiment.
Local imaging
In a local imaging scenario, the application spools the graphics to the local disk but instead of sending the spool file to a remote system, the graphics are translated into an imaging language (like PostScript) by the local imaging task. The local Printer Handler then sends the imaged data to the remote system (the remote Printer Handler) for spooling into its spool queue. The job is then sent out to the printer via a local TPrintDeviceChannel. The ability to spool raw imaged data is utilized for this situation but should be avoided since the device independence is lost prior to being received by the remote system. The use of device queries or bi-directional communication with the device is not possible across remote systems. FIG. 11 is a block diagram of local imaging in accordance with a preferred embodiment.
Local imaging to networked printer
Networked printers are basically the same as a local printer except that the communications channel must use a specific network protocol. This scenario can be used for printers using protocols based on NPA (Network Printing Architecture), TCP/IP, PAP protocol, and Novell IPX based print servers. The TPrintDeviceChannel will map the printer protocol into the TImagingTask interface for devices. FIG. 12 is a block diagram of local imaging to a networked printer.
TPrinterHandler Interface Changes
A TPrinterItandler will register itself as a TServiceAdaptor and provide a protocol interface (using Message Streams. Since the communication is similar whether the TPrinterHandler is on one machine or multiple machines, it is not necessary to implement a wrapper class to handle the IPC between machines.
TPrintlobHandle Interface
To facilitate printing raw data from a TModel, the TPrintJobHandle interface will include a method to set the type of the job (SetJobType).
TPrintDeviceChannel Interface
The TPrintDeviceChannel interface will be used to provide a common interface between the imaging task and the physical printer. The TPrintDeviceChannel will implement different communications protocols for the printing services, example implementations could be for direct connect printers (serial or parallel) or networked devices (such as PAP, Novell, and TCP/IP). For some hardware or special purposes, the TPrinterHandler can integrate the communications portion without using a TPrintDeviceChannel but typical printer architecture's will use TPrintDeviceChannel.
In summary, the printer handler interface provides a set of query, data transfer and control methods. The queries consist of a Lookup (for device identification), IsBidirectional (in order to provide optimized imaging), and GetStatus (for printer status). For data transfer, the Connect and Disconnect methods will be used to bracket connections prior to using SendData and GetData. The control methods include Abort (cancel the job), Pause (pause the job) and Flush (to clear out the data channel). To allow for parallel processing between the imaging task and the TPrintDeviceChannel, a GetStream method provides multiple streams to the imaging task.
While the invention is described in terms of preferred embodiments in a specific system environment, those skilled in the art will recognize that the invention can be practiced, with modification, in other and different hardware and software environments within the spirit and scope of the appended claims.

Claims (33)

Having thus described our invention, what we claim as new, and desire to secure by Letters Patent is:
1. A computer system for controlling a print device to generate a printed output, the computer system comprising:
(a) an application program for generating printable information;
(b) a storage device;
(c) a processor for executing the application program, for storing the printable information in the storage device and for retrieving the printable information from the storage device;
(d) an operating system stored in the storage device and cooperating with the processor for controlling the print device, the operating system comprising:
(1) a printing interface for formatting and paginating the printable information in response to commands generated by the application program;
(2) a printer handler for receiving formatted printable information from the printing interface, for converting the formatted printable information to a native imaging model of the print device, for modifying the printable information to include predetermined printer commands to control the print device and for providing an output data stream which includes the printable information modified to include the predetermined printer commands; and
(3) means for transmitting the formatted, printable information from the printing interface to the printer handler; and
(e) communication means for receiving the output data stream from the printer handler and for transmitting the output data stream including the modified printable information to the print device.
2. A computer system as recited in claim 1, wherein:
the communication means converts the modified printable information data into electrical signals that are sent to the print device; and
the printer handler includes a plurality of query methods a plurality of data transfer methods and a plurality of control methods and wherein at least one of the plurality of query methods is a method for querying the print device for status information.
3. A computer system as recited in claim 1, wherein the printing interface generates a document folio which includes textual and graphics data which has been formatted and arranged in a manner specified by the application program; and wherein the computer system further includes a print channel object created to transport the document folio to the print device, wherein the application program identifies the printable information with a print job description and a printer identification which the print channel object uses to transmit the printable information to the print device.
4. A computer system as recited in claim 3, further comprising:
a spooler for receiving printable information from the print channel object;
an intermediate storage location, coupled to the spooler, wherein the spooler stores the printable information received from the print channel object in the intermediate storage location in a predetermined order; and
means for notifying the printer handler that printable information is stored in the intermediate storage location.
5. A computer system as recited in claim 4, wherein the printer handler further comprises:
a despooler for retrieving the printable information from the intermediate storage location and forming a data stream; and
an imaging engine, coupled to the despooler for receiving the data stream, the imaging engine converting the data stream fed thereto into command signals for driving the print device to provide the printed output.
6. A computer system as recited in claim 1, including menu means for initiating a print operation.
7. A computer system as recited in claim 1, including means for connecting the printer handler to a remote computer system having a second print device.
8. A method for controlling a computer to generate a printed output, the method comprising the steps of:
(a) generating printable information comprising at least one of textual data and graphics data using an application program running in a local computer;
(b) formatting the printable information in response to commands generated by the application program;
(c) paginating the printable information in response to commands generated by the application program;
(d) generating a document folio which includes the printable information which has been formatted and paginated by the application program;
(e) spooling the printable information onto a storage device of the local computer;
(f) connecting the local computer to a remote computer system having a print device coupled there to;
(g) converting the printable information to a native imaging model of the print device coupled to the remote computer system;
(h) modifying the printable information to include predetermined printer commands to control the print device of the remote computer system; and
(i) transmitting the formatted, modified printable information to the print device of the remote computer system for printing.
9. A method as recited in claim 8, including the step of querying the print device of the remote computer system for status information.
10. A method as recited in claim 8, wherein step (i) includes the steps of:
(i1) storing a graphic description of the documentation folio on the storage device as a print job;
(i2) transmitting a message to a printer handler that there is a print job for the print handler to process;
(i3) locating the print job via the printer handler;
(i4) retrieving the print job from the storage device;
(i5) converting the print job to a native imaging model of the print device; and
(i6) sending the converted print job to the print device.
11. A method as recited in claim 10, further comprising the step of:
(j) prioritizing the print job in a print queue of the remote computer system.
12. A method as recited in claim 10, further comprising the steps of:
(k) converting the print job retrieved from the storage device into command signals;
(l) providing the command signals to the print device; and
(m) using the command signals to drive printing elements of the print device and to produce a printed document.
13. A method as recited in claim 12 wherein after a particular print job is completed, the method further includes the step of:
(n) deleting the print job stored in the storage device.
14. A method as recited in claim 8, including the step of:
(p) reporting status information during a print operation.
15. A method as recited in claim 14, including the step of:
(q) reporting status information when a new page is encountered.
16. A method of transmitting a document to a printer under control of an application program, the method comprising the steps of:
(a) generating a document folio containing textual and graphic data to be printed, the data being formatted and arranged in a predetermined manner specified by the application program;
(b) generating a print job description and a printer identification code for the printer;
(c) instantiating a print channel object using the printer identification code to transport the document folio to the printer;
(d) providing the document folio and the print job description to the printer channel object as a print job;
(e) transporting the print job to the printer via the print channel object; and
(f) removing the document folio from the print job and using the information therein to control the printer to print the textual and graphic data therein.
17. The method of claim 16 wherein the step (e) includes the steps of:
(e.1) transmitting the print job to a spooler program;
(e.2) receiving the print job in the spooler program;
(e.3) storing the print job in an intermediate storage location; and
(e.4) notifying a print server via a link that the print job is stored in the intermediate storage location.
18. The method of claim 17 wherein, step (e) further comprises the steps of:
(e.5) notifying a printer handler via the print server that the textual and graphic data has been stored in the intermediate storage location;
(e.6) retrieving the textual and graphic data from the intermediate storage location; and
(e.7) providing the textual and graphic data to an imaging engine.
19. The method of claim 18 wherein step (f) further comprises the steps of:
(f.1) converting, via the imaging engine, the textual and graphic data retrieved from the intermediate storage location into command signals;
(f.2) providing the command signals to the printer; and
(f.3) driving printing elements of the printer via the command signals to provide a printed document.
20. The method of claim 18 further including the step of:
(g) deleting the textual and graphic data from the intermediate storage location.
21. A method for enabling printing by a computer having a memory and an operating system, comprising the steps of:
(a) providing class libraries for storage in the computer memory from which
( 1 ) a printing interface object may be instantiated to cause the conversion of application program output to page-formatted text and graphic data, and
( 2 ) a print channel object may be instantiated to cause the transfer of the page formatted data to an appropriate printer; and
(b) providing a run-time environment to
( 1 ) support the instantiation of the printing interface and print channel objects and
( 2 ) selectively cause the transfer by the operating system of the page formatted data to a specific printer.
22. The method of claim 21, wherein the transfer causing step (b)( 2 ) further comprises the step of rearranging the page order of the formatted data responsive to a message representing a print job priority.
23. The method of claim 22, wherein the rearranging step further comprises the step of selectively reorienting the page formatted data responsive to a message representing a predetermined bookler print format.
24. The method of claim 21, wherein the transfer causing step (b)( 2 ) further comprises the step of transferring selected portions of the page formatted data to a specific printer.
25. The method of claim 21, wherein the transfer causing step (b)( 2 ) further comprises the step of transferring the page formatted data to a selected one of several specific printers.
26. The method of claim 21, wherein the page formatted data includes text and graphics data arranged in a predetermined printer-dependent format.
27. The method of claim 21, wherein the application program output includes text and graphics data arranged in a printer-independent format.
28. A computer program product for enabling printing by a computer having a memory and an operating system, said computer program product including a computer-useable means for storing therein computer-readable code comprising:
program code for providing class libraries for storage in the computer memory from which
a printing interface object may be instantiated to cause the conversion of application program output to page-formatted text and graphic data, and
a print channel object may be instantiated to cause the transfer of the page formatted data to an appropriate printer; and
program code for providing a run-time environment to
support the instantiation of the printing interface and print channel objects and
selectively cause the transfer by the operating system of the page formatted data to a specific printer.
29. The computer program product of claim 28, further comprising program code for rearranging the page order of the formatted data responsive to a message representing a print job priority.
30. The computer program product of claim 29, further comprising program code for selectively reorienting the page formatted data responsive to a message representing a predetermined booklet print format.
31. The computer program product of claim 28, further comprising program code for transferring selected portions of the page formatted data to a specific printer.
32. The computer program product of claim 28, wherein the page formatted data includes text and graphics data arranged in a predetermined printer-independent format.
33. The computer program product of claim 28, wherein the application program output includes text and graphics data arranged in a printer-independent format.
US09/173,465 1993-08-24 1998-10-14 Object oriented printing system Expired - Lifetime USRE37258E1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US09/173,465 USRE37258E1 (en) 1993-08-24 1998-10-14 Object oriented printing system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/111,238 US5566278A (en) 1993-08-24 1993-08-24 Object oriented printing system
US09/173,465 USRE37258E1 (en) 1993-08-24 1998-10-14 Object oriented printing system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US08/111,238 Reissue US5566278A (en) 1993-08-24 1993-08-24 Object oriented printing system

Publications (1)

Publication Number Publication Date
USRE37258E1 true USRE37258E1 (en) 2001-07-03

Family

ID=22337331

Family Applications (2)

Application Number Title Priority Date Filing Date
US08/111,238 Ceased US5566278A (en) 1993-08-24 1993-08-24 Object oriented printing system
US09/173,465 Expired - Lifetime USRE37258E1 (en) 1993-08-24 1998-10-14 Object oriented printing system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US08/111,238 Ceased US5566278A (en) 1993-08-24 1993-08-24 Object oriented printing system

Country Status (3)

Country Link
US (2) US5566278A (en)
AU (1) AU5990094A (en)
WO (1) WO1995006279A1 (en)

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6341907B1 (en) * 1999-06-16 2002-01-29 Sharp Kabushiki Kaisha Printing device and host device
US20020089692A1 (en) * 2001-01-11 2002-07-11 Ferlitsch Andrew R. Methods and systems for printing error recovery
US20020089691A1 (en) * 2001-01-11 2002-07-11 Andrew Fertlitsch Methods and systems for printing device load-balancing
US20020089687A1 (en) * 2001-01-11 2002-07-11 Ferlitsch Andrew Rodney Methods and systems for print-processor-based printer status detection and print task distribution
US6433881B1 (en) * 1998-12-30 2002-08-13 Pitney Bowes Inc. Method of establishing a set of print stream objects in an object oriented environment
US20020113989A1 (en) * 2001-01-11 2002-08-22 Ferlitsch Andrew Rodney Methods and systems for print-processor modified printing
US20020120659A1 (en) * 2001-02-01 2002-08-29 Travis Parry Delay timer for printing from the driver
US20020165007A1 (en) * 2001-05-03 2002-11-07 Ncr Corporation Methods and apparatus for wireless operator notification in document processing systems
US20020194228A1 (en) * 2001-06-18 2002-12-19 Lainye Reich System and method for automated rendering to print to a file
US20030007179A1 (en) * 2001-01-11 2003-01-09 Andrew Ferlitsch Methods and systems for page-independent spool file sheet assembly
US20030007171A1 (en) * 2001-07-09 2003-01-09 Simpson Shell Sterling Document production management in a distributed environment
US6560772B1 (en) * 1999-10-15 2003-05-06 International Business Machines Corporation Method, system, and program for accessing data in different environments
US20030088429A1 (en) * 2001-11-05 2003-05-08 Schmeling Garth F. Secure and mediated access for E-services
US6581097B1 (en) 1998-12-30 2003-06-17 Pitney Bowes Inc. Method and system of determining a job ticket for a print stream determining process
US20030197887A1 (en) * 2002-04-18 2003-10-23 Shenoy Rajesh K. Pull based computer output devices
US20030207019A1 (en) * 2002-05-02 2003-11-06 Avraham Shekalim Stent coating device
US6657744B2 (en) 1998-12-30 2003-12-02 Pitney Bowes Inc. Message structure for a print stream determining and analysis system
US20030227644A1 (en) * 2001-01-11 2003-12-11 Sharp Laboratories Of America, Inc. Methods and systems for driver independent customized printing
US20040021906A1 (en) * 2002-08-05 2004-02-05 Howard Dennis W. Peripheral device output job routing
US20040070785A1 (en) * 2002-10-15 2004-04-15 Ferlitsch Andrew Rodney Systems and methods for providing a universal print assist
US20040075864A1 (en) * 2002-10-18 2004-04-22 Hiroshi Kato Image data control device, image data control program, computer readable recording medium on which the program is stored, image forming device, and image reading device
US6762851B1 (en) 1998-12-30 2004-07-13 Pitney Bowes Inc. Method and system for print stream job determination and analysis
US20040205652A1 (en) * 2001-11-05 2004-10-14 Simpson Shell S. System and method for producing business cards
US20050200913A1 (en) * 2004-03-11 2005-09-15 International Business Machines Corporation Systems and methods for identifying complex text in a presentation data stream
US20050241577A1 (en) * 2002-05-02 2005-11-03 Labcoat, Ltd. Stent coating device
US20060073265A1 (en) * 2002-05-02 2006-04-06 Eyal Teichman Method and apparatus for coating a medical device
US7046384B2 (en) 2001-01-11 2006-05-16 Sharp Laboratories Of America, Inc. Methods and systems for print-processor-based print task error recovery
US7180619B2 (en) 2001-01-11 2007-02-20 Sharp Laboratories Of America, Inc. Methods and systems for recovering a failed print job
US20070271567A1 (en) * 2006-05-16 2007-11-22 Samsung Electronics Co., Ltd. Apparatus and method for performing a task
US7365870B2 (en) 2001-08-17 2008-04-29 Sharp Laboratories Of America, Inc Methods and systems for page-independent spool file face-up emulation
US20080188963A1 (en) * 2005-06-09 2008-08-07 Whirlpool Corporation Distributed object-oriented appliance control system
US20080307443A1 (en) * 2002-12-27 2008-12-11 Canon Kabushiki Kaisha Information processing apparatus, method of controlling the same, program, and recording medium
US7548331B2 (en) 2001-01-11 2009-06-16 Sharp Laboratories Of America, Inc. Methods and systems for print system component-based remote printing
US20150065095A1 (en) * 2013-08-28 2015-03-05 Samsung Electronics Co., Ltd. Method for transmitting notification information and electronic device thereof

Families Citing this family (114)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5818603A (en) * 1996-03-29 1998-10-06 Ricoh Company, Ltd. Method and system for controlling and communicating with machines using multiple communication formats
US5805885A (en) 1992-12-24 1998-09-08 Microsoft Corporation Method and system for aggregating objects
US6731403B1 (en) 1994-03-15 2004-05-04 Canon Kabushiki Kaisha Color image process system, color image apparatus, color image processing method
JPH07254991A (en) * 1994-03-15 1995-10-03 Canon Inc System, device and method for processing color image
JP3327688B2 (en) * 1994-07-29 2002-09-24 キヤノン株式会社 Control method of image processing device
US5881213A (en) * 1994-10-05 1999-03-09 Microsoft Corporation Deferred printing
US5732198A (en) * 1995-02-09 1998-03-24 Oki America, Inc. Host based printing system for printing a document having at least one page
JP3492068B2 (en) * 1995-02-16 2004-02-03 キヤノン株式会社 Print control method and apparatus
US5857064A (en) * 1995-04-03 1999-01-05 Object Technology Licensing Corporation System for imaging complex graphical images
US6213652B1 (en) * 1995-04-18 2001-04-10 Fuji Xerox Co., Ltd. Job scheduling system for print processing
US5691897A (en) * 1995-05-30 1997-11-25 Roy-G-Biv Corporation Motion control systems
US20060206219A1 (en) 1995-05-30 2006-09-14 Brown David W Motion control systems and methods
US6401150B1 (en) * 1995-06-06 2002-06-04 Apple Computer, Inc. Centralized queue in network printing systems
US5852744A (en) * 1995-07-14 1998-12-22 Oki America, Inc. Method for discovering a network printer by assigning dedicated sockets to different printer types and polling the dedicated sockets to learn the corresponding state
US6249821B1 (en) * 1995-07-14 2001-06-19 Oki Data Americas, Inc. Network object frameworks
US6069706A (en) 1995-07-31 2000-05-30 Canon Kabushiki Kaisha Image reading device and image processing method utilizing the same
US6111605A (en) * 1995-11-06 2000-08-29 Ricoh Company Limited Digital still video camera, image data output system for digital still video camera, frame for data relay for digital still video camera, data transfer system for digital still video camera, and image regenerating apparatus
JP3747108B2 (en) * 1996-02-02 2006-02-22 キヤノン株式会社 Digital imaging apparatus and control method thereof
US6219148B1 (en) * 1996-03-08 2001-04-17 Canon Kabushiki Kaisha Printer spooler output apparatus and method with computer program and memory storage medium
US6049673A (en) * 1996-03-08 2000-04-11 Organicnet, Inc. Organicware applications for computer systems
KR970066830A (en) * 1996-03-12 1997-10-13 김광호 A method of providing a printing environment of a printer shared by a plurality of computers
JP3580060B2 (en) * 1996-05-09 2004-10-20 富士ゼロックス株式会社 Print control apparatus and method
US6593947B1 (en) * 1996-05-10 2003-07-15 Apple Computer, Inc. Method and system for image rendering including polymorphic image data in a graphical user interface
US6628413B1 (en) * 1996-05-14 2003-09-30 Ricoh Company, Ltd. Java printer
US6026416A (en) * 1996-05-30 2000-02-15 Microsoft Corp. System and method for storing, viewing, editing, and processing ordered sections having different file formats
US6101513A (en) * 1996-05-31 2000-08-08 Microsoft Corporation Method and apparatus for displaying database information according to a specified print layout and page format
US6268924B1 (en) * 1996-06-06 2001-07-31 Microsoft Corporation Document object having a print interface for programmatic automation by a using program
US6148346A (en) * 1996-06-20 2000-11-14 Peerless Systems Imaging Products, Inc. Dynamic device driver
US5987245A (en) 1996-07-01 1999-11-16 Sun Microsystems, Inc. Object-oriented system, method and article of manufacture (#12) for a client-server state machine framework
US6272555B1 (en) 1996-07-01 2001-08-07 Sun Microsystems, Inc. Object-oriented system, method and article of manufacture for a client-server-centric interprise computing framework system
US6038590A (en) 1996-07-01 2000-03-14 Sun Microsystems, Inc. Object-oriented system, method and article of manufacture for a client-server state machine in an interprise computing framework system
US6424991B1 (en) 1996-07-01 2002-07-23 Sun Microsystems, Inc. Object-oriented system, method and article of manufacture for a client-server communication framework
US5848246A (en) 1996-07-01 1998-12-08 Sun Microsystems, Inc. Object-oriented system, method and article of manufacture for a client-server session manager in an interprise computing framework system
US6304893B1 (en) 1996-07-01 2001-10-16 Sun Microsystems, Inc. Object-oriented system, method and article of manufacture for a client-server event driven message framework in an interprise computing framework system
US6434598B1 (en) 1996-07-01 2002-08-13 Sun Microsystems, Inc. Object-oriented system, method and article of manufacture for a client-server graphical user interface (#9) framework in an interprise computing framework system
US5999972A (en) 1996-07-01 1999-12-07 Sun Microsystems, Inc. System, method and article of manufacture for a distributed computer system framework
US6266709B1 (en) 1996-07-01 2001-07-24 Sun Microsystems, Inc. Object-oriented system, method and article of manufacture for a client-server failure reporting process
JP3957825B2 (en) * 1996-10-15 2007-08-15 キヤノン株式会社 Print control system and scanner control system
US5956487A (en) * 1996-10-25 1999-09-21 Hewlett-Packard Company Embedding web access mechanism in an appliance for user interface functions including a web server and web browser
US6553428B1 (en) 1996-11-18 2003-04-22 International Business Machines Corporation Distributed object instantiation of native objects in java
US6014660A (en) * 1996-12-09 2000-01-11 Sun Microsystems, Inc. Method and apparatus for client-sensitive name resolution using DNS
KR100225071B1 (en) * 1996-12-23 1999-10-15 윤종용 Print margin changing method with manual feeding
EP0854415B1 (en) * 1996-12-27 2004-05-19 Canon Kabushiki Kaisha Printing system
JP3361951B2 (en) * 1997-02-25 2003-01-07 大日本スクリーン製造株式会社 Print data processing apparatus and method
US5946458A (en) * 1997-03-24 1999-08-31 Xerox Corporation Network printing system for responding to remote print-related requests
US6222638B1 (en) 1997-09-29 2001-04-24 Canon Kabushiki Kaisha Displaying printer property sheets
US20010032278A1 (en) * 1997-10-07 2001-10-18 Brown Stephen J. Remote generation and distribution of command programs for programmable devices
EP0910011A3 (en) * 1997-10-14 2000-12-06 Canon Kabushiki Kaisha Apparatus and method for displaying job list, and storage medium for such a program
US5995723A (en) * 1997-11-18 1999-11-30 Xerox Corporation Client subsystem for changing document/job attributes in a network printing system
US6167449A (en) * 1997-11-19 2000-12-26 Apple Computer, Inc. System and method for identifying and locating services on multiple heterogeneous networks using a query by type
US6031623A (en) * 1997-12-11 2000-02-29 Hewlett-Packard Company Computer system with evolving printer
JP3711435B2 (en) * 1998-02-10 2005-11-02 セイコーエプソン株式会社 Print data preview method and apparatus, and recording medium
US6477589B1 (en) 1998-03-13 2002-11-05 Canon Kabushiki Kaisha Information processing apparatus and method
JP4817474B2 (en) * 1998-03-17 2011-11-16 キヤノン株式会社 Data processing apparatus, data processing method, and storage medium storing computer-readable program
US6151024A (en) * 1998-03-31 2000-11-21 International Business Machines Corporation Data processor controlled display interface with tree hierarchy of elements view expandable into multiple detailed views
US6344859B1 (en) * 1998-03-31 2002-02-05 International Business Machines Corporation Data processor controlled display system with a plurality of selectable basic function interfaces for the control of varying types of customer requirements and with additional customized functions
US6288790B1 (en) 1998-05-15 2001-09-11 International Business Machines Corporation Mobility support for printing
US6535295B1 (en) * 1998-08-24 2003-03-18 International Business Machines Corporation Virtual printer with asynchronous job and device status
US6266150B1 (en) 1998-08-24 2001-07-24 International Business Machines Corporation Virtual printer
FR2785404B1 (en) * 1998-10-30 2001-08-24 Bull Sa METHOD FOR CONTROLLING A FUNCTION EXECUTABLE BY COMMANDS SPECIFIC TO DIFFERENT SOFTWARE
US6988123B2 (en) * 1998-11-06 2006-01-17 Seiko Epson Corporation Methods and apparatus for remote execution of an application over the internet
US6636891B1 (en) * 1998-11-06 2003-10-21 Seiko Epson Corporation Methods and apparatus for controlling an input or output device over the internet
JP3258633B2 (en) * 1998-11-26 2002-02-18 キヤノン株式会社 Ink jet recording apparatus and method, printing system and control method thereof
JP2000185445A (en) * 1998-12-22 2000-07-04 Canon Inc Method and apparatus for printing control
JP3266146B2 (en) * 1999-01-20 2002-03-18 セイコーエプソン株式会社 Printer and network printing system
US6538773B1 (en) 1999-03-26 2003-03-25 International Business Machines Corporation Method and apparatus for rendering grayscales at a facsimile presentation device using a calibrated transform
US6498661B1 (en) 1999-03-26 2002-12-24 International Business Machines Corporation Method and apparatus for rendering grayscales at a facsimile presentation device using a calibrated threshold matrix
GB2349256B (en) * 1999-04-20 2003-06-04 Hewlett Packard Co Print job queue for arbitrary network topologies
US6684260B1 (en) * 1999-05-04 2004-01-27 Hewlett-Packard Development Company, L.P. Maintaining consistency of device driver settings
JP3740320B2 (en) * 1999-05-31 2006-02-01 キヤノン株式会社 Device search system and device search method
US6466935B1 (en) 1999-06-04 2002-10-15 International Business Machines Corporation Applying relational database technology to process control in manufacturing processes
US7054015B1 (en) * 1999-07-02 2006-05-30 Electronics For Imaging, Inc. Printer description file format generator
US7302430B1 (en) 1999-08-31 2007-11-27 International Business Machines Corporation Workflow management system for generating output material based on customer input
US6667814B1 (en) 1999-09-15 2003-12-23 Lexmark International, Inc. Automatic up image printing
US7028303B2 (en) * 1999-09-17 2006-04-11 International Business Machines Corporation Method, system, and program for processing a job in an event driven workflow environment
JP2001101163A (en) * 1999-09-27 2001-04-13 Ricoh Co Ltd Device for preparing printing image
US6738156B1 (en) * 1999-09-28 2004-05-18 Hewlett-Packard Development Company, L.P. Reusable job editing and delivery system
US7171373B2 (en) * 1999-10-21 2007-01-30 International Business Machines Corporation Database driven workflow management system for generating output material based on customer input
US20100131078A1 (en) * 1999-10-27 2010-05-27 Brown David W Event driven motion systems
US6886050B2 (en) * 1999-10-29 2005-04-26 Seiko Epson Corporation Method for controlling a communication terminal device and rewritable storage medium having initialization setting data
US7401113B1 (en) * 1999-12-09 2008-07-15 Microsoft Corporations Printer driver identification for a remote printer
US7170617B1 (en) 2000-04-17 2007-01-30 International Business Machines Corporation Method and apparatus for determining how to process incoming print jobs
US7177041B2 (en) * 2000-04-17 2007-02-13 International Business Machines Corporation Method and apparatus for detecting and processing print jobs that request backchannel data
US6684789B2 (en) * 2000-05-17 2004-02-03 Ccp Systems Ag Method and system for the transformation of digital print data streams and corresponding printer and printer server
US7545522B1 (en) * 2000-05-23 2009-06-09 Ricoh Company, Ltd. Automatic printing information dialogue box display
US7733521B1 (en) 2000-07-05 2010-06-08 Lexmark International, Inc. Printer apparatus with selectable photo enhancement project and settings storage dynamically definable user interface and functions and template definition
US6999188B1 (en) * 2000-10-30 2006-02-14 Konica Minolta Printing Solutions U.S.A., Inc. Dynamically configurable printer and method of use thereof
US10915296B2 (en) 2000-11-01 2021-02-09 Flexiworld Technologies, Inc. Information apparatus that includes a touch sensitive screen interface for managing or replying to e-mails
US20020059415A1 (en) 2000-11-01 2002-05-16 Chang William Ho Manager for device-to-device pervasive digital output
US10860290B2 (en) 2000-11-01 2020-12-08 Flexiworld Technologies, Inc. Mobile information apparatuses that include a digital camera, a touch sensitive screen interface, support for voice activated commands, and a wireless communication chip or chipset supporting IEEE 802.11
US11204729B2 (en) 2000-11-01 2021-12-21 Flexiworld Technologies, Inc. Internet based digital content services for pervasively providing protected digital content to smart devices based on having subscribed to the digital content service
WO2002042896A1 (en) 2000-11-20 2002-05-30 Flexiworld Technologies, Inc. tOBILE AND PERVASIVE OUTPUT COMPONENTS
AUPR161800A0 (en) * 2000-11-22 2000-12-14 Canon Kabushiki Kaisha Peripheral driver forward compatibility
US20020097416A1 (en) 2001-01-19 2002-07-25 Chang William Ho Output controller processor for universal data output
US7904194B2 (en) 2001-02-09 2011-03-08 Roy-G-Biv Corporation Event management systems and methods for motion control systems
US20030020944A1 (en) * 2001-05-17 2003-01-30 International Business Machines Corporation Printer pausing and reordering
US20030053123A1 (en) * 2001-09-05 2003-03-20 Michael Wu Method of communicating with a printing system using a rule-based protocol
US6520616B1 (en) * 2001-09-26 2003-02-18 Hewlett-Packard Company Printer having a controller adapted to discover print engine status objects and method
US20030184782A1 (en) * 2002-03-27 2003-10-02 Perkins Gregory E. Printer driver configured to dynamically receive printer self-description
US20030200353A1 (en) * 2002-04-19 2003-10-23 Vikas Dogra Browser-implemented upload/download of a driver
US20030210428A1 (en) * 2002-05-07 2003-11-13 Alex Bevlin Non-OCR method for capture of computer filled-in forms
KR100478368B1 (en) * 2002-05-21 2005-03-24 주식회사 나래시스템 A method of processing a data of host computer
US7256901B2 (en) * 2002-10-10 2007-08-14 Sharp Laboratories Of America, Inc. Printer driver customization using incremental custom print processor
US20050259653A1 (en) * 2003-07-28 2005-11-24 Q-Nomy Inc. System architecture and method for customer flow management
US20050027573A1 (en) * 2003-07-28 2005-02-03 Assaf Silberstein System architecture and a method for customer flow management
US20060064503A1 (en) 2003-09-25 2006-03-23 Brown David W Data routing systems and methods
US8027349B2 (en) * 2003-09-25 2011-09-27 Roy-G-Biv Corporation Database event driven motion systems
US8164785B2 (en) 2004-06-15 2012-04-24 Sharp Laboratories Of America, Inc. Method and apparatus for selecting printing devices according to resource availability
US20060044595A1 (en) * 2004-08-24 2006-03-02 Sharp Laboratories Of America Inc. Imaging job monitoring and pipelining
US7821657B2 (en) * 2004-09-14 2010-10-26 Sharp Laboratories Of America, Inc. Continuous raster image processing control across print jobs
US8208152B2 (en) * 2005-01-31 2012-06-26 Xerox Corporation Printer controlled default driver configuration
JP2006268512A (en) * 2005-03-24 2006-10-05 Brother Ind Ltd Print control unit and program
US8358436B2 (en) * 2007-01-31 2013-01-22 Sharp Laboratories Of America, Inc. Systems and methods for efficiently handling imaging job settings
US9454736B2 (en) * 2009-03-30 2016-09-27 Q-Nomy Inc. System and method for queue management

Citations (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4821220A (en) * 1986-07-25 1989-04-11 Tektronix, Inc. System for animating program operation and displaying time-based relationships
US4885717A (en) * 1986-09-25 1989-12-05 Tektronix, Inc. System for graphically representing operation of object-oriented programs
US4891630A (en) * 1988-04-22 1990-01-02 Friedman Mark B Computer vision system with improved object orientation technique
US4953080A (en) * 1988-04-25 1990-08-28 Hewlett-Packard Company Object management facility for maintaining data in a computer system
US5025399A (en) * 1988-09-23 1991-06-18 Datacard Corporation Method and apparatus for personalizing plastic cards
US5025398A (en) * 1990-05-21 1991-06-18 Storage Technology Corporation Data stream independent printer
US5041992A (en) * 1988-10-24 1991-08-20 University Of Pittsburgh Interactive method of developing software interfaces
US5050090A (en) * 1989-03-30 1991-09-17 R. J. Reynolds Tobacco Company Object placement method and apparatus
US5052834A (en) * 1989-04-14 1991-10-01 International Business Machines Corporation System and method of printing sideways
US5060276A (en) * 1989-05-31 1991-10-22 At&T Bell Laboratories Technique for object orientation detection using a feed-forward neural network
US5075848A (en) * 1989-12-22 1991-12-24 Intel Corporation Object lifetime control in an object-oriented memory protection mechanism
US5093914A (en) * 1989-12-15 1992-03-03 At&T Bell Laboratories Method of controlling the execution of object-oriented programs
US5119475A (en) * 1991-03-13 1992-06-02 Schlumberger Technology Corporation Object-oriented framework for menu definition
US5123757A (en) * 1988-06-23 1992-06-23 Hitachi, Ltd. Printing system using received control program from word processor
US5125091A (en) * 1989-06-08 1992-06-23 Hazox Corporation Object oriented control of real-time processing
US5133075A (en) * 1988-12-19 1992-07-21 Hewlett-Packard Company Method of monitoring changes in attribute values of object in an object-oriented database
US5136705A (en) * 1988-06-14 1992-08-04 Tektronix, Inc. Method of generating instruction sequences for controlling data flow processes
US5151987A (en) * 1990-10-23 1992-09-29 International Business Machines Corporation Recovery objects in an object oriented computing environment
US5181162A (en) * 1989-12-06 1993-01-19 Eastman Kodak Company Document management and production system
US5226112A (en) * 1992-06-12 1993-07-06 Xerox Corporation Method for translating a plurality of printer page description languages
US5287194A (en) * 1992-11-25 1994-02-15 Xerox Corporation Distributed printing
US5303336A (en) * 1990-05-14 1994-04-12 Hitachi, Ltd. Printing system including print server
US5323393A (en) * 1992-11-18 1994-06-21 Canon Information Systems, Inc. Method and apparatus for obtaining and for controlling the status of a networked peripheral
US5337258A (en) * 1992-07-10 1994-08-09 Microsoft Corporation Cost metrics
US5353388A (en) * 1991-10-17 1994-10-04 Ricoh Company, Ltd. System and method for document processing
US5495561A (en) * 1993-06-21 1996-02-27 Taligent, Inc. Operating system with object-oriented printing interface

Patent Citations (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4821220A (en) * 1986-07-25 1989-04-11 Tektronix, Inc. System for animating program operation and displaying time-based relationships
US4885717A (en) * 1986-09-25 1989-12-05 Tektronix, Inc. System for graphically representing operation of object-oriented programs
US4891630A (en) * 1988-04-22 1990-01-02 Friedman Mark B Computer vision system with improved object orientation technique
US4953080A (en) * 1988-04-25 1990-08-28 Hewlett-Packard Company Object management facility for maintaining data in a computer system
US5136705A (en) * 1988-06-14 1992-08-04 Tektronix, Inc. Method of generating instruction sequences for controlling data flow processes
US5123757A (en) * 1988-06-23 1992-06-23 Hitachi, Ltd. Printing system using received control program from word processor
US5025399A (en) * 1988-09-23 1991-06-18 Datacard Corporation Method and apparatus for personalizing plastic cards
US5041992A (en) * 1988-10-24 1991-08-20 University Of Pittsburgh Interactive method of developing software interfaces
US5133075A (en) * 1988-12-19 1992-07-21 Hewlett-Packard Company Method of monitoring changes in attribute values of object in an object-oriented database
US5050090A (en) * 1989-03-30 1991-09-17 R. J. Reynolds Tobacco Company Object placement method and apparatus
US5052834A (en) * 1989-04-14 1991-10-01 International Business Machines Corporation System and method of printing sideways
US5060276A (en) * 1989-05-31 1991-10-22 At&T Bell Laboratories Technique for object orientation detection using a feed-forward neural network
US5125091A (en) * 1989-06-08 1992-06-23 Hazox Corporation Object oriented control of real-time processing
US5181162A (en) * 1989-12-06 1993-01-19 Eastman Kodak Company Document management and production system
US5093914A (en) * 1989-12-15 1992-03-03 At&T Bell Laboratories Method of controlling the execution of object-oriented programs
US5075848A (en) * 1989-12-22 1991-12-24 Intel Corporation Object lifetime control in an object-oriented memory protection mechanism
US5303336A (en) * 1990-05-14 1994-04-12 Hitachi, Ltd. Printing system including print server
US5025398A (en) * 1990-05-21 1991-06-18 Storage Technology Corporation Data stream independent printer
US5151987A (en) * 1990-10-23 1992-09-29 International Business Machines Corporation Recovery objects in an object oriented computing environment
US5119475A (en) * 1991-03-13 1992-06-02 Schlumberger Technology Corporation Object-oriented framework for menu definition
US5353388A (en) * 1991-10-17 1994-10-04 Ricoh Company, Ltd. System and method for document processing
US5226112A (en) * 1992-06-12 1993-07-06 Xerox Corporation Method for translating a plurality of printer page description languages
US5337258A (en) * 1992-07-10 1994-08-09 Microsoft Corporation Cost metrics
US5323393A (en) * 1992-11-18 1994-06-21 Canon Information Systems, Inc. Method and apparatus for obtaining and for controlling the status of a networked peripheral
US5287194A (en) * 1992-11-25 1994-02-15 Xerox Corporation Distributed printing
US5495561A (en) * 1993-06-21 1996-02-27 Taligent, Inc. Operating system with object-oriented printing interface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IBM Technical Disclosure Bulletin, V. 34(10A), New York, US, pp. 912-193 "Use of Agraphical User Interface for Printers" Mar. 1992 . *

Cited By (57)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6762851B1 (en) 1998-12-30 2004-07-13 Pitney Bowes Inc. Method and system for print stream job determination and analysis
US6657744B2 (en) 1998-12-30 2003-12-02 Pitney Bowes Inc. Message structure for a print stream determining and analysis system
US6581097B1 (en) 1998-12-30 2003-06-17 Pitney Bowes Inc. Method and system of determining a job ticket for a print stream determining process
US6433881B1 (en) * 1998-12-30 2002-08-13 Pitney Bowes Inc. Method of establishing a set of print stream objects in an object oriented environment
US6341907B1 (en) * 1999-06-16 2002-01-29 Sharp Kabushiki Kaisha Printing device and host device
US6560772B1 (en) * 1999-10-15 2003-05-06 International Business Machines Corporation Method, system, and program for accessing data in different environments
US7046384B2 (en) 2001-01-11 2006-05-16 Sharp Laboratories Of America, Inc. Methods and systems for print-processor-based print task error recovery
US20020089692A1 (en) * 2001-01-11 2002-07-11 Ferlitsch Andrew R. Methods and systems for printing error recovery
US7480068B2 (en) 2001-01-11 2009-01-20 Sharp Laboratories Of America, Inc. Methods and systems for page-independent spool file sheet assembly
US20030007179A1 (en) * 2001-01-11 2003-01-09 Andrew Ferlitsch Methods and systems for page-independent spool file sheet assembly
US7679770B2 (en) 2001-01-11 2010-03-16 Sharp Laboratories Of America, Inc. Methods and systems for print-processor-based printer status detection and print task distribution
US20020113989A1 (en) * 2001-01-11 2002-08-22 Ferlitsch Andrew Rodney Methods and systems for print-processor modified printing
US20020089687A1 (en) * 2001-01-11 2002-07-11 Ferlitsch Andrew Rodney Methods and systems for print-processor-based printer status detection and print task distribution
US20020089691A1 (en) * 2001-01-11 2002-07-11 Andrew Fertlitsch Methods and systems for printing device load-balancing
US8411298B2 (en) 2001-01-11 2013-04-02 Sharp Laboratories Of America, Inc. Methods and systems for printing device load-balancing
US7548331B2 (en) 2001-01-11 2009-06-16 Sharp Laboratories Of America, Inc. Methods and systems for print system component-based remote printing
US7180619B2 (en) 2001-01-11 2007-02-20 Sharp Laboratories Of America, Inc. Methods and systems for recovering a failed print job
US20030227644A1 (en) * 2001-01-11 2003-12-11 Sharp Laboratories Of America, Inc. Methods and systems for driver independent customized printing
US8456665B2 (en) 2001-01-11 2013-06-04 Sharp Laboratories Of America, Inc. Methods and systems for printing error recovery
US6981254B2 (en) * 2001-02-01 2005-12-27 Hewlett-Packard Development Company, L.P. Delay timer for printing from the driver
US20020120659A1 (en) * 2001-02-01 2002-08-29 Travis Parry Delay timer for printing from the driver
US20020165007A1 (en) * 2001-05-03 2002-11-07 Ncr Corporation Methods and apparatus for wireless operator notification in document processing systems
US6862461B2 (en) * 2001-05-03 2005-03-01 Ncr Corporation Methods and apparatus for wireless operator notification in document processing systems
US20020194228A1 (en) * 2001-06-18 2002-12-19 Lainye Reich System and method for automated rendering to print to a file
US20030007171A1 (en) * 2001-07-09 2003-01-09 Simpson Shell Sterling Document production management in a distributed environment
US7365870B2 (en) 2001-08-17 2008-04-29 Sharp Laboratories Of America, Inc Methods and systems for page-independent spool file face-up emulation
US20040205652A1 (en) * 2001-11-05 2004-10-14 Simpson Shell S. System and method for producing business cards
US8112328B2 (en) 2001-11-05 2012-02-07 Hewlett-Packard Development Company, L.P. Secure and mediated access for E-services
US20030088429A1 (en) * 2001-11-05 2003-05-08 Schmeling Garth F. Secure and mediated access for E-services
US8681352B2 (en) 2002-04-18 2014-03-25 Hewlett-Packard Development Company, L.P. Pull based computer output devices
US20030197887A1 (en) * 2002-04-18 2003-10-23 Shenoy Rajesh K. Pull based computer output devices
US20060073265A1 (en) * 2002-05-02 2006-04-06 Eyal Teichman Method and apparatus for coating a medical device
US7770537B2 (en) 2002-05-02 2010-08-10 Boston Scientific Scimed, Inc. Stent coating device
US20030207019A1 (en) * 2002-05-02 2003-11-06 Avraham Shekalim Stent coating device
US20060156976A1 (en) * 2002-05-02 2006-07-20 Labcoat, Ltd. Stent coating device
US8104427B2 (en) 2002-05-02 2012-01-31 Boston Scientific Scimed, Inc. Stent coating device
US20100323092A1 (en) * 2002-05-02 2010-12-23 Boston Scientific Scimed, Inc. Stent Coating Device
US7048962B2 (en) 2002-05-02 2006-05-23 Labcoat, Ltd. Stent coating device
US20090064930A1 (en) * 2002-05-02 2009-03-12 Labcoat, Ltd. Stent coating device
US20050241577A1 (en) * 2002-05-02 2005-11-03 Labcoat, Ltd. Stent coating device
US7569110B2 (en) 2002-05-02 2009-08-04 Labcoat Ltd. Stent coating device
US20090288597A1 (en) * 2002-05-02 2009-11-26 Labcoat, Ltd. Stent Coating Device
US7709048B2 (en) 2002-05-02 2010-05-04 Labcoat, Ltd. Method and apparatus for coating a medical device
US20040021906A1 (en) * 2002-08-05 2004-02-05 Howard Dennis W. Peripheral device output job routing
US20040070785A1 (en) * 2002-10-15 2004-04-15 Ferlitsch Andrew Rodney Systems and methods for providing a universal print assist
US7331052B2 (en) 2002-10-15 2008-02-12 Sharp Laboratories Of America, Inc. Systems and methods for providing a universal print assist
US20040075864A1 (en) * 2002-10-18 2004-04-22 Hiroshi Kato Image data control device, image data control program, computer readable recording medium on which the program is stored, image forming device, and image reading device
US7812991B2 (en) * 2002-10-18 2010-10-12 Minolta Co., Ltd. Image data control device, image data control program, computer readable recording medium on which the program is stored, image forming device, and image reading device
US8261292B2 (en) * 2002-12-27 2012-09-04 Canon Kabushiki Kaisha Information processing apparatus, method of controlling the same, program, and recording medium
US20080307443A1 (en) * 2002-12-27 2008-12-11 Canon Kabushiki Kaisha Information processing apparatus, method of controlling the same, program, and recording medium
US20050200913A1 (en) * 2004-03-11 2005-09-15 International Business Machines Corporation Systems and methods for identifying complex text in a presentation data stream
US20080188963A1 (en) * 2005-06-09 2008-08-07 Whirlpool Corporation Distributed object-oriented appliance control system
US8533253B2 (en) 2005-06-09 2013-09-10 Whirlpool Corporation Distributed object-oriented appliance control system
US8056077B2 (en) * 2006-05-16 2011-11-08 Samsung Electronics Co., Ltd. Apparatus and method for performing a task
US20070271567A1 (en) * 2006-05-16 2007-11-22 Samsung Electronics Co., Ltd. Apparatus and method for performing a task
US20150065095A1 (en) * 2013-08-28 2015-03-05 Samsung Electronics Co., Ltd. Method for transmitting notification information and electronic device thereof
US9451100B2 (en) * 2013-08-28 2016-09-20 Samsung Electronics Co., Ltd. Method for transmitting notification information and electronic device thereof

Also Published As

Publication number Publication date
US5566278A (en) 1996-10-15
WO1995006279A1 (en) 1995-03-02
AU5990094A (en) 1995-03-21

Similar Documents

Publication Publication Date Title
USRE37258E1 (en) Object oriented printing system
US5982996A (en) Mechanism for printer driver switching in windows operating systems to allow distribution of print jobs to an output device from a single print request within an application
US5857064A (en) System for imaging complex graphical images
US5699495A (en) Point-and-print in a distributed environment
JP3695595B2 (en) Java printer
US7231435B2 (en) Network system, information processing apparatus, information processing method, and control program
JP3201515B2 (en) Print data generation device, print data generation method, printing device, and printing system
EP0926593B1 (en) Computer system with evolving printer
US20030090694A1 (en) Just-in-time printer discovery and driver installation system and method
US20020046238A1 (en) Method and apparatus for job preview in printer device
US6738156B1 (en) Reusable job editing and delivery system
EP1578081A1 (en) Language neutral message communication channel for displaying user interface elements related to the status of print jobs
WO2005088422A1 (en) Information processor, method for controlling the same, and image forming system
JP5361358B2 (en) Information processing apparatus, control method therefor, and program
US20030020948A1 (en) Dynamically loaded applications in a printer
EP1056001A2 (en) System and method for dynamically loading platform independent drivers
US6999188B1 (en) Dynamically configurable printer and method of use thereof
US6275299B1 (en) Multiple spooler printing system
JP2000187571A (en) Printing based upon event
JP4040396B2 (en) Notification method, information processing apparatus, and control program
JP3974782B2 (en) Method and apparatus for converting a digital print data stream, and corresponding printer and printer server
US6894797B1 (en) Method and apparatus for supporting line-conditioned data stream (LCDS) data in a networked job-oriented printing environment
JP2000341504A (en) Data generating method and image processing system
JP4500326B2 (en) Inter-process communication program and image information processing apparatus
JP2000341503A (en) Data generating method and image processing system

Legal Events

Date Code Title Description
FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 8

FPAY Fee payment

Year of fee payment: 12

AS Assignment

Owner name: APPLE INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:OBJECT TECHNOLOGY LICENSING CORPORATION;REEL/FRAME:023810/0315

Effective date: 20091210