Program and printing system

The program adjusts the print area by reversing the roller rotation and reducing the upper margin to ensure images fit on one sheet, addressing the issue of images being cut off at the bottom or spread across pages.

JP7722150B2Active Publication Date: 2025-08-13BROTHER KOGYO KK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021191026
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-11-25
Publication Date
2025-08-13
Estimated Expiration
2041-11-25

AI Technical Summary

Technical Problem

Printers with platen rollers facing thermal line heads require large unprintable areas upstream and downstream, leading to issues like images not fitting on one sheet, with the bottom of the image not being printed or being printed on a second sheet.

Method used

A program that acquires a reverse rotation amount from the printer, rotates the roller to return the sheet to the insertion side before printing, and adjusts the print area to reduce the upper margin, allowing the image to fit on one page.

Benefits of technology

Reduces the occurrence of images not fitting on one sheet by starting printing closer to the leading edge, minimizing the chance of the lower portion being missed or printed across two pages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007722150000001
    Figure 0007722150000001
  • Figure 0007722150000002
    Figure 0007722150000002
  • Figure 0007722150000003
    Figure 0007722150000003
Patent Text Reader

Abstract

To provide a technique which suppresses the occurrence of a malfunction due to such a state that an image of a printing object does not fit to one sheet.SOLUTION: A printer 30 can set a setting value as an adjustment amount, and conveys a print sheet 60 toward an insertion port 32 side after rotating a platen roller 34 in the direction opposite to the conveyance direction on the basis of the set setting value before starting printing when receiving a printing job. A printer driver 21 acquires the setting value set in the printer 30, reduces a margin on the upstream side in the conveyance direction on the basis of the acquired setting value, calculates a printing region whose length in the conveyance direction is expanded, and returns the calculated printing region on the basis of a request from an application 19.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The technical field disclosed in this specification relates to a program for controlling a printer and a printing system. [Background technology]

[0002] Conventionally, printers that perform desired printing on sheets fed from an external source are known. For example, Patent Document 1 discloses a mobile printer that guides a sheet fed from an external source to a pressure contact portion where a platen roller and a thermal line head are brought into pressure contact, inserts the sheet into the pressure contact portion by rotation of the platen roller, and uses the thermal line head to print on the sheet that has been inserted into the pressure contact portion. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2017-56704 Summary of the Invention [Problem to be solved by the invention]

[0004] In printers like the one mentioned above, where the sheet is sent out using a platen roller facing the thermal line head, it is necessary to provide a large unprintable area on the upstream and downstream sides of the sheet in the transport direction, and the minimum top and bottom margins tend to be large. This can easily lead to problems such as the image to be printed not fitting on one sheet, with the bottom of the image not being printed or being printed on a second sheet.

[0005] This specification discloses a technique for reducing the occurrence of problems caused by an image to be printed not fitting on one sheet. [Means for solving the problem]

[0006] A program for solving the above-mentioned problems, The computer of the information processing device an acquisition process is executed to acquire a reverse rotation amount from a printer via a communication interface of the information processing device, the printer comprising a printing unit and a roller that faces and is pressed against the printing unit, and by rotating the roller in a first direction, the sheet can be inserted into the pressing portion between the printing unit and the roller and sent from the insertion side to the discharge side, the printer is further capable of setting the reverse rotation amount, and when the printer receives a print command, before starting printing, the printer rotates the roller in a second direction that is opposite to the first direction based on the set reverse rotation amount to send the sheet to the insertion side, and then rotates the roller in the first direction to start conveying the sheet to the discharge side, thereby starting printing of an image on the sheet; Furthermore, the computer a calculation process for calculating a print area in which a margin on an upstream side in a conveyance direction of the sheet in the printer is reduced and a length in the conveyance direction of the sheet in the printer is extended based on the reverse rotation amount acquired in the acquisition process; a response process for responding to an application program installed in the information processing device with the print area calculated in the calculation process based on a request from the application program; Execute The present invention is characterized by being configured as follows.

[0007] The printer disclosed in this specification returns the sheet to the insertion side before printing begins based on the set reversal amount, allowing printing to begin higher on the sheet, thereby reducing the upper margin. Therefore, the program disclosed in this specification obtains the reversal amount from the printer and responds to the application program with a print area with a reduced upper margin based on the reversal amount, i.e., a print area expanded in the sheet transport direction, making it easier for the image to be printed to fit on one page. As a result, there is less chance of problems occurring, such as the lower portion of the image to be printed being unable to be printed or the image to be printed being printed across two pages.

[0008] A printing system for realizing the functions of the above device is also novel and useful. [Effects of the Invention]

