# US 2022/0283751 A1 · Print driving control method and apparatus thereof, storage medium, and program product

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0283751 A1
- Document ID: US20220283751A1
- Status: Published application
- Kind: A1
- Application number: 17/686,728
- Filed: 2022-03-04
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: Zhuhai Pantum Electronics Co., Ltd.
- Applicants: Zhuhai Pantum Electronics Co., Ltd.
- Inventors: Aosong WANG
- Web page: https://patentgrep.com/patent/US20220283751A1

## CPC

- G06F 3/121: {Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted}
- G06F 3/1247: {by conversion to printer ready format}
- G06F 3/126: {Job scheduling, e.g. queuing, determine appropriate device}
- G06F 3/1267: {Job repository, e.g. non-scheduled jobs, delay printing}
- G06F 3/1285: {Remote printer device, e.g. being remote from client or server}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Print driving control method and apparatus, a storage medium, and a program product are provided. The method includes transmitting a converted print task content to a background processing module of an operating system of a terminal device; receiving the print task content processed and transmitted by the background processing module, and caching the print task content in a memory space preset where the print task content includes print data and print identifiers; and determining whether the print identifiers includes a job end identifier to obtain a first determination result, determining a transmitting strategy according to the first determination result, and transmitting the print task content according to the transmitting strategy.

## Claims

### Claim 1

A print driving control method, applied to a terminal device, comprising:
converting print task content, transmitted by application software, into a form recognizable by an image forming apparatus, and transmitting the converted print task content to a background processing module of an operating system of the terminal device;
receiving the print task content processed and transmitted by the background processing module, and caching the print task content in a memory space preset in units of pages, wherein the print task content includes print data and print identifiers; and
determining whether the print identifiers in the print task content cached in the memory space includes a job end identifier to obtain a first determination result, determining a transmitting strategy of the print task content according to the first determination result, and transmitting the print task content to the image forming apparatus according to the transmitting strategy, such that the image forming apparatus prints the print data in the print task content.

### Claim 2 (depends on 1)

The method according to claim 1, wherein determining the transmitting strategy of the print task content according to the first determination result and transmitting the print task content to the image forming apparatus according to the transmitting strategy includes:
if the print task content includes the job end identifier, directly transmitting all print task content cached in the memory space to the image forming apparatus.

### Claim 3 (depends on 1)

The method according to claim 1, wherein determining the transmitting strategy of the print task content according to the first determination result and transmitting the print task content to the image forming apparatus according to the transmitting strategy includes:
if the print task content does not include the job end identifier, determining whether each page-beginning-identifier in the print task content has a corresponding page-ending-identifier to obtain a second determination result;
after obtaining the second determination result, determining whether a print task cancellation instruction is received to obtain a third determination result; and
according to the second determination result and the third determination result, determining the transmitting strategy of the print task content and transmitting the print task content to the image forming apparatus according to the transmitting strategy.

### Claim 4 (depends on 3)

The method according to claim 3, wherein according to the second determination result and the third determination result, determining the transmitting strategy of the print task content and transmitting the print task content to the image forming apparatus according to the transmitting strategy includes:
if each page-beginning-identifier in the print task content has the corresponding page-ending-identifier and the print task cancellation instruction is received, adding the job end identifier on a last page of the print task content, and transmitting the print task content added with the job end identifier to the image forming apparatus.

### Claim 5 (depends on 3)

The method according to claim 3, wherein according to the second determination result and the third determination result, determining the transmitting strategy of the print task content and transmitting the print task content to the image forming apparatus according to the transmitting strategy includes:
if a last one page-beginning-identifier in the print task content does not have a corresponding page-ending-identifier and the print task cancellation instruction is received, discarding content after a last one page-ending-identifier in the print task content, adding the job end identifier on a last page of remaining print task content and transmitting the print task content added with the job end identifier to the image forming apparatus.

### Claim 6 (depends on 3)

