# US 2004/0070785 A1 · Systems and methods for providing a universal print assist

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2004/0070785 A1
- Document ID: US20040070785A1
- Status: Published application
- Kind: A1
- Application number: 10/271,870
- Filed: 2002-10-15
- Published: 2004-04-15
- Earliest claimed: 2002-10-15
- Assignees: Sharp Laboratories of America, Inc.
- Inventors: Andrew Rodney Ferlitsch
- Web page: https://patentgrep.com/patent/US20040070785A1

## CPC

- G06F 3/1205: {resulting in increased flexibility in print job configuration, e.g. job settings, print requirements, job tickets}
- G06F 3/126: {Job scheduling, e.g. queuing, determine appropriate device}
- G06F 3/1285: {Remote printer device, e.g. being remote from client or server}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for providing a universal print assist in a printer environment. A print assist is provided as a separate component from a print processor and spooler to enable a selective intercept and performance of an action (e.g., to modify, split, merge, redirect, gather or register information or otherwise alter or make observation of a print data stream) on the print data stream as the data stream is despooled by the spooler or print processor to a print provider without customizing any pre-existing components. The print assist uses a method whereby the print assist is bound to the output interface between the spooler and/or print processor and the print provider. Accordingly, the despooled print data stream passes through the print assist as it is despooled from the spooler or the print processor to the print provider. And, since the print assist is a separate component, the print assist may be used with any customized print processor and/or spooler to provide a universal print assist solution.

## Claims

### Claim 1

In a printing system that includes a computer device, a method for providing a universal print assist, the method comprising the steps for:
providing a print data stream;
despooling the print data stream to a print provider, wherein the despooling is performed by one of:
(i) a spooler; and
(ii) a print processor;
intercepting the despooled print data stream; and
performing an action on the despooled print data stream, wherein the steps for intercepting the print data stream and performing an action on the print data stream are performed by a print assist that is a separate component from the spooler and the print processor.

### Claim 2 (depends on 1)

A method as recited in claim 1, wherein the steps for intercepting the print data stream and performing an action on the print data stream are performed without the use of at least one of:
(i) an enhanced spooler; and
(ii) a customized print processor.

### Claim 3 (depends on 1)

A method as recited in claim 1, wherein the step for intercepting the print data stream includes the step for passing the despooled print data stream through the print assist as it is despooled to the print provider.

### Claim 4 (depends on 1)

A method as recited in claim 1, wherein the step for performing an action on the print data stream comprises one of:
(i) modifying the print data stream as it is despooled from the print processor;
(ii) splitting the print data stream as it is despooled from the print processor;
(iii) merging the print data stream as it is despooled from the print processor;
(iv) redirecting at least a portion of the print data stream as it is despooled from the print processor;
(v) gathering information relating to the print data stream as it is despooled from the print processor;
(vi) registering information from print data stream as it is despooled from the print processor;
(vii) altering the print data stream as it is despooled from the print processor; and
(viii) making an observation relating to the print data stream as it is despooled from the print processor.

### Claim 5 (depends on 1)

A method as recited in claim 1, further comprising the steps for:
loading the print processor into an address space of the spooler; and
link-editing an application program interface of the print processor at run-time.

### Claim 6 (depends on 5)

A method as recited in claim 5, wherein the step for link-editing an application program interface comprises the step for relinking an unbound call to the application program interface in a dynamic link library of the print processor to a substitution library.

### Claim 7 (depends on 6)

A method as recited in claim 6, further providing the step for providing a corresponding entry in the substitution library for a call of the application program interface, wherein the corresponding entry matches the call's calling and argument convention.

### Claim 8 (depends on 7)

A method as recited in claim 7, wherein the substitution library performs the step for performing an action on the despooled print data stream, and wherein the substitution library invokes the call of the one of the application program interfaces.

### Claim 9 (depends on 5)

A method as recited in claim 5, wherein the step for link-editing one or more application program interfaces of the print processor at run-time comprises the steps for:
examining a symbol entry in a dynamic link library's symbol table section of the print processor for a reference to an application program interface call that is to be replaced; and
replacing the reference.

### Claim 10 (depends on 9)

A method as recited in claim 9, wherein the step for examining each symbol entry comprises the step for following a pointer in the symbol table entry to a string table and matching a string to a link convention name of the application program interface call, and wherein the step for replacing a reference of the application program interface call comprises the step for updating the pointer to a new string table entry.

### Claim 11 (depends on 1)

A method as recited in claim 1, further comprising the step for link-editing a spooler call reference to an application program interface at compile time.

### Claim 12 (depends on 11)

A method as recited in claim 11, wherein the step for link-editing a spooler call reference to an application program interface at compile time comprises the step for relinking a bound call of the application program interfaces to a substitution library.