[0009] The technology disclosed in this specification realizes a technology that reduces the occurrence of problems caused by an image to be printed not fitting on one sheet. [Brief explanation of the drawings]

[0010] [Figure 1] FIG. 1 is an explanatory diagram illustrating a schematic configuration of a printing system according to an embodiment of the present invention. [Figure 2] FIG. 2 is a block diagram showing the electrical configuration of the tablet. [Figure 3] FIG. 10 is an explanatory diagram showing an example of a screen for adjusting a head position. [Figure 4] FIG. 2 is a partial cross-sectional view showing the internal structure of the printing device. [Figure 5] FIG. 2 is a block diagram illustrating the electrical configuration of the printing apparatus. [Figure 6] (A) An explanatory diagram showing the minimum margins on the top, bottom, left, and right of the printing device. (B) An explanatory diagram for explaining the relationship between the print area based on the print settings of the application and the actual print area by the printing device. (C) An explanatory diagram for explaining the print area after reverse feeding based on the setting values. [Figure 7] FIG. 2 is a flowchart showing the procedure of a printing process in the printing system. [Figure 8] FIG. 10 is a flowchart showing the procedure of a printing process in a printing system according to a second embodiment. [Figure 9] FIG. 10 is an explanatory diagram showing an example of a confirmation screen. DETAILED DESCRIPTION OF THE INVENTION

[0011] (First embodiment) An embodiment of a printing system according to the present invention will be described in detail below with reference to the drawings. Fig. 1 is an explanatory diagram showing a schematic configuration of the printing system according to the present embodiment.

[0012] In FIG. 1, the printing system 1 is composed of a tablet computer (hereinafter referred to as "tablet") 10 and a printing device 30. The tablet 10 is an example of an information processing device. Instead of the tablet 10, for example, a smartphone or a personal computer may be used. The tablet 10 and the printing device 30 can be powered by battery units 22, 51, which are composed of rechargeable batteries (described below), and are therefore portable devices that can be carried and used in various locations. The printing device 30 can be connected to the tablet 10 at the location where it is carried, and can print on printing paper 60 in response to instructions from the tablet 10. The printing device 30 is an example of a printer, and the printing paper 60 is an example of a sheet.

[0013] FIG. 2 is a block diagram showing the electrical configuration of tablet 10. Specifically, tablet 10 has a control unit 11. Control unit 11 is responsible for central control of tablet 10. Control unit 11 includes a CPU 12, a ROM 13, and a RAM 14. CPU 12 is a central processing unit that executes various control programs. ROM 13 stores various control programs executed by CPU 12 and permanent data. RAM 23 temporarily stores the results of calculations of the control programs executed by CPU 12. Note that control unit 11 in FIG. 2 is a collective term for hardware and software used to control tablet 10, and does not necessarily represent a single piece of hardware actually present in tablet 10.

[0014] The tablet 10 also includes a communication interface (hereinafter referred to as "communication IF") 15 connected to the control unit 11. In this embodiment, the communication IF 15 is configured as an interface conforming to a wireless LAN communication standard such as Wi-Fi (registered trademark). Alternatively, the communication IF 15 may be, for example, an interface conforming to a wired LAN communication standard or a USB communication standard. It may also be an interface conforming to a short-range wireless communication standard such as Bluetooth (registered trademark).

[0015] The tablet 10 also has a user interface (hereinafter referred to as "user IF") 16 connected to the control unit 11. In this embodiment, the user IF 16 is configured as a touch panel having a display function and an operation reception function. Alternatively, the user IF 16 may be configured as a combination of a display, such as a liquid crystal display or an organic EL display, that displays information, and a keyboard, mouse, etc. that receives input operations by the user.

[0016] The tablet 10 also has a storage device 17 connected to the control unit 11. For example, a hard disk drive (HDD) or a solid state drive (SSD) can be used as the storage device 17. The storage device 17 stores an operating system (hereinafter referred to as "OS") 18, an application program (hereinafter referred to as "app") 19, an adjustment amount setting application program (hereinafter referred to as "adjustment amount setting app") 20, and a printer driver 21.

[0017] The OS 18 is, for example, Windows (registered trademark), macOS (registered trademark), Linux (registered trademark), iOS (registered trademark), or Android (registered trademark).

[0018] The application 19 is a program for executing processing for a specific purpose, and specifically, for example, is a program that can accept an image to be used as image data, accept edits to the image, accept print settings, specify the printing device 30 that will execute printing, accept instructions to execute printing, etc., via the user IF 16. The application 19 may also include various application programs such as a word processing program, a spreadsheet program, a web browser program, etc.