The method according to claim 3, wherein according to the second determination result and the third determination result, determining the transmitting strategy of the print task content and transmitting the print task content to the image forming apparatus according to the transmitting strategy includes:
if each page-beginning-identifier in the print task content has the corresponding page-ending-identifier and the print task cancellation instruction is not received, transmitting all cached print task content to the image forming apparatus, and continuing to receive the print task content.

### Claim 7 (depends on 3)

The method according to claim 3, wherein according to the second determination result and the third determination result, determining the transmitting strategy of the print task content and transmitting the print task content to the image forming apparatus according to the transmitting strategy includes:
if a last one page-beginning-identifier in the print task content does not have a corresponding page-ending-identifier and the print task cancellation instruction is not received, continuing to receive and cache the print task content until a last one page-beginning-identifier in cached print task content has a corresponding page-ending-identifier, and transmitting all cached print task content to the image forming apparatus.

### Claim 8

A[C. W1] terminal device, comprising:
a memory for storing computer program for a print driving control method; and
a processor coupled to the memory and configured, when the computer program being executed, to:
convert print task content, transmitted by application software, into a form recognizable by an image forming apparatus, and transmit the converted print task content to a background processing module of an operating system of the terminal device;
receive the print task content processed and transmitted by the background processing module, and cache the print task content in a memory space preset in units of pages, wherein the print task content includes print data and print identifiers; and
determine whether the print identifiers in the print task content cached in the memory space includes a job end identifier to obtain a first determination result, determine a transmitting strategy of the print task content according to the first determination result, and transmit the print task content to the image forming apparatus according to the transmitting strategy, such that the image forming apparatus prints the print data in the print task content.

### Claim 9 (depends on 8)

The device according to claim 8, wherein to determine the transmitting strategy of the print task content according to the first determination result and transmit the print task content to the image forming apparatus according to the transmitting strategy, the processor is further configured to:
if the print task content includes the job end identifier, directly transmit all print task content cached in the memory space to the image forming apparatus.

### Claim 10 (depends on 8)

The device according to claim 8, wherein to determine the transmitting strategy of the print task content according to the first determination result and transmit the print task content to the image forming apparatus according to the transmitting strategy, the processor is further configured to:
if the print task content does not include the job end identifier, determine whether each page-beginning-identifier in the print task content has a corresponding page-ending-identifier to obtain a second determination result;
after obtaining the second determination result, determine whether a print task cancellation instruction is received to obtain a third determination result; and
according to the second determination result and the third determination result, determine the transmitting strategy of the print task content and transmit the print task content to the image forming apparatus according to the transmitting strategy.

### Claim 11 (depends on 10)

The device according to claim 10, wherein according to the second determination result and the third determination result, to determine the transmitting strategy of the print task content and transmit the print task content to the image forming apparatus according to the transmitting strategy, the processor is further configured to:
if each page-beginning-identifier in the print task content has the corresponding page-ending-identifier and the print task cancellation instruction is received, add the job end identifier on a last page of the print task content, and transmit the print task content added with the job end identifier to the image forming apparatus.

### Claim 12 (depends on 10)

The device according to claim 10, wherein according to the second determination result and the third determination result, to determine the transmitting strategy of the print task content and transmit the print task content to the image forming apparatus according to the transmitting strategy, the processor is further configured to:
if a last one page-beginning-identifier in the print task content does not have a corresponding page-ending-identifier and the print task cancellation instruction is received, discard content after a last one page-ending-identifier in the print task content, add the job end identifier on a last page of remaining print task content and transmit the print task content added with the job end identifier to the image forming apparatus.

### Claim 13 (depends on 10)

The device according to claim 10, wherein according to the second determination result and the third determination result, to determine the transmitting strategy of the print task content and transmit the print task content to the image forming apparatus according to the transmitting strategy, the processor is further configured to:
if each page-beginning-identifier in the print task content has the corresponding page-ending-identifier and the print task cancellation instruction is not received, transmit all cached print task content to the image forming apparatus, and continue to receive the print task content.

