Method and apparatus for performing direct printing by analyzing the bytes of the print data
AssigneeSamsung Electronics Co., Ltd.
InventorYoung-hee Huh
Life of this patent
Estimating the term…
Abstract
An image forming apparatus to perform direct printing of print data, wherein the image forming apparatus receives print data encoded in a first encoding method, determines whether the received print data includes a character expressed in 2 bytes, converts the print data encoded in the first encoding method to be encoded in a second encoding method of analyzing the character expressed in 2 bytes in the image forming apparatus if the print data includes the character expressed in 2 bytes, and forms an image of the converted print data.
Claims20
A method of performing direct printing of print data in an image forming apparatus, the method comprising:
- receiving print data encoded in a first encoding method;
- determining whether the print data includes a character expressed in 2 bytes such that the character is from a language different from English by obtaining units of 2 bytes from the print data and checking whether at least one of the units of 2 bytes is in a predetermined range;
- converting the print data encoded in the first encoding method to be encoded in a second encoding method to analyze the character expressed in 2 bytes in the image forming apparatus when the print data includes the character expressed in 2 bytes;
- and
- forming an image of the converted print data to display the character from the language different from English.
An image forming apparatus to perform direct printing of print data, the image forming apparatus comprising:
- a communication interface unit to receive print data encoded in a first encoding method;
- a first determiner to determine whether the print data includes a character expressed in 2 bytes such that the character is from a language different from English by obtaining units of 2 bytes from the print data and checking whether at least one of the units of 2 bytes is in a predetermined range;
- and
- a converter to convert the print data encoded in the first encoding method to be encoded a second encoding method of analyzing the character expressed in 2 bytes in the image forming apparatus when it is determined by the first determiner that the print data includes the character expressed in 2 bytes to display the character from the language different from English.
A non-transitory computer readable recording medium having embodied thereon a computer program to execute a method of performing direct printing of print data in an image forming apparatus, wherein the method comprises:
- receiving print data encoded in a first encoding method;
- determining whether the print data includes a character expressed in 2 bytes such that the character is from a language different from English by obtaining units of 2 bytes from the print data and checking whether at least one of the units of 2 bytes is in a predetermined range;
- converting the print data encoded in the first encoding method to be encoded in a second encoding method to analyze the character expressed in 2 bytes in the image forming apparatus, when the print data includes the character expressed in 2 bytes;
- and
- and
- forming an image of the converted print data to display the character from the language different from English.
An image forming apparatus to perform direct printing of print data, the image forming apparatus comprising:
- a communication interface unit to receive print data encoded in an American Standard Code for Information Interchange (ASCII) code;
- a first determiner to determine whether the print data includes a character expressed in 2 bytes by obtaining units of 2 bytes from the print data and checking whether at least one of the units of 2 bytes is in a predetermined range;
- a converter to convert the print data encoded in the ASCII code to be encoded in Unicode;
- a command generator to generate a command to parse the converted print data in units of 2 bytes if the first determiner determines that the print data includes the character expressed in 2 bytes such that the character is from a language different from English;
- and
- an image forming unit to form an image of the converted print data according to the generated command to display the character from the language different from English.
Dependencies are inferred from the claim text.