[0019] The adjustment amount setting application 20 is a program for setting various adjustment amounts for the printing device 30, and when started by the user, can display a head position adjustment screen 201 on the user IF 16, for example, as shown in Fig. 3. The head position adjustment screen 201 displays an adjustment amount setting field 202 for selecting the adjustment amount for head position adjustment, a set button 203, an exit button 204 for ending the program without setting a new head position adjustment amount, and the like.

[0020] The adjustment amount setting field 202 is configured as a pull-down menu, and a list of multiple setting values can be displayed by tapping on the adjustment amount setting field 202 via the user IF 16. When the user taps one of the listed setting values via the user IF 16, the tapped setting value is selected as the adjustment amount. When the user then taps on the setting button 203 via the user IF 16, the setting value selected as the adjustment amount is stored in the printing device 30. Note that the setting value options displayed in the adjustment amount setting field 202 are pre-installed in the adjustment amount setting application 20 to the extent that they are compatible with the printing device 30, and values that are not compatible with the printing device 30 are not displayed. Furthermore, a positive setting value represents the transport amount in the printing direction of the printing paper 60 (the transport direction of the printing paper in the printing device 30, from the paper insertion side toward the paper ejection side), and a negative setting value represents the transport amount in the anti-printing direction of the printing paper 60 (the transport direction of the printing paper in the printing device 30, from the paper ejection side toward the paper insertion side), i.e., the reversal amount.

[0021] The printer driver 21 is a program related to printing using the printing system 1, and is a program used to control the printing device 30. For example, when the user issues a print request instruction via the user IF 16 while the application 19 is running, the printer driver 21 is started. The printer driver 21 may also be started when the application 19 is started.

[0022] Then, the started printer driver 21 generates print data, which is data that can be handled by the printing device 30, based on the image data specified in the print instruction information. The printer driver 21 also transmits a print job, which includes the generated print data, print settings, etc., to the printing device 30.

[0023] Furthermore, when the application 19 inquires about the capabilities of the printing device 30, the printer driver 21 acquires the setting value of the adjustment amount from the printing device 30 and resets the size of the printing area based on the acquired setting value. The printer driver 21 then sends the capability information of the printing device 30, including the reset printing area, to the application 19.

[0024] The tablet 10 includes a battery unit 22 configured by a rechargeable battery, and the battery unit 22 supplies power to the control unit 11 and the like.

[0025] FIG. 4 is a partial cross-sectional view showing the internal structure of a printing device. The printing device 30 includes a roughly rectangular parallelepiped housing 31, which is made of, for example, a resin material and forms the outer shell of the device. The upper portion of the housing 31 has an insertion slot 32 through which printing paper 60 is inserted during printing, and a guide member 33 that forms a transport path extending diagonally downward from the insertion slot 32. A discharge slot 36 is also formed on one side of the housing 31. Furthermore, a platen roller 34 and a thermal line head 35 are disposed facing each other inside the printing device. Accordingly, printing paper 60 inserted through the insertion slot 32 is guided along the transport path formed by the guide member 33 provided below the insertion slot 32, and then guided to a portion P where the platen roller 34 and the thermal line head 35 face each other. The printing paper 60 is then transported toward the discharge slot 36 and discharged from the discharge slot 36. The thermal line head 35 is an example of a printing unit, and the platen roller 34 is an example of a roller.

[0026] The platen roller 34 is rotatably mounted inside the housing 31, and is driven to rotate by a drive motor 50 (described below) to transport the printing paper 60. The platen roller 34 is also configured so that its rotation direction can be switched. That is, when the platen roller 34 rotates clockwise in FIG. 4, i.e., in a first direction, the printing paper 60 is transported toward the discharge opening 36. When the platen roller 34 rotates counterclockwise in FIG. 4, i.e., in a second direction, the printing paper 60 is fed backward toward the insertion opening 32.

[0027] The thermal line head 35 is mounted on a heat sink 38 that has a shaft member 37 at its rear end. The heat sink 38 is urged to rotate toward the thermal line head 35 by a plurality of coil springs 39. This allows the thermal line head 35 to be pressed against the platen roller 34, and during printing, it comes into contact with the platen roller 34 with a predetermined pressure, and the desired printing is performed on the printing paper 60 that has been inserted between them.

[0028] 5 is a block diagram showing the electrical configuration of the printing device 30. That is, the printing device 30 includes a control unit 40, a storage device 41, and a communication interface (hereinafter referred to as a "communication IF") .

[0029] The control unit 40 is responsible for central control of the printing device 30. The control unit 40 includes a CPU 43, a ROM 44, and a RAM 45. The CPU 43 is a central processing unit that executes various control programs. The ROM 44 stores the various control programs executed by the CPU 43 and permanent data. The RAM 45 temporarily stores the results of calculations of the control programs performed by the CPU 43. Note that the control unit 40 in FIG. 5 is a general term that collectively refers to the hardware and software used to control the printing device 30, and does not necessarily represent a single piece of hardware that actually exists in the printing device 30.

