KR101502274B1 - Method for transmitting a print command for pos printer and recording medium a program for the same - Google Patents

Method for transmitting a print command for pos printer and recording medium a program for the same Download PDF

Info

Publication number
KR101502274B1
KR101502274B1 KR20140042518A KR20140042518A KR101502274B1 KR 101502274 B1 KR101502274 B1 KR 101502274B1 KR 20140042518 A KR20140042518 A KR 20140042518A KR 20140042518 A KR20140042518 A KR 20140042518A KR 101502274 B1 KR101502274 B1 KR 101502274B1
Authority
KR
South Korea
Prior art keywords
print command
font
print
printer
image
Prior art date
Application number
KR20140042518A
Other languages
Korean (ko)
Inventor
김기호
이재천
Original Assignee
주식회사 빅솔론
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 빅솔론 filed Critical 주식회사 빅솔론
Priority to KR20140042518A priority Critical patent/KR101502274B1/en
Priority to PCT/KR2014/011672 priority patent/WO2015156478A1/en
Application granted granted Critical
Publication of KR101502274B1 publication Critical patent/KR101502274B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

According to the present invention, there is provided a printing method including the steps of receiving print data including first print data composed of a first font recognizable by a POS printer and second print data composed of a second font that the POS printer can not recognize, ; Confirming the size change information; Generating a first print command based on the first character string of the first print data and the size change information; Generating a second print command based on the second character string of the second print data and the resizing information; And transmitting the first print command and the second print command to the force printer.

Description

BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a method for transmitting a print command for a POS printer, and a recording medium on which a program for performing the method is recorded.

The present invention relates to a method of transmitting a print command for a force printer and a recording medium on which a program for performing the method is recorded.

More particularly, the present invention relates to a method and a method for generating a print command for a POS printer to solve a problem caused when printing information to be printed through a POS printer is reduced, and a program for performing the method And a recording medium.

The Point of Sales System generally refers to a point-of-sale management system that has a cash register and a computer function.

Such a force system may be configured to include force peripheral devices connected to the force terminal and the force terminal to perform various functions. Force printers are a type of force peripherals that are configured to print receipts.

The POS terminal is provided with a printer driver for properly communicating with the force printer. Through such a printer driver, the user can set various setting values necessary for printing a document. Among the various setting values, there is a setting value (size changing value) for printing the document at a certain ratio , Whereby the user can reduce or enlarge the document to be printed at a certain ratio.

However, when a document created using both a font supported by the printer and a font not supported by the printer is reduced or enlarged at a certain ratio, a problem occurs that the document is not normally printed.

The present invention provides a method for transmitting a print command for a POS printer such that all data included in a document can be normally enlarged or reduced when the document to be printed is enlarged or reduced and printed, And a recording medium on which a program is recorded.

According to one aspect of the present invention, there is provided a printing system including: a printing data generation unit that generates print data including first print data composed of a first font recognizable by a POS printer and second print data composed of a second font that the POS printer can not recognize Receiving; Confirming the size change information; Generating a first print command based on the first character string of the first print data and the size change information; Generating a second print command based on the second character string of the second print data and the resizing information; And transmitting the first print command and the second print command to the force printer.

The step of generating the first print command may include determining a second font size based on the first font size and the size change information of the first print data.

At this time, the first print command may be generated to include the first character string and the second font size.

The determining of the second font size may include determining a second font size that is closest to a value obtained by multiplying the first font size and the size change information among predetermined font sizes have.

The first print command may be generated by a string print command or a code print command.

Wherein the generating of the first print command comprises: generating an image having a first font size of the first print data and corresponding to the first character string; And generating a transfer image generated by resizing the generated image according to the size change information, wherein the first print command is generated by an image print command for printing the transfer image .

Alternatively, the generating of the first print command may include: determining a second font size based on the first font size and the size change information of the first print data; And generating an image corresponding to the first character string according to the determined second font size, wherein the first print command may be generated by an image print command for printing the image.

