Method and system for modifying print stream data to allow printing over a single I/O port
First Claim
1. A method of modifying print stream data in a printing system, said method comprising the steps of:
- (a) sending a print stream from a data processing application to a print spooler;
(b) determining, in a document driver, whether or not said print stream comprises text data, and;
(i) if said print stream comprises text data then tagging said text data and sending said tagged text data to a user mode module for further parsing;
or(ii) if said print stream does not comprise text data then sending said print stream to a direct data injection step for a document printer;
(c) storing said tagged text in a local buffer;
(d) retrieving said tagged text from said local buffer and determining whether or not an address is contained within said tagged text, and;
(i) if an address is found in said tagged text, then placing said address in an envelope print format to create an envelope data set; and
(ii) if an address is not found then sending said tagged text directly to said data injection step;
(e) creating an envelope printer device context from the document driver and transmitting said envelope data set to an envelope printer driver for creating an envelope printer device language file;
(f) reading said printer device language and then injecting said envelope data set into said print stream so that the envelope data may be transmitted to the envelope printer and the document data to the document printer; and
(g) transmitting said print stream to a next destination.
2 Assignments
0 Petitions
Accused Products
Abstract
The invention is a method and system of modifying print stream data. The method begins by sending a print stream from an application through a graphical device interface to a print spooler. A print stream monitor determines whether or not the print stream comprises a set of text data and/or a set of address data. If the print stream comprises text data, then the text data is tagged and sent to a user mode module where it is stored in a local buffer. The tagged and stored text data is then retrieved and parsed for any address which may be contained within the tagged text. The address data is then extracted from the print stream and placed in an envelope print format to create an envelope data set. An envelope printer device context is then created and the envelope data set is transmitted to an envelope kernel for creating an envelope printer device language file. The print stream is converted by a document printer command language (PCL) generator into an envelope printer language. The envelope data set is then printed. The envelope data set is injected back into the print stream from which it was extracted by merging the set of text data and the set of envelope data. The print stream is then transmitted to a next destination such as a document printer, where a printer driver is then activated for causing a printer to print the document data to one or more sheets.
49 Citations
10 Claims
-
1. A method of modifying print stream data in a printing system, said method comprising the steps of:
-
(a) sending a print stream from a data processing application to a print spooler; (b) determining, in a document driver, whether or not said print stream comprises text data, and; (i) if said print stream comprises text data then tagging said text data and sending said tagged text data to a user mode module for further parsing;
or(ii) if said print stream does not comprise text data then sending said print stream to a direct data injection step for a document printer; (c) storing said tagged text in a local buffer; (d) retrieving said tagged text from said local buffer and determining whether or not an address is contained within said tagged text, and; (i) if an address is found in said tagged text, then placing said address in an envelope print format to create an envelope data set; and (ii) if an address is not found then sending said tagged text directly to said data injection step; (e) creating an envelope printer device context from the document driver and transmitting said envelope data set to an envelope printer driver for creating an envelope printer device language file; (f) reading said printer device language and then injecting said envelope data set into said print stream so that the envelope data may be transmitted to the envelope printer and the document data to the document printer; and (g) transmitting said print stream to a next destination. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
Specification