[0030] For example, a hard disk drive (HDD) or a solid state drive (SSD) can be used as the storage device 41. The storage device 41 has an adjustment amount storage area 47. The adjustment amount storage area 47 stores the setting value set by the user on the head position adjustment screen 201 displayed on the user IF 16 of the tablet 10.

[0031] The communication IF 42 is configured by an interface conforming to a wireless LAN communication standard such as Wi-Fi (registered trademark). Alternatively, the communication IF 42 may be, for example, an interface conforming to a wired LAN communication standard or a USB communication standard. Furthermore, the communication IF 42 may be an interface conforming to a short-range wireless communication standard such as Bluetooth (registered trademark).

[0032] The printing device 30 also includes a thermal line head control circuit 48 and a motor drive circuit 49 connected to the control unit 40. The thermal line head control circuit 48 controls the drive of the thermal line head 35. The motor drive circuit 49 controls the drive of a drive motor 50 that drives the platen roller 34 to rotate.

[0033] The printing device 30 also includes a battery unit 51 configured with a rechargeable battery. The battery unit 51 supplies power to the thermal line head control circuit 48 and the motor drive circuit 49. The battery unit 51 also supplies power to the control unit 40 via a power supply circuit 52.

[0034] Incidentally, the printing device 30 has minimum top and bottom and left and right margins set, for example, as shown in Fig. 6(A), due to limitations of the printing mechanism constituted by the thermal line head 35 and the transport mechanism constituted by the platen roller 34. Specifically, for example, in this printing device 30, the minimum top margin is set to "35 mm" and the minimum bottom margin is set to "30 mm." Here, "top" and "bottom" correspond to the upstream and downstream sides in the printing direction.

[0035] 6(B) shows the print area when the user sets, for example, "A4" as the paper size of print paper 60, portrait as the document orientation, "30 mm" as the top margin 601, and "30 mm" as the bottom margin 602 in the print settings of application 19. Therefore, with these print settings, the length 603 of the print area in the print direction is "237 mm."

[0036] However, when actually printing on print paper 60 using printing device 30, the minimum top margin 604 of printing device 30 is "35 mm," so the length 605 of the print area in the actual printing direction is limited to "232 mm." Therefore, characters 606 arranged at the bottom of the print area in FIG. 6B created using application 19 may be printed with some parts missing or printed on the second page. In other words, because the user sets the top margin 601 in the print settings of application 19 to a small value of "30 mm," which exceeds the minimum top margin 604 of printing device 30, "35 mm," an image arranged 5 mm below the print area in FIG. 6B created using application 19, such as character 606, cannot be printed on the printing device 30 or will be printed on the second page unless some adjustment is made.

[0037] Next, the procedure of the printing process by the printing system 1 will be described with reference to the chart shown in Fig. 7. In the chart shown in Fig. 7, the printing process on the tablet 10 side is processed by the adjustment amount setting application 20, the printer driver 21, and the application 19, but the printing process on the tablet 10 side is mainly processed by the printer driver 21.

[0038] First, the user starts the adjustment amount setting application 20 on the tablet 10 (step 10) (hereinafter referred to as T10) before printing an image on the printing paper 60 using the printing device 30. When the adjustment amount setting application 20 is started, it displays the head position adjustment screen 201 on the user IF 16 as shown in FIG. 3 (T11).

[0039] When the user taps one of the multiple setting values displayed in the adjustment amount setting field 202 on the head position adjustment screen 201 via the user IF 16, the tapped setting value is selected as the adjustment amount in the transport amount setting application 20. Thereafter, when the user taps on the setting button 203 via the user IF 16 (T12), the adjustment amount setting application 20 transmits the selected setting value to the printing device 30 as the adjustment amount. For example, as shown in FIG. 3, when "-10 mm" is selected in the adjustment amount setting field 202, the setting value "-10 mm" selected as the adjustment amount is transmitted to the printing device 30 (T13). This processing is an example of a setting process, and the setting value is an example of a reversal amount.

[0040] In the printing device 30, the setting value transmitted from the tablet 10 is stored in the adjustment amount storage area 47 of the storage device 41 (T14). Specifically, in this embodiment, for example, the setting value "-10 mm" selected by the user as the adjustment amount is stored in the adjustment amount storage area 47.

