Printer script autocorrect
AssigneeDatamax-O'Neil Corporation
InventorArnel Matunog
Life of this patent
Estimating the term…
Abstract
A method of processing printer scripts is disclosed. A processor receives the printer script. For each original line of the printer script the process analyzes the line of script to find errors. If no error is found in the script, the script is transferred to a print engine for printing. If at least one error is found in any line of printer script: the script is modified to correct the printer script error and produce a modified line of printer script. A comparison of the original line of printer script with the modified line of printer script is generated and printed, displayed or saved to a storage device.
Claims16
A method of processing printer scripts, comprising:
- receiving, with a processor, an original printer script comprising one or more lines to instruct a printer engine to execute a print job via a printer mechanism;
- receiving, with the processor, a first input selecting a printer script language for the original printer script;
- designating, with the processor, the selected print script language for the original printer script based on the received first input;
- sequentially analyzing, with an analysis tool, the one or more lines of the original print script to identify a syntax error in the one or more lines of the original print script;
- receiving, a second input with instructions to correct the syntax error in the original printer script that instructs the printer engine to execute the print job via the printer mechanism;
- modifying, by the processor, the line of the original printer script based on the received second input to correct the syntax error in the line and to generate a modified printer script to instruct the printer engine to execute a modified print job via the printer mechanism;
- receiving verification that the modified first line of the original printer script is a valid format of the designated printer script language;
- and
- responsive to completing the analyzing, transferring the modified printer script to the print engine for printing the modified print job via the printer mechanism.
A method of processing printer scripts, comprising:
- receiving, with a processor, an original printer script comprising one or more lines to instruct a printer engine to execute a print job via a printer mechanism;
- receiving, with the processor, a first input selecting a printer script language for the original printer script;
- designating, with the processor, the selected print script language for the original printer script based on the received first input;
- sequentially analyzing, with the processor, the one or more lines of the original printer script to identify a syntax error in the one or more lines of the original printer script;
- receiving, a second input with instructions to correct the syntax error in the original printer script that instructs the printer engine to execute the print job via the printer mechanism;
- modifying, by the processor, the line of the original printer script based on the received second input to correct the syntax error in the first line and to generate a modified printer script to instruct the printer engine to execute a modified print job via the printer mechanism;
- and
- responsive to completing the analyzing, transferring the modified printer script to the print engine for printing the modified print job via the printer mechanism.
A system for processing printer scripts, comprising:
- a processor configured to:
- receive an original printer script comprising one or more lines to instruct a printer engine to execute a print job via a printer mechanism;
- receive a first input to select a printer script language for the original printer script;
- designate the selected print script language for the original printer script based on the received first input;
- sequentially analyze the one or more lines of the original printer script to identify a syntax error in the one or more lines of the original printer script;
- in response to identifying the syntax error, receive a second input with instructions to correct the syntax error in the original printer script that instructs the printer engine to execute the print job via the printer mechanism;
- modify the line of the original printer script based on the received second input to correct the syntax error in the line and to generate a modified printer script to instruct the printer engine to execute a modified print job via the printer mechanism;
- receive verification that the modified first line of the original printer script is a valid format of the designated printer script language;
- and
- in response to completing the sequential analysis, transfer the modified printer script to the print engine for printing the modified print job via the printer mechanism.
Dependencies are inferred from the claim text.