Information processing apparatus, print system, and information processing method
AssigneeCanon Kabushiki Kaisha
InventorYoshinori Hashimoto
Life of this patent
Estimating the term…
Abstract
An information processing apparatus operates to acquire first information concerning a size of a print region where a barcode is printed, to generate, based on the acquired first information, image data of the barcode to be printed in the print region, and to set a lower limit of the width of each bar forming the barcode. The first information includes width information concerning a width of the print region and height information concerning a height of the print region. The generated image data includes, as a bar forming the barcode, a bar having a width based on the width information and a height based on the height information, and the image data is generated if a minimum width of each bar forming the barcode is equal to or larger than the set lower limit.
Claims11
An information processing apparatus comprising:
- a memory containing instructions;
- and
- at least one processor for executing the instructions to operate as:
- a first acquisition unit to acquire first information concerning a size of a print region where a barcode is printed;
- a generation unit to generate, based on the first information acquired by the first acquisition unit, image data of the barcode to be printed in the print region;
- a print control unit configured to cause a printer to print the barcode in the print region based on the image data generated by the generation unit;
- and
- a first setting unit to set a lower limit of the width of each bar forming the barcode,
- wherein the first information includes width information concerning a width of the print region and height information concerning a height of the print region,
- the generation unit generates the image data including, as a bar forming the barcode, a bar having a width based on the width information and a height based on the height information,
- the generation unit determines whether a minimum width of the bar of the barcode to be printed, calculated based on the first information acquired by the first acquisition unit, is equal to or larger than the lower limit set by the first setting unit,
- the generation unit generates the image data if a minimum width of each bar forming the barcode is equal to or larger than the lower limit set by the first setting unit, and
- if the minimum width is determined to be equal to or larger than the lower limit, the print control unit causes the printer to print the barcode, and if the minimum width is determined to be smaller than the lower limit, the print control unit does not cause the printer to print the barcode.
A print system comprising:
- a memory containing instructions;
- and
- at least one processor for executing the instructions to operate as:
- a first acquisition unit to acquire first information concerning a size of a print region where a barcode is printed;
- a generation unit to generate, based on the first information acquired by the first acquisition unit, image data of the barcode to be printed in the print region;
- and
- a first setting unit to set a lower limit of the width of each bar forming the barcode;
- and
- a printer to execute printing based on the image data generated by the generation unit, and
- wherein the first information includes width information concerning a width of the print region and height information concerning a height of the print region,
- the generation unit generates the image data including, as a bar forming the barcode, a bar having a width based on the width information and a height based on the height information,
- the generation unit determines whether a minimum width of the bar of the barcode to be printed, calculated based on the first information acquired by the first acquisition unit, is equal to or larger than the lower limit set by the first setting unit,
- the generation unit generates the image data if a minimum width of each bar forming the barcode is equal to or larger than the lower limit set by the first setting unit, and
- if the minimum width is determined to be equal to or larger than the lower limit, the print control unit causes the printer to print the barcode, and if the minimum width is determined to be smaller than the lower limit, the print control unit does not cause the printer to print the barcode.
An information processing method comprising:
- acquiring first information concerning a size of a print region where a barcode is printed;
- generating, based on the acquired first information, image data of the barcode to be printed in the print region;
- and
- causing a printer to print the barcode in the print region based on the image data generated by the generation unit;
- and
- setting a lower limit of the width of each bar forming the barcode,
- wherein the first information includes width information concerning a width of the print region and height information concerning a height of the print region,
- the generated image data including, as a bar forming the barcode, a bar having a width based on the width information and a height based on the height information is generated,
- a determination is made as to whether a minimum width of the bar of the barcode to be printed, calculated based on the first information acquired by the first acquisition unit, is equal to or larger than the lower limit set by the first setting unit,
- the image data is generated if a minimum width of each bar forming the barcode is equal to or larger than the set lower limit set, and
- if the minimum width is determined to be equal to or larger than the lower limit, the printer is caused to print the barcode, and if the minimum width is determined to be smaller than the lower limit, the printer is not caused to print the barcode.
Dependencies are inferred from the claim text.