[0041] In this embodiment, the user launches the application 19 on the tablet 10, and then launches the adjustment amount setting application 20 to set the adjustment amount. However, it is also acceptable to launch the adjustment amount setting application 20 independently of the state of application 19 to set the adjustment amount, and it is also acceptable to reverse the order in which application 19 and adjustment amount setting application 20 are launched.

[0042] Furthermore, although not shown, prior to printing an image on printing paper 60 using printing device 30, the user launches application 19 on tablet 10 and then sets, in the print settings of application 19, for example, the paper size of printing paper 60 to "A4," the document orientation to portrait, the top margin 601 to "30 mm," and the bottom margin 602 to "30 mm." The user also inputs characters 606 as an image, such as "ABC," via user IF 16 into the print area set in the print settings.

[0043] Furthermore, although not shown, before using the printing device 30 to print an image on printing paper 60, a user inserts the printing paper 60 vertically through the insertion slot 32 formed on the top surface of the housing 31 and sets the printing paper 60 vertically in the printing device 30. The control unit 40 of the printing device 30 then controls the drive motor 50 via the motor drive circuit 49. This causes the platen roller 34 to rotate clockwise in FIG. 4. As the platen roller 34 rotates, the leading edge of the printing paper 60 passes over the opposing portion P of the platen roller 34 and the thermal line head 35, and is conveyed toward the discharge port 36 that opens in the side of the housing 31.

[0044] When the leading edge of the printing paper 60 passes the opposing portion P and the printing paper 60 is transported by the minimum top margin amount 604, that is, 35 mm in this embodiment, the control unit 40 of the printing device 30 stops the drive motor 50 via the motor drive circuit 49, thereby stopping the rotation of the platen roller 34. In other words, in the printing device 30, the transport of the printing paper 60 stops with the portion of the printing paper 60 35 mm from the leading edge being sandwiched between the opposing portion P of the platen roller 34 and the thermal line head 35.

[0045] In this case, the transport amount of the printing paper 60 may be detected by a paper sensor (not shown) arranged on the guide member 33 or the like, or may be detected by the amount of rotation of the platen roller 34, i.e., the amount of rotation of the drive motor 50, or may be detected by a combination of the paper sensor and the amount of rotation of the platen roller 34.

[0046] After these preparations have been made, the user issues a print request instruction in application 19 to proceed with the print process, for example, by selecting the "Print" item displayed in the menu of application 19 or by operating an icon corresponding to the print request displayed in application 19 (T20), and application 19 then starts up printer driver 21. Thereafter, application 19 queries printer driver 21 about the capabilities of printing device 30 selected in application 19 (T21).

[0047] Next, the printer driver 21, which has received an inquiry about the capabilities of the printing device 30 from the application 19, inquires of the printing device 30 about the capabilities of the printing device 30, including the adjustment amount (T22). In response, the printing device 30 reads out the setting value stored in the adjustment amount storage area 47 of the storage device 41 as the adjustment amount (T23), and then transmits information indicating the capabilities of the printing device 30, including the read adjustment amount, to the printer driver 21. In other words, the printer driver 21 acquires from the printing device 30 the adjustment amount, which is the setting value set by the adjustment amount setting application 20, as part of the information indicating the capabilities of the printing device 30 (T24). Specifically, in this embodiment, the printer driver 21 acquires, for example, the setting value "-10 mm" from the printing device 30 as the adjustment amount.

[0048] Next, printer driver 21 resets the print area based on the adjustment amount acquired from printing device 30 (T25). For example, if printer driver 21 acquires a setting value of "-10 mm" as the adjustment amount from printing device 30, printer driver 21 resets modified top margin 608 to "25 mm" obtained by subtracting "10 mm" as setting value 607 from "35 mm" as minimum top margin 604. This process is an example of calculation processing.

[0049] Furthermore, if the user sets, for example, a setting value of "+10 mm" as the adjustment amount in the adjustment amount setting field 202 on the top position adjustment screen 201, the printer driver 21 obtains the setting value of "+10 mm" as the adjustment amount from the printing device 30, and then resets the modified top margin amount to "45 mm", which is the minimum top margin amount 604 of "35 mm" plus the setting value of "10 mm".

[0050] In this manner, in this embodiment, printer driver 21 acquires the setting values from printing device 30 at the timing when the user performs a print request instruction operation (T20) to proceed with the print process, making it possible to acquire the latest setting values stored in adjustment amount storage area 47 of printing device 30 and to reset the print area based on the setting values. Therefore, the latest setting values set by the user can be reflected in the resetting of the print area, improving convenience.

[0051] Next, the printer driver 21 returns the capability information of the printing device 30, including the print area reset in T25, to the application 19 (T26). Note that this processing is an example of response processing.

