IP Library Granted Patent US 10,911,610
Granted Patent B2
US 10,911,610 · App. 16/845,429 · Granted Feb 2, 2021

Printer script autocorrect

Inventor: Arnel Matunog (Singapore, SG)
Assignee: Datamax-O'Neil Corporation
H04N1/00084G06F3/121G06F3/1248G06F3/1285H04N1/00039H04N1/00058H04N1/00323H04N1/00938H04N1/00973H04N2201/0082
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,911,610
App. No.
16/845,429
Granted
Feb 2, 2021
Kind
B2
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.

Claims (53)

1. A method of processing printer scripts, comprising:

sequentially analyzing, by a processor, one or more lines of a printer script to identify a syntax error in the one or more lines of the printer script that instructs a print engine to execute a print job via a printer mechanism;

receiving, by the processor, an input with instructions to correct the syntax error identified in the one or more lines of the printer script that instructs the print engine to execute the print job via the printer mechanism;

modifying, by the processor, the one or more lines of the printer script, based on the received input to correct the syntax error, to generate a modified printer script to instruct the print engine to execute a modified print job via the printer mechanism; and

executing, by the print engine, the modified print job via the printer mechanism.

2. The method according to claim 1 , further comprising:

receiving, with the processor, the printer script comprising the one or more lines to instruct the print engine to execute the print job via the printer mechanism, wherein the one or more lines of the received printer script are sequentially analyzed.

3. The method according to claim 1 , further comprising:

receiving, with the processor, a first input selecting a printer script language for the printer script; and

designating, with the processor, the selected print script language for the printer script based on the received input.

4. The method according to claim 3 , further comprising:

analyzing the printer script using an analysis tool, wherein the analysis tool is selected to analyze the selected printer script language.

5. The method according to claim 1 , wherein modifying the one or more lines of the printer script further comprising:

generating a comparison of the one or more lines of the printer script with the modified one or more lines of the modified printer script; and

presenting the comparison to a user by displaying the comparison on a display or printing the comparison to a print medium.

6. The method according to claim 1 , further comprising:

receiving a user input confirming whether or not the modification to one or more lines of the printer script is acceptable to the user.

7. The method according to claim 1 , wherein receiving, an input with instructions to correct the syntax error further comprising:

receiving a user input that determines whether the processor is to correct a plurality of syntax errors identified in the printer script at a time, or the processor is to correct the plurality of syntax errors in one line of the one or more lines of the original printer script at a time.

8. The method according to claim 1 , wherein the print engine prints to a rolled print medium.

9. An apparatus, comprising:

a processor configured to:

receive a printer script comprising one or more lines to instruct a print engine to execute a print job via a printer mechanism;

sequentially analyze one or more lines of the printer script to identify syntax errors in the one or more lines of the printer script that instructs the print engine to execute the print job via the printer mechanism;

receive an input with instructions to correct a syntax error identified in the one or more lines of the printer script that instructs the print engine to execute the print job via the printer mechanism;

modify the one or more lines of the printer script, based on the received input to correct the syntax error, to generate a modified printer script to instruct the print engine to execute a modified print job via the printer mechanism; and

transfer the modified printer script to the print engine for executing the modified print job via the printer mechanism.

10. The apparatus according to claim 9 , wherein the processor is further configured to:

receive a first input selecting a printer script language for the printer script; and

designate the selected print script language for the printer script based on the received input,

wherein the one or more lines of the received printer script are sequentially analyzed.

11. The apparatus according to claim 10 , wherein the processor is further configured to:

analyze the printer script using an analysis tool, wherein the analysis tool is selected to analyze the selected printer script language.

12. The apparatus according to claim 9 , wherein the processor is further configured to:

generate a comparison of the one or more lines of the printer script with the modified one or more lines of the modified printer script.

13. The apparatus according to claim 9 , wherein the processor is further configured to:

receive a user input confirming whether or not the modification to the one or more lines of the printer script is acceptable to the user.

14. The apparatus according to claim 9 , wherein the processor is further configured to:

receive a user input that determines whether the processor is to correct a plurality of syntax errors identified in the printer script at a time, or the processor is to correct the plurality of syntax errors in one line of the one or more lines of the original printer script at a time.

15. The apparatus according to claim 9 , wherein the print engine prints to a rolled print medium.

16. A non-transitory computer readable medium having stored thereon, instructions that when executed by a processor, cause the processor of an apparatus to execute the steps comprising:

sequentially analyzing one or more lines of a printer script to identify a syntax error in the one or more lines of the printer script that instructs a print engine to execute a print job via a printer mechanism;

receiving an input with instructions to correct the syntax error identified in the one or more lines of the printer script that instructs the print engine to execute the print job via the printer mechanism;

modifying the one or more lines of the printer script, based on the received input to correct the syntax error, to generate a modified printer script to instruct the print engine to execute a modified print job via the printer mechanism; and

transferring the modified printer script to the print engine for executing the modified print job via the printer mechanism.

17. The non-transitory computer readable medium according to claim 16 , wherein modifying the one or more lines of the printer script further comprising:

generating a comparison of the one or more lines of the printer script with the modified one or more lines of the modified printer script; and

presenting the comparison to a user by displaying the comparison on a display or printing the comparison to a print medium.

18. The non-transitory computer readable medium according to claim 16 , further comprising:

receiving a user input confirming whether or not the modification to one or more lines of the printer script is acceptable to the user.

19. The non-transitory computer readable medium according to claim 16 , wherein receiving, an input with instructions to correct the syntax error further comprising:

receiving a user input that determines whether the processor is to correct a plurality of syntax errors identified in the printer script at a time, or the processor is to correct the plurality of syntax errors in one line of the one or more lines of the original printer script at a time.

20. The non-transitory computer readable medium according to claim 16 , wherein the print engine prints to a rolled print medium.

Assignments (3)
CORRECTIVE ASSIGNMENT TO CORRECT THE CORRECT NAME OF THE ASSIGNEE IS HAND HELD PRODUCTS, INC.. PREVIOUSLY RECORDED AT REEL: 062308 FRAME: 0749. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Feb 1, 2023
From: DATAMAX-O'NEIL CORPORATION
To: HAND HELD PRODUCTS, INC.
Reel/Frame 062639/0020 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 6, 2023
From: DATAMAX-O'NEIL CORPORATION
To: HAND HELD PRODUCTS, INC.
Reel/Frame 062308/0749 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 8, 2020
From: MATUNOG, ARNEL
To: DATAMAX-O'NEIL CORPORATION
Reel/Frame 053151/0250 →
Continuity (2)
Continuation 15402306 · Jan 10, 2017
Related Publication 20200244819A1 · Jul 30, 2020