Image processing and error handling system and method for printing linearized and non-linearized portable document format (PDF) files
AssigneeKYOCERA Document Solutions Inc.
InventorHui Wang
Life of this patent
Estimating the term…
Abstract
A method of processing linearized and non-linearized Portable Document Format (PDF) files for printing comprises: determining by printer firmware if a printer driver detected that the PDF file is linearized; saving stream data of the PDF file by the printer firmware when the printer firmware determines the printer driver detected that the PDF file is linearized; and determining by the printer firmware if the PDF file is linearized when the PDF file is unidentified as being linearized by the printer driver, wherein the printer firmware identifies real and false linearization error during linearized processing and identifies and processes printing errors in a parallel manner during saving and interpreting stream data.
Claims16
A method of processing linearized and non-linearized Portable Document Format (PDF) files for printing comprising:
- determining by printer firmware if a printer driver detected that the PDF file is linearized;
- saving stream data of the PDF file by the printer firmware when the printer firmware determines the printer driver detected that the PDF file is linearized;
- and
- determining by the printer firmware if the PDF file is linearized when the PDF file is sent directly to a printer having the printer firmware, wherein the determining by the printer firmware if the PDF file is linearized comprises:
- monitoring a first portion of the stream data of the PDF file received by the printer firmware for a linearized key string;
- interpreting the linearized key string if the linearized key string is found;
- processing the PDF file as linearized when the linearized key string is found, wherein processing the PDF file as linearized when the linearized key string is found comprising:
- comparing a size difference between a linearized specific file size of the PDF file and a first page file size of the PDF file;
- processing the PDF file as linearized when the size difference between the linearized specific file size of the PDF file and the first page file size of the PDF file is greater than a threshold size;
- and
- processing the PDF file as non-linearized when the size difference between the linearized specific file size of the PDF file and the first page file size of the PDF file is less than a threshold size;
- and
- processing the PDF file as non-linearized when the linearized key string is unidentified in the first portion of the PDF file received.
A method of processing linearized and non-linearized Portable Document Format (PDF) files for printing comprising:
- determining by the printer driver if the PDF file is linearized if the PDF file is sent to print via the printer driver;
- linearizing the PDF file by the printer driver when the PDF file is non-linearized;
- adding printer command information to the PDF file by the printer driver;
- sending the printer command Information by the printer driver to printer firmware;
- determining by printer firmware if the printer driver detected that the PDF file is linearized;
- saving stream data of the PDF file by the printer firmware when the printer firmware determines the printer driver detected that the PDF file is linearized;
- determining by the printer firmware if the PDF file is linearized when the PDF file is sent directly to a printer having the printer firmware;
- identifying a linearization error by the printer firmware, wherein identifying a linearization error by the printer firmware comprises:
- comparing a file size of the PDF file to a linearized specific file size of the PDF file;
- sending an error message when the file size of the PDF file is equal to the linearized specific file size of the PDF file;
- and
- aborting the sending of the error message, terminating the linearized processing and re-processing the PDF file as non-linearized when the file size of the PDF file and the linearized specific file size of the PDF file is unequal and above a predetermined threshold limit;
- and
- identifying and processing printing errors during saving and interpreting stream data by the printer firmware in a parallel manner.
A system for processing linearized and non-linearized Portable Document Format (PDF) files for printing comprising:
- a printer driver module receiving the PDF file when the PDF file is sent to print via the printer driver, determining if the PDF file is linearized by analyzing PDF data of the PDF file, linearizing the PDF file when the PDF file is non-linearized, and adding printer command information to the PDF file when linearizing the PDF file;
- a printer firmware module determining if the printer driver detected that the PDF file is linearized, when receiving the PDF file directly, processing the PDF file as linearized when a size difference between a linearized specific file size of the PDF file and a first page file size of the PDF file is greater than a threshold size, processing the PDF file as non-linearized when the size difference between the linearized specific file size of the PDF file and the first page file size of the PDF file is less than a threshold size, and processing the PDF file as non-linearized when a linearized key string is unidentified in the first portion of the PDF file received, wherein the printer firmware identifies real and false linearization error and indentifies and processes printing errors in a parallel manner during saving and interpreting stream data;
- and
- an error detection module stored in the printer firmware module, the error detection module monitoring for a processing error when processing the PDF file as linearized, comparing a file size of the PDF file to the linearized specific file size of the PDF file, sending an error message when the file size of the PDF file is equal to the linearized specific file size of the PDF file, and processing the PDF file as non-linearized when the file size of the PDF file and the linearized specific file size of the PDF file is un-equal.
Dependencies are inferred from the claim text.