[0052] Next, the application 19 that has received the capability information of the printing device 30 changes the print settings based on the print area included in the received capability information (T27). Specifically, in this embodiment, for example, the top margin 601 initially set by the user in the print settings of the application 19 is changed from "30 mm" to "25 mm" as the changed top margin 608 included in the received capability information.

[0053] Next, the application 19 displays a preview screen on the user IF 16 of the tablet 10 based on the changed print settings and image data (T28). Then, when the user taps a predetermined position on the user IF 16 to instruct the application 19 to execute printing (T29), the application 19 sends print instruction information including the changed print settings and image data to the printer driver 21. In other words, the printer driver 21 receives the print instruction information including the changed print settings and image data (T30).

[0054] Next, printer driver 21 generates print data compatible with printing device 30 based on the image data specified in the print instruction information (T31). This process is an example of a generation process. Then, printer driver 21 transmits a print job including the generated print data, print settings, etc. to printing device 30 (T32). This process is an example of a transmission process, and the print job is an example of a print command.

[0055] Next, before starting printing, the control unit 40 of the printing device 30 that has received the print job rotates the platen roller 34 to transport the print paper 60 toward the insertion slot 32 or toward the ejection slot 36 based on the setting value stored in the adjustment amount storage area 47 of the storage device 41 (T33). Specifically, in this embodiment, because the setting value "-10 mm" is set as the adjustment amount in the adjustment amount storage area 47, for example, the control unit 40 rotates the platen roller 34 counterclockwise in FIG. 4, i.e., in the second direction, to transport the print paper 60 toward the insertion slot 32. Then, when the print paper 60 has been transported toward the insertion slot 32 by a length of "10 mm," the control unit 40 stops the rotation of the platen roller 34.

[0056] Then, in the printing device 30, the conveyance of the printing paper 60 stops with the portion of the printing paper 60 25 mm from the leading edge being sandwiched between the opposing portion P of the platen roller 34 and the thermal line head 35.

[0057] If, for example, a setting value of "+10 mm" is set as the adjustment amount in the adjustment amount storage area 47, the control unit 40 rotates the platen roller 34 clockwise in Fig. 4 to transport the printing paper 60 toward the discharge opening 36. Then, when the printing paper 60 has been transported toward the discharge opening 36 by a length of "10 mm," the control unit 40 stops the rotation of the platen roller 34.

[0058] In this case, in the printing device 30, transport of the printing paper 60 stops when a portion 45 mm from the leading edge of the printing paper 60 is pinched between the opposing portion P of the platen roller 34 and the thermal line head 35. Note that the transport amount of the printing paper 60 in this case may be detected by a paper sensor (not shown) arranged on the guide member 33 or the like, or may be detected from the amount of rotation of the platen roller 34, i.e., the amount of rotation of the drive motor 50, or may be detected by a combination of the paper sensor and the amount of rotation of the platen roller 34.

[0059] Next, the printing device 30 rotates the platen roller 34 clockwise in FIG. 4 to transport the print paper 60 toward the discharge port 36, while sequentially printing on the print paper 60 using the thermal line head 35 (T34). In this case, in this embodiment, printing begins 25 mm from the leading edge of the print paper 60, so the actual length 609 of the print area is 242 mm, as shown in FIG. 6(C). Therefore, the printing device 30 can print all images created using the app 19, including images positioned within a 5 mm range below the print area in FIG. 6(B).

[0060] In this way, the printing device 30 of this embodiment transports the print paper 60 toward the insertion slot 32 before printing begins based on the set value, allowing printing to begin closer to the leading edge of the print paper 60 and reducing the margin at the leading edge. Therefore, the transport amount setting application 20 of this embodiment accepts input of the set value, stores the input set value in the printing device 30, and the printer driver 21 reads out the set value from the printing device 30 and responds to the application 19 with a print area in which the top margin is reduced according to the read out set value, making it easier for the image to be printed to fit on one page. As a result, it is possible to reduce the possibility of problems such as not being able to print the lower part of the image to be printed or printing one page's worth of image across two pages.

[0061] In this embodiment, the printer driver 21 is configured to acquire setting values from the printing device 30 when the user issues a print request instruction (T20) to proceed with the printing process. However, this is not limiting. For example, the application 19 may also start the printer driver 21 when the user starts the application 19, and the printer driver 21 may acquire setting values from the printing device 30. In this case, the application 19 can set print settings based on the print area included in the capability information received from the printing device 30 at startup. This allows the user to input an image into the print area based on the print settings, including adjustment values, improving convenience. In other words, the image can be properly input into the print area reconfigured based on the setting values acquired from the printing device 30, i.e., within a range that fits on one page when actually printed. As a result, the possibility of problems occurring when inputting an image into the application 19, such as the lower portion of the image to be printed not being printed or one page of the image to be printed being printed across two pages, can be reduced.

