# US 2020/0394005 A1 · Storage medium storing program

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

- Number: US 2020/0394005 A1
- Document ID: US20200394005A1
- Status: Published application
- Kind: A1
- Application number: 16/891,677
- Filed: 2020-06-03
- Published: 2020-12-17
- Earliest claimed: 2019-06-14
- Assignees: Brother Kogyo Kabushiki Kaisha
- Applicants: Brother Kogyo Kabushiki Kaisha
- Inventors: Naoki KUSUMOTO
- Web page: https://patentgrep.com/patent/US20200394005A1

## CPC

- G06F 3/1231: {Device related settings, e.g. IP address, Name, Identification}
- G06F 3/1245: {by conversion to intermediate or common format}
- G06F 3/1206: {resulting in increased flexibility in input data format or job format or job type}
- G06F 3/1298: {Printer language recognition, e.g. program control language, page description language}
- G06F 3/125: {Page layout or assigning input pages onto output media, e.g. imposition}
- G06F 3/1292: {Mobile client, e.g. wireless printing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A non-transitory computer readable storage medium stores a set of program instructions for an information processing apparatus including a processor, a communication interface, and a memory. The set of program instructions, when executed by the processor, causes the information processing apparatus to perform: acquiring type information indicative of a printer type; acquiring first data having a first format; identifying particular information corresponding to the acquired type information based on a conversion correspondence table, the conversion correspondence table showing a correspondence between the type information and the particular information, the particular information identifying at least a structure of data after conversion or a character code type of the data after conversion; converting the first data into second data corresponding to the identified particular information, the second data having a second format to be inputted to the printer; and outputting the second data.

## Claims

### Claim 1

A non-transitory computer readable storage medium storing a set of program instructions for an information processing apparatus comprising a processor, a communication interface, and a memory, the set of program instructions, when executed by the processor, causing the information processing apparatus to perform:
acquiring type information indicative of a printer type;
acquiring first data having a first format;
identifying particular information corresponding to the acquired type information based on a conversion correspondence table, the conversion correspondence table showing a correspondence between the type information and the particular information, the particular information identifying at least a structure of data after conversion or a character code type of the data after conversion;
converting the first data into second data corresponding to the identified particular information, the second data having a second format to be inputted to the printer; and
outputting the second data.

### Claim 2 (depends on 1)

The non-transitory computer readable storage medium according to claim 1, wherein the particular information is indicative of the structure of the data after conversion;
wherein the structure of the data is indicative of arrangement positions of a plurality of partial data included in the first data; and
wherein the converting the first data includes:
arranging the plurality of partial data at the arrangement positions indicated by the identified particular information; and
converting the arranged plurality of partial data into the second data.

### Claim 3 (depends on 2)

The non-transitory computer readable storage medium according to claim 2, wherein the set of program instructions includes an API configured to convert the first data into the second data.

### Claim 4 (depends on 1)

The non-transitory computer readable storage medium according to claim 1, wherein the particular information is indicative of the character code type of the data after conversion; and
wherein the converting the first data includes:
converting a first character code of the first data into a second character code, the second character code being indicated by the identified particular information; and
converting the first data of the second character code into the second data.

### Claim 5 (depends on 1)

The non-transitory computer readable storage medium according to claim 1, wherein the particular information is indicative of both the structure of the data after conversion and the character code type of the data after conversion;
wherein the structure of the data is indicative of arrangement positions of a plurality of partial data included in the first data;
wherein the converting the first data includes:
converting a first character code of the first data into a second character code, the second character code being indicated by the identified particular information;
arranging the plurality of partial data at the arrangement positions indicated by the particular information, thereby generating third data having a third format;
converting the arranged plurality of partial data into the second data; and
wherein the set of program instructions includes an API configured to convert the first data into the second data.

### Claim 6 (depends on 5)

The non-transitory computer readable storage medium according to claim 5, wherein the third data includes a command for instructing two-way communication between the information processing apparatus and the printer; and
wherein the second data includes a command for instructing one-way communication from the information processing apparatus to the printer.

### Claim 7 (depends on 1)

The non-transitory computer readable storage medium according to claim 1, wherein the information processing apparatus is a mobile terminal including the communication interface.

### Claim 8 (depends on 1)

The non-transitory computer readable storage medium according to claim 1, wherein the first data having the first format is a CSV database written in Unicode.

### Claim 9 (depends on 8)

The non-transitory computer readable storage medium according to claim 8, wherein the second data having the second format includes:
as a header, a command indicative of an instruction for inputting data to the printer by one-way communication; and
partial data including basic data that is binary data corresponding to the CSV database.

### Claim 10 (depends on 2)

The non-transitory computer readable storage medium according to claim 2, wherein the arrangement positions of the plurality of partial data are the arrangement positions of basic data that is binary data corresponding to a database included in the first data, a name of a local code that is a character code that is interpreted by the printer, a database name written in the local code, and index data of the database.

### Claim 11

A non-transitory computer readable storage medium storing a data generation program for an information processing apparatus comprising a processor, a communication interface, and a memory, the data generation program including a first module and a second module,
the first module, when executed by the processor, causing the information processing apparatus to perform:
acquiring type information indicative of a printer type;
acquiring first data having a first format;
identifying particular information corresponding to the acquired type information based on a conversion correspondence table, the conversion correspondence table showing a correspondence between the type information and the particular information, the particular information identifying at least a structure of data after conversion or a character code type of the data after conversion;
converting the first data into second data corresponding to the identified particular information, the second data having a second format to be inputted to the printer; and
outputting the second data,
the second module, when executed by the processor, causing the information processing apparatus to perform:
acquiring original data having a fourth format;
calling an API to convert a character code of the original data into a common character code to acquire the first data, the API being provided by an OS of the information processing apparatus; and
handing over the acquired first data to the first module.

### Claim 12 (depends on 11)

The non-transitory computer readable storage medium according to claim 11, wherein the data generation program further includes a third module configured to generate print data.

### Claim 13 (depends on 11)

The non-transitory computer readable storage medium according to claim 11, wherein the data generation program further includes a fourth module;
wherein the second module includes an another API called by the fourth module; and
wherein the fourth module, when executed by the processor, causes the information processing apparatus to perform:
calling the another API and handing over the original data to the second module.

### Claim 14

A non-transitory computer readable storage medium storing a first program and a second program for an information processing apparatus comprising a processor, a communication interface, and a memory,
the first program, when executed by the processor, causing the information processing apparatus to perform:
acquiring original data of a first format, the original data being written in a first character code;
calling an API to convert the first character code of the acquired original data into a second character code, thereby acquiring first data that is the original data written in the second character code; and
outputting the first data to the second program,
the second program having a conversion correspondence table in which a printer type and a character code type are associated with each other, the character code type being determined from the printer type,
the second program, when executed by the processor, causing the information processing apparatus to perform:
acquiring the first data outputted by the first program;
identifying, as a third character code, a character code indicated by the character code type corresponding to the printer type based on the conversion correspondence table;
converting the second character code of the first data into the third character code, thereby generating second data written in the third character code; and
outputting the second data.

### Claim 15 (depends on 14)

The non-transitory computer readable storage medium according to claim 14, wherein the second program is written in a particular language different from a language of an OS of the information processing apparatus; and
wherein the API is provided by the OS.

### Claim 16 (depends on 14)

The non-transitory computer readable storage medium according to claim 14, wherein the first program, when executed by the processor, causes the information processing apparatus to perform:
acquiring format information indicative of a data format of the second data; and
outputting the format information to the second program; and
wherein the second program, when executed by the processor, causes the information processing apparatus to perform:
generating the second data in the data format indicated by the format information.

### Claim 17 (depends on 14)

The non-transitory computer readable storage medium according to claim 14, wherein the first program, when executed by the processor, causes the information processing apparatus to perform:
acquiring output-destination information indicative of an output destination of the second data; and
wherein the second program, when executed by the processor, causes the information processing apparatus to perform:
outputting the second data to the output destination indicated by the output-destination information.

### Claim 18 (depends on 14)

The non-transitory computer readable storage medium according to claim 14, wherein the non-transitory computer readable storage medium further stores a third program;
wherein the third program, when executed by the processor, causes the information processing apparatus to perform:
receiving the second data outputted by the second program; and
outputting the second data to the printer through the first program.

### Claim 19 (depends on 14)

The non-transitory computer readable storage medium according to claim 14, wherein the first program, when executed by the processor, causes the information processing apparatus to perform:
acquiring the printer type; and
outputting the acquired printer type to the second program; and
wherein the second program, when executed by the processor, causes the information processing apparatus to perform:
acquiring the printer type outputted by the first program.

### Claim 20 (depends on 14)

The non-transitory computer readable storage medium according to claim 14, wherein the information processing apparatus is a mobile terminal including the communication interface configured to communicate with the printer.