### Claim 14 (depends on 10)

The device according to claim 10, wherein according to the second determination result and the third determination result, to determine the transmitting strategy of the print task content and transmit the print task content to the image forming apparatus according to the transmitting strategy, the processor is further configured to:
if a last one page-beginning-identifier in the print task content does not have a corresponding page-ending-identifier and the print task cancellation instruction is not received, continue to receive and cache the print task content until a last one page-beginning-identifier in cached print task content has a corresponding page-ending-identifier, and transmit all cached print task content to the image forming apparatus.

### Claim 15

A non-transitory computer-readable storage medium containing computer-executable instructions, and when being executed, the computer-executable instructions cause a processor to preform a print driving control method, the method comprising:
converting print task content, transmitted by application software, into a form recognizable by an image forming apparatus, and transmitting the converted print task content to a background processing module of an operating system of the terminal device;
receiving the print task content processed and transmitted by the background processing module, and caching the print task content in a memory space preset in units of pages, wherein the print task content includes print data and print identifiers; and
determining whether the print identifiers in the print task content cached in the memory space includes a job end identifier to obtain a first determination result, determining a transmitting strategy of the print task content according to the first determination result, and transmitting the print task content to the image forming apparatus according to the transmitting strategy, such that the image forming apparatus prints the print data in the print task content.

### Claim 16 (depends on 15)

The storage medium according to claim 15, wherein determining the transmitting strategy of the print task content according to the first determination result and transmitting the print task content to the image forming apparatus according to the transmitting strategy includes:
if the print task content does not include the job end identifier, determining whether each page-beginning-identifier in the print task content has a corresponding page-ending-identifier to obtain a second determination result;
after obtaining the second determination result, determining whether a print task cancellation instruction is received to obtain a third determination result; and
according to the second determination result and the third determination result, determining the transmitting strategy of the print task content and transmitting the print task content to the image forming apparatus according to the transmitting strategy.

### Claim 17 (depends on 16)

The storage medium according to claim 16, wherein according to the second determination result and the third determination result, determining the transmitting strategy of the print task content and transmitting the print task content to the image forming apparatus according to the transmitting strategy includes:
if each page-beginning-identifier in the print task content has the corresponding page-ending-identifier and the print task cancellation instruction is received, adding the job end identifier on a last page of the print task content, and transmitting the print task content added with the job end identifier to the image forming apparatus.

### Claim 18 (depends on 16)

The storage medium according to claim 16, wherein according to the second determination result and the third determination result, determining the transmitting strategy of the print task content and transmitting the print task content to the image forming apparatus according to the transmitting strategy includes:
if a last one page-beginning-identifier in the print task content does not have a corresponding page-ending-identifier and the print task cancellation instruction is received, discarding content after a last one page-ending-identifier in the print task content, adding the job end identifier on a last page of remaining print task content and transmitting the print task content added with the job end identifier to the image forming apparatus.

### Claim 19 (depends on 16)

The storage medium according to claim 16, wherein according to the second determination result and the third determination result, determining the transmitting strategy of the print task content and transmitting the print task content to the image forming apparatus according to the transmitting strategy includes:
if each page-beginning-identifier in the print task content has the corresponding page-ending-identifier and the print task cancellation instruction is not received, transmitting all cached print task content to the image forming apparatus, and continuing to receive the print task content.

### Claim 20 (depends on 16)

The storage medium according to claim 16, wherein according to the second determination result and the third determination result, determining the transmitting strategy of the print task content and transmitting the print task content to the image forming apparatus according to the transmitting strategy includes:
if a last one page-beginning-identifier in the print task content does not have a corresponding page-ending-identifier and the print task cancellation instruction is not received, continuing to receive and cache the print task content until a last one page-beginning-identifier in cached print task content has a corresponding page-ending-identifier, and transmitting all cached print task content to the image forming apparatus.