[0062] Note that even if the configuration is such that the setting values are acquired from the printing device 30 when the user launches the application 19, it is also possible to configure the configuration so that the setting values are acquired again from the printing device 30 when the user issues a print request instruction operation (T20) to proceed with the print process. In this case, the latest setting values set by the user can be reflected in the print area settings in a timely manner prior to the print process, improving convenience.

[0063] In addition, the timing for obtaining the setting values from the printing device 30 may be when the margin setting screen is opened in the app 19, when an update request is received from the user, or when the printing device 30 is connected to the tablet 10.

[0064] (Second embodiment) 8 shows a flowchart illustrating the procedure for printing processing in a printing system according to the second embodiment. Details will be explained below with reference to the drawings. Note that in this explanation, the same reference numerals will be used to designate components that achieve the same effects as those in the first embodiment.

[0065] In the second embodiment, when the printer driver 21 receives print instruction information including the changed print settings and image data (T30), it checks the size of the print area (T40). Specifically, the printer driver 21 checks the size of the print area based on the print settings included in the received print instruction information, the length 603 of the print area in the printing direction, and the actual length 609 of the print area.

[0066] Next, if the length 603 of the print area in the printing direction is the same as or smaller than the actual length 609 of the print area, the printer driver 21 determines that the size is acceptable (T41: YES), and, as in the first embodiment, sends a print job including the generated print data, print settings, etc. to the printing device 30 (T32).

[0067] Furthermore, if the length 603 of the print area in the printing direction is greater than the actual length 609 of the print area, the printer driver 21 determines that there is a problem with the size (T41: NO).The printer driver 21 then displays the confirmation screen 211 shown in Figure 9 on the user IF 16 of the tablet 10 (T42).The confirmation screen 211 displays a guidance message 212, a continue button 213, and a cancel button 214.

[0068] Here, when the user taps on the continue button 213, the printer driver 21 determines that printing should be continued (T43: YES), and, as in the first embodiment, sends a print job including the generated print data, print settings, etc. to the printing device 30 (T32).

[0069] On the other hand, if the user taps on the cancel button 214, the printer driver 21 determines that the printing is not to be continued, that is, that the printing is to be canceled (T43: NO), and the printer driver 21 executes a printing cancellation process (T44).

[0070] In this way, in this embodiment, a confirmation screen 211 is displayed on the user IF 16 of the tablet 10 to allow the user to select whether or not to cancel printing. Depending on the user, there may be cases where they want to print even if it causes a problem, and in such cases, printing can be continued, which increases convenience.

[0071] Furthermore, if the user further changes, for example, the changed top margin amount 608 after the setting values are obtained from the printing device 30 when the user starts up the application 19, or after the application 19 changes the print settings at T27, there is a risk of problems occurring, such as the lower part of the image to be printed not being able to be printed, or one page of the image to be printed being printed across two pages. However, even in this case, in this embodiment, the confirmation screen 211 is displayed to alert the user, thereby reducing the possibility of printing being performed against the user's will.

[0072] It should be noted that this embodiment is merely an example and does not limit the present invention in any way. Therefore, the present invention can naturally be improved and modified in various ways without departing from the spirit and scope of the present invention. For example, the tablet 10 and the printing device 30 constituting the printing system 1 of this embodiment are not limited to one unit, and may be multiple units.

[0073] In addition, in this embodiment, the setting value is configured to be set by the adjustment amount setting application 20, but it is also possible to set it by the printer driver 21. In addition, the adjustment amount setting application 20 and the printer driver 21 are configured as separate application programs, but it is also possible to configure the adjustment amount setting application 20 and the printer driver 21 as a single application program.

[0074] Furthermore, in this embodiment, the case where the user sets the top margin amount 601 to a value smaller than the minimum top margin amount 604 has been described, but it goes without saying that the present invention can also be applied to the case where the user sets the bottom margin amount 602 to a value smaller than the minimum bottom margin amount.

[0075] Furthermore, in this embodiment, the present invention is applied to a portable printing device 30 equipped with a thermal line head 35, but it goes without saying that the present invention can be applied to various printing devices such as label printers, inkjet printers, and laser printers.

[0076] Furthermore, in this embodiment, cut paper is used as the printing paper 60, but continuous paper, so-called roll paper, may also be used.

[0077] Furthermore, in any processing procedure disclosed in the embodiments, the execution order of multiple processes in any multiple steps can be arbitrarily changed or can be executed in parallel, as long as no contradiction occurs in the processing content.

