1. Field of the Invention
This invention generally relates to digital document processing and, more particularly, to a system and method for emulating the processing performance of one printer in a different printer.
2. Description of the Related Art
As printers have evolved, the print streams generated for one manufacturer's printers have become somewhat incompatible with the printers of other manufacturers. The basic data can be output because all printers use standard page description languages (PDLs), such as printer control language (PCL) or PostScript (PS). However, the manner of outputting the data, for example the finishing options, may vary from one printer to the next. These variances between manufactures have occurred for several reasons. First, all print manufacturers support a common set of basic PJL (printer job language) commands for controlling settings like number of copies and page size. However, as advanced or unique features have been added, manufacturers have created their own PJL command to call the new feature. Manufacturers implementing similar features in the same timeframe may deliberately or inadvertently choose different commands to call the features and, therefore, create incompatibilities.
Another major incompatibility is in the numbering scheme for paper trays. Copier manufacturers conventionally number the paper cassettes 1 through n, from top to bottom, and refer to the bypass tray by name. Printer manufacturers, on the other hand, conventionally refer to the bypass tray as tray 1, and the cassettes 2 through n, from top to bottom. As copier manufacturers have added print controllers and printing capabilities to their copiers, they have maintained their conventional numbering scheme, creating an incompatibility between copier-based devices and standalone printers.
In most general office environments, these incompatibilities do not create a problem because customers use vendor-supplied print drivers to generate print jobs. These print drivers provide user-friendly graphical selections for print settings and then convert the selections into the vendor-specific commands. However, many legacy and industry-specific software applications are written with print drivers built-in and hard-coded to specific printers. Customers using these applications, or those customers who wish to standardize their network around a single print driver, find it difficult to switch vendors, because their print jobs do not generate the same output on other vendors' devices. In addition, some customers use a driver to generate print-ready files, such as *.prn format files. PJL commands are contained in the print stream and can generate compatibility problems.
It would be advantageous if a document could be rendered as the user intended, complete with the intended finishing options, regardless of the printer to which a print job is directed.
It would be advantageous if a printer could modify print commands in response to print driver source, to process a document as the user intended.
The present invention discloses a table in the printer firmware, either built-in or user-programmed, that permits print commands generated for one device, to be mapped to the internal commands for the actual target device. One or more tables may exist for mapping multiple devices. For example, a different table may exist for every manufacturer or model.
Once the table is created, the present invention provides a mechanism for automatically detecting the intended printer brand or model, and emulating the intended printer using the settings in the table. The intended printer type is determined from clues in the print job, such as a PJL command that identify the manufacturer and model associated with the print driver, or even the lack of such a command. For example, a Sharp printer may receive a job that does not identify Sharp as the generator of the job. In response, the printer uses a compatibility table that emulates an alternate, non-Sharp printer.
Accordingly, a method is provided for selectively emulating printer job processes. The method comprises: receiving an electronically formatted print job from a source; determining a match between received print job commands and default print job commands; mapping non-matching received print job commands to default print job commands; and, printing the print job using a modified set of received print job commands. For example, the job may be printed using a combination of mapped default and received print job commands.
In one aspect, the match between received print job commands and default print job commands is determined by identifying a source print driver identity. For example, the source print driver can be identified in response to parsing PJL commands included with received print job commands. Then, the method selects a table in response to determining the source print driver identity and accesses the selected table for default print job commands that have been cross-referenced to received print job commands.
The default print job commands in the table may include commands concerning input tray number selection, output tray number selection, finishing options, such as staple, punch, binding edge, or pamphlet, inserts for transparencies and a carbon copy function, or print hold, controlled by a PIN or other proof.
Additional details of the above-described method and a printer job emulation system are provided below.
The print controller 202 has an output on line 210 to supply a modified set of received print job commands. A print engine 212 has an input on line 210 to receive the modified print job commands and an output on line 214 to supply a printed document responsive to the print job commands. The print controller 202 supplies a combination of mapped default and received print job commands to the print engine 212. That is, the print engine 212 may print a first portion of the print job using received print job commands, and a second portion of the print job using mapped default print job commands.
The print controller 202 receives print job commands in a language such as printer job language (PJL) or page description language (PDL). As noted above, the PS, associated with Adobe, and PCL, associated with Hewlett Packard, languages are specific types of PDL. Note, a typical print job may include both PJL and PDL commands. It should be noted, however, that the present invention is not limited to any particular languages, protocol, or formats.
In one aspect, the print controller 202 determines the match between received print job commands and default print job commands in response to identifying a source print driver 206. For example, the print controller 202 may identify a source print driver in response to parsing a print driver source command in the received PJL commands.
In another aspect, the system 200 further comprises an accessible memory 220 including at least one table 222 cross-referencing received print job commands to default print job commands. The print controller 202 selects the table 222 in response to determining the source print driver identity. Then, the print controller 202 maps non-matching received print job commands to default print job commands in response to accessing the selected table.
For example, the print controller 202 may parse a PJL command that identifies a first print driver, for example an HP printer, and selects a first table from the memory corresponding to the first print driver. In another aspect, the print controller 202 identifies the first print driver by parsing a manufacturer-specific identifier in the received PJL commands. In a different aspect, the print controller 202 identifies the first print driver by parsing a model-specific identifier in the received PJL commands.
In another aspect of the system 200, the memory 220 includes a plurality of tables corresponding to a plurality of print drivers. Shown are tables 222 through 226. However, it should be understood that the present invention is not limited to any particular number of tables. Then, the print controller 202 parses a PJL command that identifies a first print driver from among a plurality of print drivers, and selects a first table in memory 220, for example table 222, corresponding to the first print driver, from among the plurality of tables 222-226.
In a different aspect, the print controller 202 may fail to parse a PJL command that identifies a particular print driver, and select the second table 224 from memory 220 in response to failing to identify a particular print driver. For example, if the PJL commands fail to identify a particular print driver, the assumption may be made (by a Sharp printer) that the source print driver 206 is a HP print driver. Then, a table 224 is selected that corresponds to an HP print driver.
In another aspect, the print controller 202 parses a PJL command that identifies a third print driver and supplies unmodified received print job commands to the print engine 212 in response to identifying the third print driver. For example, a Sharp printer may identify the print driver as a Sharp print driver. Then, the print job commands can be delivered to the print engine 212 without any modifications.
Returning to
In one aspect of the invention, a table is built-in to the device firmware to map the between the print commands of different manufacturers. These commands may include, but are not limited to, input tray numbers, output tray numbers, and PJL commands. Since many applications are hard-coded to print on HP printers, this mapping table will permit a new printer to work with a customer's existing application.
As a new print job is being received, the printer interprets the print stream and determines the print job origin by parsing through PJL commands. If PJL commands indicate that a job is created by a Sharp printer driver, a Sharp printer executes the job using standard methods. If a PJL command indicates that another vendor's print driver created the file, or if no PJL command exists and another vendor's print driver is assumed, the print job is output using a mapping table. The printer firmware compares each command in the print job to the table to determine if a change is necessary.
In other aspect of the invention, multiple tables may be created for different printer models or manufacturers. Also, tables may be programmed by the user, rather than shipped with the printer firmware.
Step 502 receives an electronically formatted print job from a source. Step 504 determines a match between received print job commands and default print job commands. Step 506 maps non-matching received print job commands to default print job commands. Step 508 prints the print job using a modified set of received print job commands. Step 508 may print the print job using a combination of mapped default and received print job commands.
In one aspect, receiving an electronically formatted print job in Step 502 includes receiving a print job with commands such as PDL or PJL commands. Then, printing the print job using a combination of mapped default and received print job commands in Step 508 includes substeps. Step 508a prints a first portion of the print job using received print job commands. Step 508b prints a second portion of the print job using mapped default print job commands.
In one aspect, determining the match between received print job commands and default print job commands in Step 504 includes determining a source print driver identity. The method may comprise a further step. Step 505 selects a table in response to determining the source print driver identity. Then, mapping non-matching received print job commands to default print job commands in Step 506 includes accessing the selected table for default print job commands that have been cross-referenced to received print job commands.
In a different aspect, determining the source print driver identity (Step 504) includes identifying a source print driver in response to parsing PJL commands included with received print job commands. For example, Step 504 may parse a PJL command that identifies a first print driver and Step 505 selects a first table corresponding to the first print driver.
Parsing a PJL command that identifies a first print driver (Step 504) may include parsing a manufacturer-specific identifier in the received PJL commands. Alternately, a model-specific identifier may be parsed from the PJL commands.
In another aspect Step 504 parses a PJL command that identifies a first print driver from among a plurality of print drivers. Then, Step 505 selects a first table from among a plurality of tables corresponding to the plurality of print drivers. In a different aspect, Step 504 fails to parse a PJL command that identifies a particular print driver and Step 505 selects a second table in response to failing to identify a particular print driver. That is, an assumption is made as to the identity of the print driver in response to not finding a PJL command identifier.
In a different aspect Step 504 parses a PJL command that identifies a third print driver. Then, the method further comprises Step 507. Step 507 uses only the received print job commands in response to identifying the third print driver. That is, the third print driver is a driver specifically designed to work with the printer, so that it is not necessary to modify the print commands.
Mapping non-matching received print job commands to default print job commands in Step 506 includes mapping commands such as input tray number selection, output tray number selection, finishing options, such as whether the output is stapled, punched, bound along an edge, or bound as a pamphlet. Other commands involve whether the output is to be generated as an insert, as a transparency or in a carbon copy function, or delivered after a print hold, such as a requirement for the submission of a PIN or other proof, before the document is printed.
In one aspect, the method comprises additional steps. Step 501a generates a table that cross-references print job commands associated with a first source print driver, to default print job commands. Step 501b stores the generated table in an accessible printer memory. In one aspect, Step 501b includes replacing a table, previously stored in memory, with the generated table.
A printer emulation system and method have been provided. A few examples have been given to clarify the invention, which detail particular situations for when the invention might be used. Other examples describe particular commands or categories of commands that might be mapped. The invention, however, is not limited to just these examples. Other variations and embodiments of the invention will occur to those skilled in the art.
Number | Name | Date | Kind |
---|---|---|---|
5371837 | Kimber et al. | Dec 1994 | A |
5469373 | Kashiwazaki et al. | Nov 1995 | A |
5550957 | Davidson et al. | Aug 1996 | A |
5555435 | Campbell et al. | Sep 1996 | A |
5611046 | Russell et al. | Mar 1997 | A |
5615015 | Krist et al. | Mar 1997 | A |
5638497 | Kimber et al. | Jun 1997 | A |
5651114 | Davidson, Jr. | Jul 1997 | A |
5699493 | Davidson et al. | Dec 1997 | A |
5859711 | Barry et al. | Jan 1999 | A |
5899614 | Maeda et al. | May 1999 | A |
5903716 | Kimber et al. | May 1999 | A |
5905906 | Goffinet et al. | May 1999 | A |
5940653 | Maekawa et al. | Aug 1999 | A |
6025925 | Davidson et al. | Feb 2000 | A |
6027268 | Bischel et al. | Feb 2000 | A |
6091508 | Love et al. | Jul 2000 | A |
6151598 | Shaw et al. | Nov 2000 | A |
6160629 | Tang et al. | Dec 2000 | A |
6173338 | Fukuta | Jan 2001 | B1 |
6249835 | Isoda | Jun 2001 | B1 |
6290406 | Gauthier et al. | Sep 2001 | B1 |
6349297 | Shaw et al. | Feb 2002 | B1 |
6496279 | Kuroi | Dec 2002 | B2 |
6603565 | Scheidig et al. | Aug 2003 | B1 |
6665081 | Suzuki et al. | Dec 2003 | B1 |
6680740 | Krueger | Jan 2004 | B2 |
6701384 | Fukuta | Mar 2004 | B1 |
6717689 | Endo et al. | Apr 2004 | B1 |
6757070 | Lin et al. | Jun 2004 | B1 |
6775019 | Sakurai et al. | Aug 2004 | B1 |
6804022 | Fujiwara et al. | Oct 2004 | B2 |
6825941 | Nguyen et al. | Nov 2004 | B1 |
6831753 | Tsuchitoi | Dec 2004 | B1 |
6903832 | Maekawa et al. | Jun 2005 | B2 |
6914687 | Hosoda et al. | Jul 2005 | B1 |
6924826 | Nakagiri et al. | Aug 2005 | B1 |
6927873 | Isoda et al. | Aug 2005 | B2 |
6934046 | Nishikawa et al. | Aug 2005 | B1 |
6943905 | Ferlitsch | Sep 2005 | B2 |
6963412 | Toda | Nov 2005 | B1 |
6965404 | Hosoda et al. | Nov 2005 | B2 |
6965953 | Kujirai | Nov 2005 | B2 |
6967742 | Nagashima | Nov 2005 | B1 |
6992784 | Kohtani et al. | Jan 2006 | B1 |
7027170 | Nishikawa et al. | Apr 2006 | B1 |
7054018 | Sugiura et al. | May 2006 | B1 |
7054899 | Yamamoto | May 2006 | B1 |
7064849 | Nishikawa et al. | Jun 2006 | B1 |
7064856 | Fu et al. | Jun 2006 | B2 |
7095529 | Krueger et al. | Aug 2006 | B2 |
7161710 | MacLeod | Jan 2007 | B1 |
7167253 | Endoh et al. | Jan 2007 | B2 |
7170619 | Miyata | Jan 2007 | B2 |
7202968 | Uchida | Apr 2007 | B2 |
7218404 | Tsuchitoi | May 2007 | B2 |
7230729 | Reardon et al. | Jun 2007 | B1 |
7233404 | Meilstrup et al. | Jun 2007 | B2 |
7251052 | Ferlitsch | Jul 2007 | B2 |
7253911 | Aritomi | Aug 2007 | B2 |
7265877 | Silverbrook et al. | Sep 2007 | B2 |
7268897 | Moro et al. | Sep 2007 | B1 |
7280245 | Nishikawa et al. | Oct 2007 | B2 |
7286250 | Kujirai et al. | Oct 2007 | B2 |
7299413 | Mori | Nov 2007 | B2 |
7301656 | Nakagiri et al. | Nov 2007 | B1 |
7305150 | Shibahara et al. | Dec 2007 | B2 |
7450260 | Takeda et al. | Nov 2008 | B2 |
20030184782 | Perkins et al. | Oct 2003 | A1 |
20040184064 | TaKeda et al. | Sep 2004 | A1 |
20050254078 | Patton et al. | Nov 2005 | A1 |
20080165379 | Zuber | Jul 2008 | A1 |
Number | Date | Country |
---|---|---|
05-131726 | May 1993 | JP |
5131726 | May 1993 | JP |
07-129343 | May 1995 | JP |
7129343 | May 1995 | JP |
07-210341 | Aug 1995 | JP |
07-223341 | Aug 1995 | JP |
7210341 | Aug 1995 | JP |
7223341 | Aug 1995 | JP |
8152985 | Jun 1996 | JP |
08-185925 | Jul 1996 | JP |
8185295 | Jul 1996 | JP |
08-249138 | Sep 1996 | JP |
8249138 | Sep 1996 | JP |
09-188010 | Jul 1997 | JP |
9185468 | Jul 1997 | JP |
9188010 | Jul 1997 | JP |
2002-055792 | Feb 2002 | JP |
20020055792 | Feb 2002 | JP |
2003005931 | Jan 2003 | JP |
2004-086460 | Mar 2004 | JP |
2004086460 | Mar 2004 | JP |
Number | Date | Country | |
---|---|---|---|
20050254078 A1 | Nov 2005 | US |