The determining of the second font size may include determining a second font size that is most similar to a value obtained by multiplying the first font size and the size change information among predetermined font sizes .

The generating of the image may include selecting a third font that the force printer can not recognize; And generating the image corresponding to the first character string according to the second font size and the third font.

The generating of the second print command may include generating an image having a third font size of the second print data and corresponding to the second character string, And generating a transfer image generated by resizing the generated image according to the size change information, wherein the second print command is generated by an image print command for printing the transfer image .

 Wherein the generating of the second print command includes: determining a fourth font size based on the third font size and the size change information of the second print data; And generating an image corresponding to the second character string in accordance with the determined fourth font size, and the second print command may be generated by an image print command for printing the image.

Wherein the generating of the second print command includes: determining a fourth font size based on the third font size and the size change information of the second print data; And selecting a fourth font recognizable by the force printer, wherein the second print command can be generated to include the second string, the fourth font size, and the fourth font And the second print command can be generated by a string print command or a code print command.

According to another aspect of the present invention, there is provided a method of transmitting a print command for a force printer for printing a document to be printed including first through N-th lines. The method includes receiving print data from an application for printing at least a portion of the document to be printed; Generating a print command for printing the print data on the force printer based on font information on the print data when the size change request is received; And transmitting the generated print command to the force printer. When the font information is a font recognizable by the POS printer, the print command is generated by a string print command or a code print command, If the font information is a font that the POS printer can not recognize, the print command may be generated by an image print command.

Print data for printing at least a part of the document to be printed may be generated for each line.

The generating of the print command may include determining a print font based on the size change request when the font information is a font recognizable by the POS printer, May be generated to include the determined print font.

A method for transmitting a print command for a force printer.

Wherein the generating of the print command comprises: determining an image creation font based on the size change request when the font information is a font that the POS printer can not recognize; And generating an image corresponding to the print data based on the determined image generation font. The print command may be generated to include data for outputting the generated image.

According to yet another aspect of the present invention, there is provided a recording medium on which a program for performing the above-described method of transmitting a print command for a force printer is recorded.

According to the present invention, it is possible to solve the conventional problem that print data using a font supported by POS printer is lost and printed when there is a size change request, The effect that the size can be appropriately changed and printed according to the change request occurs.

FIG. 1 and FIG. 2 are diagrams for explaining a problem that occurs when printing according to a setting value for reducing or enlarging a document to be printed according to a conventional technique.
3 is a view for explaining a force terminal and a force printer related to the embodiments of the present invention.
4 is a flowchart illustrating a method of transmitting a print command for a force printer according to an embodiment of the present invention.
5 to 8 are diagrams for explaining a method of generating a first print command according to some embodiments of the present invention.
9 and 10 are diagrams illustrating a method of generating a second print command according to some embodiments of the present invention.

The above objects, features and advantages of the present invention will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. It is to be understood, however, that the invention is not limited to the disclosed embodiments, but, on the contrary, is intended to cover various modifications and similarities.

In the drawings, the thicknesses of the layers and regions are exaggerated for clarity and the element or layer is referred to as being "on" or "on" Included in the scope of the present invention is not only directly above another element or layer but also includes intervening layers or other elements in between. Like reference numerals designate like elements throughout the specification.

In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. In addition, numerals (e.g., first, second, etc.) used in the description of the present invention are merely an identifier for distinguishing one component from another.

Hereinafter, an electronic apparatus related to the present invention will be described in more detail with reference to the drawings. The suffix "module" and " part "for the components used in the following description are given or mixed in consideration of ease of specification, and do not have their own meaning or role.

The electronic device described in this specification includes mobile terminals such as a mobile phone, a smart phone, a laptop computer, a digital broadcasting terminal, a PDA (Personal Digital Assistants), a PMP (Portable Multimedia Player) But also a fixed terminal such as a digital TV, a desktop computer, and the like.

In this document, a 'font' includes not only a font for a character but also a format / font for a two-dimensional code such as a bar code or a QR code.