[0078] The processing procedures disclosed in the embodiments may be executed by hardware such as a single CPU, multiple CPUs, or ASIC, or a combination thereof. The processing procedures disclosed in the embodiments may be realized in various ways, such as a recording medium on which a program for executing the processing is recorded, or a method. [Explanation of symbols]

[0079] 1 Printing System 10 tablets 17 Storage device 20 Conveyance amount setting app 21 Printer Driver 30 Printing device 34 Platen roller 35 Thermal Line Head 41 Storage device 47 Transfer amount storage area 60 printing paper 601 Top margin amount 604 Minimum top margin 607 Setting value 608 Change top margin

Claims

1. The computer of the information processing device an acquisition process is executed to acquire a reverse rotation amount from a printer via a communication interface of the information processing device, the printer comprising a printing unit and a roller that faces and is pressed against the printing unit, and by rotating the roller in a first direction, the sheet can be inserted into the pressing portion between the printing unit and the roller and sent from the insertion side to the discharge side, the printer is further capable of setting the reverse rotation amount, and when the printer receives a print command, before starting printing, the printer rotates the roller in a second direction that is opposite to the first direction based on the set reverse rotation amount to send the sheet to the insertion side, and then rotates the roller in the first direction to start transporting the sheet to the discharge side, thereby starting printing of an image on the sheet; Furthermore, the computer a calculation process for calculating a print area in which a margin on an upstream side in a conveyance direction of the sheet in the printer is reduced and a length in the conveyance direction of the sheet in the printer is extended based on the reverse rotation amount acquired in the acquisition process; a response process for responding to an application program installed in the information processing device with the print area calculated in the calculation process based on a request from the application program; Execute A program that is structured as follows.

2. 2. The program according to claim 1, The computer, When image data is received from the application program, a generation process for generating the print command for causing the printer to print an image represented by the image data based on the received image data; a transmission process of transmitting the print command generated in the generation process to the printer via the communication interface; Execute A program that is structured as follows.

3. 3. The program according to claim 2, The computer, When the image data is received from the application program, If the size of the print area indicated in the received image data fits within the print area calculated in the calculation process, the transmission process is executed, and if the size does not fit within the print area calculated in the calculation process, a process for canceling the print job based on the received image data is executed before the transmission process is executed. A program that is structured as follows.

4. 4. The program according to claim 3, The computer, As the process for canceling the print job, a selection of whether or not to cancel the print job is accepted via a user interface of the information processing device, and if the selection of cancellation is accepted, the print job is cancelled, and if the selection of cancellation is not accepted, the transmission process is executed. A program that is structured as follows.

5. A program according to any one of claims 1 to 4, The computer, In response to receiving the request from the application program installed in the information processing device, the information processing device executes the acquisition process and the calculation process before executing the response process. A program that is structured as follows.

6. A program according to any one of claims 1 to 5, The computer, receiving an input of the reversal amount via a user interface of the information processing device, transmitting the inputted reversal amount to the printer via the communication interface, and executing a setting process to set the inputted reversal amount in the printer; A program that is structured as follows.

7. A printing system comprising a printer, a setting tool, and a printer driver that controls the printer, The printer a printing unit and a roller that faces the printing unit and is in pressure contact with the printing unit, and by rotating the roller in a first direction, the sheet can be inserted through the pressure contact portion between the printing unit and the roller, and the sheet can be sent from the insertion side to the discharge side; The setting tool a first information processing apparatus that receives an input of a reversal amount and transmits the input reversal amount to the printer via a communication interface of the first information processing apparatus; The printer When the reverse rotation amount sent from the setting tool is received, the received reverse rotation amount is set; The printer driver a second information processing apparatus installed therein, the second information processing apparatus acquiring the amount of reverse rotation from the printer via a communication interface of the second information processing apparatus; Based on the acquired reverse rotation amount, a margin on the upstream side of the sheet transport direction in the printer is reduced, and a print area is calculated by extending the length of the sheet transport direction in the printer; responding to a request from an application program installed in the second information processing apparatus with the calculated printing area; Furthermore, the printer driver When image data is received from the application program, a print command is generated based on the received image data to cause the printer to print an image shown in the image data, and the generated print command is transmitted to the printer via the communication interface of the second information processing device; The printer when the print command is received, before starting printing, the rollers are rotated in a second direction opposite to the first direction based on the set reverse rotation amount to feed the sheet to the insertion side, and then the rollers are rotated in the first direction to start conveying the sheet to the discharge side, thereby starting printing on the sheet. A printing system configured to:

Citation Information

Patent Citations

  • Printer and its controlling method

    JP2003039781A

  • Printer driver

    JP2003216389A

  • Printer

    JP2005205709A

  • Printer

    JP2017056704A

  • printer

    JP2018052074A