### Claim 13 (depends on 12)

A method as recited in claim 12, further comprising the step for providing a corresponding entry in the substitution library for the bound call, wherein the corresponding entry matches the bound call's calling and argument convention.

### Claim 14 (depends on 13)

A method as recited in claim 13, wherein the substitution library performs the step for performing an action on the despooled print data stream, and wherein the substitution library invokes the call of the application program interface.

### Claim 15 (depends on 14)

A method as recited in claim 14, wherein the step for link-editing a spooler call reference to an application program interface at compile time comprises the steps for:
examining a symbol entry in a spooler's symbol table section for a reference to the application program interface call that is to be replaced;
tracing the reference to a calling instruction in a text section;
invalidating a text address to a statically bound spooler application program interface;
adding a relocation entry in a relocation section;
setting a text address in the relocation entry to the invalidated text address;
setting the reference to an existing symbol table entry;
replacing the application program interface call reference by updating a string table pointer in the symbol table entry to a new string table entry; and
re-linking the spooler with the substitution library.

### Claim 16 (depends on 15)

A method as recited in claim 15, wherein the step for examining a symbol entry comprises the step for identifying the application program interface call that is to be replaced by following a pointer in the symbol table entry to a string table entry and matching a string to a link convention name of the application program interface call.

### Claim 17

A computer program product for implementing within a printing system a method for providing a universal print assist, the computer program product comprising:
a computer readable medium for providing computer program code means utilized to implement the method, wherein the computer program code means is comprised of executable code for implementing the steps for:
providing a print data stream;
despooling the print data stream to a print provider, wherein the despooling is performed by one of:
(i) a spooler; and
(ii) a print processor;
intercepting the despooled print data stream; and
performing an action on the despooled print data stream, wherein the steps for intercepting the print data stream and performing an action on the print data stream are performed by a print assist that is a separate component from the spooler and the print processor.

### Claim 18 (depends on 17)

A computer program product as recited in claim 17, wherein the computer program code means is comprised of executable code for further implementing the steps for:
loading the print processor into an address space of the spooler; and
link-editing an application program interface of the print processor at run-time.

### Claim 19 (depends on 18)

A computer program product as recited in claim 18, wherein the step for link-editing an application program interface comprises the step for relinking an unbound call to the application program interface in a dynamic link library of the print processor to a substitution library.

### Claim 20 (depends on 19)

A computer program product as recited in claim 19, wherein the computer program code means is comprised of executable code for further implementing the step for providing a corresponding entry in the substitution library for a call of the application program interface, wherein the corresponding entry matches the call's calling and argument convention.

### Claim 21 (depends on 18)

A computer program product as recited in claim 18, wherein the step for link-editing one or more application program interfaces of the print processor at run-time comprises the steps for:
examining a symbol entry in a dynamic link library's symbol table section of the print processor for a reference to an application program interface call that is to be replaced; and
replacing the reference.

### Claim 22 (depends on 21)

A computer program product as recited in claim 21, wherein the step for examining each symbol entry comprises the step for following a pointer in the symbol table entry to a string table and matching a string to a link convention name of the application program interface call, and wherein the step for replacing a reference of the application program interface call comprises the step for updating the pointer to a new string table entry.

### Claim 23 (depends on 17)

A computer program product as recited in claim 17, wherein the computer program code means is comprised of executable code for further implementing the step for link-editing a spooler call reference to an application program interface at compile time.

### Claim 24 (depends on 23)

A computer program product as recited in claim 23, wherein the step for link-editing a spooler call reference to an application program interface at compile time comprises the step for relinking a bound call of the application program interfaces to a substitution library.

### Claim 25 (depends on 24)

A computer program product as recited in claim 24, wherein the computer program code means is comprised of executable code for further implementing the step for providing a corresponding entry in the substitution library for the bound call, wherein the corresponding entry matches the bound call's calling and argument convention.

### Claim 26 (depends on 25)

A computer program product as recited in claim 25, wherein the step for link-editing a spooler call reference to an application program interface at compile time comprises the steps for:
examining a symbol entry in a spooler's symbol table section for a reference to the application program interface call that is to be replaced;
tracing the reference to a calling instruction in a text section;
invalidating a text address to a statically bound spooler application program interface;
adding a relocation entry in a relocation section;
setting a text address in the relocation entry to the invalidated text address;
setting the reference to an existing symbol table entry;
replacing the application program interface call reference by updating a string table pointer in the symbol table entry to a new string table entry; and
re-linking the spooler with the substitution library.

### Claim 27 (depends on 26)

A computer program product as recited in claim 26, wherein the step for examining a symbol entry comprises the step for identifying the application program interface call that is to be replaced by following a pointer in the symbol table entry to a string table entry and matching a string to a link convention name of the application program interface call.