Generally, force printers store only a limited number of fonts. Accordingly, if a document to be printed is created using a font that is supported by the POS terminal but is not supported by the POS printer, the font can be printed in a font different from the document actually created by the user. That is, if the user has created a document in the 'A' font but the 'A' font is a font not supported by the force printer, the contents of the document may be printed in the 'B' font, which the POS printer can support.

In order to solve such a problem, when the contents of a document to be printed are written in a font which is not supported by the force terminal, the printer driver installed in the force terminal is required to print the contents of the document to be printed And a function of transmitting and printing the changed image after changing the image to an image so that even when a document is created in a font that is not supported by the POS printer, .

On the other hand, a setting value for reducing or enlarging the size of a document to be printed through a printer driver is applied only to an area to be printed by a print command for outputting an image, and is printed by a print command for outputting a character string There is a case where the entire contents included in the document can not be reduced or enlarged in a lump when the document to be printed is reduced or enlarged to be printed.

FIG. 1 and FIG. 2 are diagrams for explaining a problem that occurs when printing according to a setting value for reducing or enlarging a document to be printed according to a conventional technique.

1 (a) and Fig. 2 (a) are diagrams showing screens printed on actual paper when a document to be printed is printed in its original size, and Figs. 1 (b) (b) is a drawing showing a screen printed on actual paper when a setting value for reducing a document to be printed at a predetermined ratio is set and then printed.

Referring to FIG. 1, it can be seen that the contents of the first area R1 are normally reduced and printed according to the reduction ratio set by the user. However, the contents of the second area R2 are not limited to the reduction ratio set by the user It is not normally reduced but is printed in its original size, and the contents of the actual document are partially lost (LR1) and printed.

This is because the font used in the first area R1 is created using a font that is not supported by the POS printer so that the first area R1 is printed in the first area R1 ) To the image, and then transmits the data of the changed image and the image print command for outputting the modified image to the POS printer. At this time, the first area R1 is changed to the image Since the reduction ratio set by the user has been normally applied and the contents corresponding to the second area R2 have been created by using the fonts supported by the POS printer, The character string corresponding to the second area R2 is not changed to an image, Because the force transmitted to the printer, but the user is not subject to the set reduction ratio properly.

2, it can be seen that the contents of the first area R1 are normally reduced and printed in accordance with the reduction ratio set by the user, but the contents of the second area R2 are not printed at all, . That is, it can be seen that a lost area LR2 is included in the document to be printed, but no contents are printed on the actually printed paper.

This is because only a part of the entire area of the actual paper can be set as the print area according to the reduction ratio set by the actual user. If it is determined that the data to be printed is out of the set print area, It is because.

In summary, when a user actually prints a document to be printed after inputting a set value to print by reducing or enlarging the contents of the input document through the printer driver, in a specific case, the content of the target document A problem occurs that a part of the image is not normally output.

Hereinafter, a method and a method for generating a print command for a POS printer to solve a problem caused by attempting to reduce information to be printed through a force printer, which is aimed at solving the above-mentioned problems, Will be described in detail.

3 is a view for explaining a force terminal and a force printer related to the embodiments of the present invention.

As shown in FIG. 3, the force terminal 10 may be connected to the force printer 20. The force terminal 10 and the force printer 20 may be connected by wire or wirelessly. When the force terminal 10 and the force printer are wirelessly connected, the POS terminal 10 can be connected via a Radio-Frequency Identification (RFID), a Bluetooth, a WiFi, or any other known wireless communication method.

The force terminal 10 may include an application 12 and a printer driver 14. [

The application 12 may be software or hardware capable of providing an interface for receiving various user inputs for creating a document to be printed or for printing a target document.

The printer driver 14 receives the print request and the data for the target document to be printed from the application 12 and transmits the print command for properly printing the target document to the POS printer 20 and the data Can be transmitted.

In addition, the printer driver 14 can receive and set various setting values necessary for printing from the user or the application 12. The printer driver 14 can appropriately reflect the set values, And may transmit a separate set value change command or the like to the POS printer 20. [

The force printer 20 receives necessary commands from the printer driver 14 installed in the force terminal 10 and performs appropriate operations accordingly.

For example, upon reception of a print command from the printer driver 14, an appropriate print operation can be performed based on various parameters included in the print command and / or data to be printed.

For example, when the setting change command is received from the printer driver 14, various setting values of the force printer 20 can be changed based on various setting values included in the setting change command.

For example, when the POS printer 20 receives a status return command for requesting return of various setting values and / or various statuses of the current POS printer 20 from the printer driver 14, To the printer driver (14).

The commands that may be used between the printer driver 14 and the force printer 20 may be various other commands than those described above.

In the case of the print command, various print commands may be used depending on the type of data to be printed. That is, different print commands may be used depending on whether the data to be printed is an image, a character string, or a code. Hereinafter, when a distinction is required, a print command for printing image data is called an image print command, a print command for printing a string is a string print command, and a print command for printing code data is called a code print command . However, in the case where such a special distinction is not required, it may be collectively referred to as a print command.

Hereinafter, various embodiments of a method of transmitting a print command for a force printer according to the present invention will be described.

4 is a flowchart illustrating a method of transmitting a print command for a force printer according to an embodiment of the present invention.

Referring to FIG. 4, a method of transmitting a print command for a force printer according to the present invention includes receiving print data (S100), checking whether there is a size change request (S200) And checking the type of the font (S300). In this case, when the type of the identified font is the first font supported by the POS printer 20, a step (S400) of generating a first print command and a step (S600) of generating a second print command when the type of the identified font is a second font that is not supported by the POS printer 20 And transmitting the generated second print command to the force printer 20 (S700).

In the following, each step will be described in more detail.

The printer driver 14 can receive print data from the application 12 (S100).

The print data may include data for at least one of a character string, an image, and a code (for example, a bar code or a QR code, etc.) included in a document to be printed.

In addition, the print data may include various attribute information on the character string, image, code, and the like. For example, when the print data is a character string, font information and / or font size information applied to the character string may be included in the print data.

Meanwhile, when the print data is transmitted, data on all the contents included in the target document to be printed may be transmitted at a time. Preferably, the print target document may be divided into predetermined units and transmitted have. For example, when the document to be printed includes a plurality of lines, the contents included in each line may be transmitted from the application 12 to the printer driver 14 as one unit. That is, when the document to be printed is composed of the first line to the N-th line, the print data may be transmitted N times in order to transmit all the contents of the document to be printed to the printer driver 14.

The printer driver 14 can check whether there is a size change request for changing the print size, such as enlarging or reducing the print size when outputting the document to be printed (S200).

In general, the size change request may be input by a user through a user interface (UI) provided by the printer driver 14. For example, in outputting the document to be printed, the user can input a reduction of a% in comparison with the original size of the document to be printed, through the user interface provided by the printer driver 14, , The printer driver 14 can confirm that there is a size change request.

Alternatively, the size change request may be generated through the application 12 or other application installed in the force terminal 10 or an operating system (OS) installed in the force terminal 10 .

Upon receipt of the print data, the printer driver 14 can confirm the type of the font for the received print data (S300). More specifically, the printer driver 14 can check whether the font for the received print data is a font recognizable by the POS printer 20 or a font that the POS printer 20 can not recognize (S300).

In other words, in general, the fonts that the force terminal 10 can use are more diverse than the fonts that the force printer 20 can use. For this reason, When the target document is created, the font used for the document to be printed may be a font recognizable by the POS printer 20 or a font which can not be recognized by the POS printer 20. In step S300, Can be performed.

Meanwhile, the printer driver 14 may check the font information included in the print data to confirm the font of the print data, and may transmit the font information transmitted separately from the print data to the application 12 And can also be confirmed.

If it is determined in step S300 that the font for the print data is a font recognizable by the POS printer 20, the printer driver 14 prints the received print data through the POS printer 20 (S400), and transmits the generated first print command to the force printer (20).

Hereinafter, various methods of generating the first print command will be described in detail.

5 to 8 are diagrams for explaining a method of generating a first print command according to some embodiments of the present invention.

First, a first embodiment for generating a first print command will be described.

Referring to FIG. 5, the printer driver 14 determines a second font size based on the font size (hereinafter referred to as a first font size) of the received print data and the size change information confirmed in step S200 (S410).

The method for determining the second font size may be as follows.

(1) A value obtained by multiplying the first font size by the size change information is calculated.

(2) A value closest to the value among the font sizes preset in the force printer 20 is searched.

(3) The closest value is determined as the second font size.

For example, when the first font size for the print data is '15' and the size change information is '70%', the value obtained by multiplying the two is '10.5' If the set font sizes are 10 and 12, the second font size may be determined to be 10, which is more approximate to 10.5.

Then, the printer driver 14 may generate a first print command including the determined second font size and the first character string for the print data (S412).

The first print command generated in step S412 may be a string print command or a code print command. That is, since the data transmitted through the first print command is not the image data corresponding to the print data but the first character string for the first print data, the print command used in step S412 is a string print command or code Print command.

This makes it possible to solve the conventional problem that the print data using the fonts supported by the force printer is lost and printed when there is a size change request and also the size change request to the print data using the fonts supported by the force printer So that it can be appropriately changed in size and printed.

Next, a second embodiment for generating the first print command will be described.

Referring to FIG. 6, the printer driver 14 may determine a second font size based on the first font size of the received print data and the size change information confirmed in step S200 (S420). Since step S420 is the same as or similar to step S410 described above, a detailed description will be omitted.

Subsequently, the printer driver 14 may generate an image corresponding to the first character string of the received print data according to the determined second font size (S422).

That is, when the font size (first font size) of the print data received by the printer driver 14 is 15 and the size change information is 70%, as described above, the second font size may be determined to be 10, At this time, in step S422, the printer driver 14 generates an image corresponding to the first character string of the print data, wherein the font size of the first character string is the first font size used for the original print data The size of the second font size determined in step S420 may be determined.

Subsequently, the printer driver 14 may generate a first print command for printing the generated image (S424).

The second print command generated in step S424 may be an image print command.

Thus, in the same manner as the first embodiment described with reference to FIG. 5, not only is it possible to solve the conventional problem that the print data using the font supported by the POS printer is lost and printed when the size change is requested, The print data using the supported fonts can be appropriately resized and printed according to the size change request.

Next, a third embodiment for generating a first print command will be described.

Referring to FIG. 7, the printer driver 14 may generate an image corresponding to the first character string according to the first font size of the received print data (S430).

Subsequently, the printer driver 14 may change the size of the generated image based on the size change information (S432).

Finally, the printer driver 14 may generate a first print command for printing the resized image (S434).

The first print command generated in step S434 may be an image print command.

Thus, as in the first and second embodiments described with reference to FIGS. 5 and 6, it is possible to solve the conventional problem that print data using a font supported by POS printer is lost and printed when there is a size change request However, it is possible to appropriately change the size of the print data using the fonts supported by the POS printer according to the size change request, so that the print data can be printed. Particularly, according to the third embodiment, the data created using the fonts supported by the force printer 20 can be changed in size so as to be exactly matched with the size change information input by the user or the like.

Next, a fourth embodiment for generating the first print command will be described.

Referring to FIG. 8, the printer driver 14 may determine the second font size based on the first font size of the received print data and the size change information confirmed in step S200 (S440). Since step S420 is the same as or similar to step S410 described above, a detailed description will be omitted.

Subsequently, the printer driver 14 can select a third font that the force printer 20 can not recognize (S442). The third font may be selected arbitrarily among the plurality of fonts other than the fonts recognizable by the force printer 20. Alternatively, if there is a font that the POS printer 20 can not recognize among the fonts used for the previous print data received from the application 10, the third font may include fonts used for the previous print data ≪ / RTI >

Then, the printer driver 14 may generate an image of the first character string corresponding to the print data according to the determined second font size and the selected third font (S444).

Then, the printer driver 14 may generate a first print command for printing the generated image (S446).

The first print command generated in step S446 may be an image print command.

Thus, as in the first to third embodiments described with reference to FIGS. 5 to 7, it is possible to solve the conventional problem that print data using a font supported by POS printer is lost and printed when there is a size change request In addition, print data using fonts supported by the POS printer can be appropriately resized and printed in accordance with the size change request. However, unlike the first to third embodiments described above, the print data written in the font recognizable by the force printer 20 can be printed in a font different from the originally created font.

As described above, various embodiments for generating / transmitting the first print command in the case where the font for the print data is a font recognizable by the POS printer 20 as a result of the execution of the step S300 has been described.

On the other hand, if it is determined in step S300 that the font for the print data is a font that the POS printer 20 can not recognize, the printer driver 14 generates a second print command (S600) The second print command can be transmitted (S700).

Hereinafter, various embodiments for generating the second print command will be described.

9 and 10 are diagrams illustrating a method of generating a second print command according to some embodiments of the present invention.

First, a first embodiment for generating a second print command will be described.

9, the printer driver 14 determines the fourth font size based on the font size (hereinafter referred to as the third font size) of the received print data and the size change information confirmed in step S200 (S610). The method for determining the fourth font size is the same as or similar to the method for determining the second font size in step S410, so a detailed description will be omitted.

Then, the printer driver 14 may generate an image corresponding to the second character string of the received print data according to the determined fourth font size (S612).

Subsequently, the printer driver 14 may generate a second print command for printing the generated image (S614).

The second print command generated in step S614 may be an image print command.

Thereby, the force printer 20 can appropriately adjust the size of the printing target document created using the font that the force printer 20 can not recognize, and print the document.

Next, a second embodiment for generating a second print command will be described.

Referring to FIG. 10, the printer driver 14 may determine a fourth font size based on the third font size and size change information for the received print data (S620). The method for determining the fourth font size is the same as or similar to the method for determining the second font size in step S410, so a detailed description will be omitted.

Then, the printer driver 14 can select a fourth font that the POS printer can recognize (S622). The fourth font may be arbitrarily selected from a plurality of fonts that the force printer 20 can recognize. Alternatively, if there is a font that the POS printer 20 recognizes among the fonts used for the previous print data received from the application 10, the fourth font may include fonts used for the previous print data ≪ / RTI >

Then, the printer driver 14 may generate a second print command including the determined fourth font size, the selected fourth font, and the second string of the received print data (S624).

The second print command generated in step S624 may be a string print command or a code print command.

Thereby, the force printer 20 can appropriately adjust the size of the printing target document created using the font that the force printer 20 can not recognize, and print the document. According to the second embodiment for generating the second print command in comparison with the first embodiment, the printer driver 14 can transmit only the data for the character string instead of transmitting the image data, The data transfer amount between the POS printer 10 and the force printer 20 can be reduced.

On the other hand, although not shown in the figure, a second print command (image print command) for outputting the image generated after first generating an image corresponding to the second character string having the third font size of the received print data It is also possible to generate the second print command.

In the method of transmitting the print command for force printer according to the present invention described above, the steps constituting each embodiment are not essential, and therefore, each embodiment can selectively include the above-described steps. Moreover, each step constituting each embodiment is not necessarily performed according to the order described, and the step described later may be performed before the step described earlier.

The method of transmitting a print command for a POS printer according to the present invention may be embodied in the form of a code or a program for performing the method, and the code or the program may be stored in a computer-readable recording medium.

While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, The present invention is not limited to the drawings. In addition, the embodiments described in this document can be applied to not only the present invention, but also all or some of the embodiments may be selectively combined so that various modifications can be made. Further, the steps constituting each embodiment can be used separately or in combination with the steps constituting the other embodiments.

10: Force terminal 20: Force printer
12: Application 14: Printer driver

Claims (17)

The method comprising: receiving print data including first print data composed of a first font recognizable by a POS printer and second print data composed of a second font that the POS printer can not recognize;
Confirming the size change information;
Generating a first print command based on the first character string of the first print data and the size change information;
Generating a second print command based on the second character string of the second print data and the resizing information; And
And transmitting the first print command and the second print command to the force printer
A method for transmitting a print command for a force printer.
2. The method of claim 1, wherein generating the first print command comprises:
Determining a second font size based on the first font size and the size change information of the first print data
A method for transmitting a print command for a force printer.

3. The method of claim 2,
Wherein the first print command is generated to include the first character string and the second font size
A method for transmitting a print command for a force printer.
3. The method of claim 2, wherein determining the second font size comprises:
And determines a value closest to a value derived by multiplying the first font size and the size change information among the predetermined font sizes as the second font size
A method for transmitting a print command for a force printer.
3. The method of claim 2,
Wherein the first print command is generated by a string print command or a code print command
A method for transmitting a print command for a force printer.
2. The method of claim 1, wherein generating the first print command comprises:
Generating an image having a first font size of the first print data and corresponding to the first character string; And
And generating a transmission image generated by resizing the generated image according to the size change information,
Wherein the first print command is generated by an image print command for printing the transfer image
A method for transmitting a print command for a force printer.
2. The method of claim 1, wherein generating the first print command comprises:
Determining a second font size based on the first font size and the size change information of the first print data; And
And generating an image corresponding to the first character string according to the determined second font size,
Wherein the first print command is generated by an image print command for printing the image
A method for transmitting a print command for a force printer.
8. The method of claim 7, wherein determining the second font size comprises:
Wherein the second font size is determined as a value most similar to a value derived by multiplying the first font size and the size change information among predetermined font sizes
A method for transmitting a print command for a force printer.
8. The method of claim 7, wherein generating the image comprises:
Selecting a third font that the force printer can not recognize; And
And generating the image corresponding to the first character string according to the second font size and the third font
A method for transmitting a print command for a force printer.
2. The method of claim 1, wherein generating the second print command comprises:
Generating an image having a third font size of the second print data and corresponding to the second character string; And
And generating a transmission image generated by resizing the generated image according to the size change information,
Wherein the second print command is generated by an image print command for printing the transfer image
A method for transmitting a print command for a force printer.
2. The method of claim 1, wherein generating the second print command comprises:
Determining a fourth font size based on the third font size and the size change information of the second print data; And
And generating an image corresponding to the second character string according to the determined fourth font size,
Wherein the second print command is generated by an image print command for printing the image
A method for transmitting a print command for a force printer.
2. The method of claim 1, wherein generating the second print command comprises:
Determining a fourth font size based on the third font size and the size change information of the second print data; And
Selecting a fourth font that the POS printer recognizes,
Wherein the second print command is generated to include the second character string, the fourth font size, and the fourth font,
Wherein the second print command is generated by a character string print command or a code print command
A method for transmitting a print command for a force printer.
A method of transmitting a print command for a POS printer for printing a document to be printed including first through Nth lines,
Receiving print data for printing at least a part of the document to be printed from an application;
Generating a print command for printing the print data on the POS printer based on font information on the print data when a request for size change is made; And
And transmitting the generated print command to the force printer,
When the font information is a first font recognizable by the POS printer, the print command is generated by a string print command or a code print command,
Wherein if the font information is a second font that the POS printer can not recognize, the print command is generated by an image print command
A method for transmitting a print command for a force printer.
14. The method of claim 13,
And print data for printing at least a part of the document to be printed is generated for each line
A method for transmitting a print command for a force printer.
14. The method of claim 13, wherein generating the print command comprises:
And if the font information is the first font, determining a print font based on the resize request,
Wherein the print command is generated so as to include the determined print font
A method for transmitting a print command for a force printer.
14. The method of claim 13, wherein generating the print command comprises:
If the font information is the second font, determining an image generation font based on the resizing request; And
And generating an image corresponding to the print data based on the determined image generation font,
Wherein the print command is generated so as to include data for outputting the generated image
A method for transmitting a print command for a force printer.
17. A recording medium on which a program for carrying out the method according to any one of claims 1 to 16 is recorded.
KR20140042518A 2014-04-09 2014-04-09 Method for transmitting a print command for pos printer and recording medium a program for the same KR101502274B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR20140042518A KR101502274B1 (en) 2014-04-09 2014-04-09 Method for transmitting a print command for pos printer and recording medium a program for the same
PCT/KR2014/011672 WO2015156478A1 (en) 2014-04-09 2014-12-02 Method for transmitting printing command for point of sales (pos) printer and recording medium in which program for performing same method is recorded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20140042518A KR101502274B1 (en) 2014-04-09 2014-04-09 Method for transmitting a print command for pos printer and recording medium a program for the same

Publications (1)

Publication Number Publication Date
KR101502274B1 true KR101502274B1 (en) 2015-03-13

Family

ID=53027451

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20140042518A KR101502274B1 (en) 2014-04-09 2014-04-09 Method for transmitting a print command for pos printer and recording medium a program for the same

Country Status (2)

Country Link
KR (1) KR101502274B1 (en)
WO (1) WO2015156478A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102582222B1 (en) 2022-11-02 2023-09-22 정해진 Print pickup service system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020060327A (en) * 2001-01-10 2002-07-18 윤종용 Apparatus for controlling printer to improve printing speed and method thereof
JP2011198328A (en) * 2010-03-24 2011-10-06 Brother Industries Ltd Portable terminal, program and communication system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020060327A (en) * 2001-01-10 2002-07-18 윤종용 Apparatus for controlling printer to improve printing speed and method thereof
JP2011198328A (en) * 2010-03-24 2011-10-06 Brother Industries Ltd Portable terminal, program and communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102582222B1 (en) 2022-11-02 2023-09-22 정해진 Print pickup service system

Also Published As

Publication number Publication date
WO2015156478A1 (en) 2015-10-15

Similar Documents

Publication Publication Date Title
JP5955041B2 (en) Printing system and method
US9681018B2 (en) Information processing device and non-transitory computer-readable medium storing instructions for print control
US8773680B2 (en) Information processing apparatus and information processing method
US9952817B2 (en) Printing system, mobile terminal, and control method
US8693037B2 (en) Computer readable information recording medium storing printing setting editing program, printing setting editing apparatus and printing setting editing method
US9317234B2 (en) Computer readable information recording medium storing preview display program, preview display apparatus and preview display method
US8873072B2 (en) Printing control method and printing control apparatus and computer program using program module for varying print settings
JP2008146434A (en) Printing control device, printing control method, printing control program, printer, printing method, printing program and recording medium
US9335960B2 (en) Image forming system that ensures preview display by use of portable terminal of user and information processing terminal
US20150049360A1 (en) Cloud printing system and method using near field communication
US9141895B2 (en) Information processing apparatus, data editing method, and computer program product
US20190050183A1 (en) Information processing apparatus, method, and non-transitory computer-readable storage medium storing program
JP2010165261A (en) Printing control device and control method thereof
US20170153859A1 (en) Information processing apparatus, control method thereof, and storage medium
US20140368839A1 (en) Method for automatically adjusting size of output image of printer
US8928916B2 (en) Display device, portable terminal, control method for display device, and program product
US8467086B2 (en) Method of controlling scaled-down printing for host device and the hose device using the method
US20200050411A1 (en) Printing apparatus, control method, and storage medium
JP2019040564A (en) Printer driver, and information processing device
US9720634B2 (en) Print control device
US8786878B2 (en) Print processing device, image processing device and method for setting print mode
KR101502274B1 (en) Method for transmitting a print command for pos printer and recording medium a program for the same
JP5017073B2 (en) Information processing apparatus, information processing system, information processing method, information processing program, and recording medium
US20190286398A1 (en) Information processing device, information processing method, and recording medium
US9817619B2 (en) Printing to a paper-like device

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20180105

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190225

Year of fee payment: 5