Programs and Printers
The program adjusts print settings to use roll paper when margins exceed a threshold, effectively reducing paper waste by shortening margins and optimizing paper usage.
Patent Information
- Application Number
- JP2021059350
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-03-31
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2041-03-31
AI Technical Summary
Existing print technologies waste paper due to large margins when printing on standard paper, as they do not account for image margins, leading to inefficient resource use.
A program that adjusts print settings to use roll paper when the trailing edge margin exceeds a threshold, shortening the margin and changing the paper feed method to reduce paper waste.
Reduces paper waste by printing on roll paper when margins are excessive, minimizing the amount of roll paper required for an image.
Smart Images

Figure 0007600826000001 
Figure 0007600826000002 
Figure 0007600826000003
Abstract
Description
[Technical field]
[0001] The technical field disclosed in this specification relates to a program and a printer that accepts print settings. [Background technology]
[0002] There is known a technology that accepts settings of paper size and paper feed method by a printer driver built into an information processing device such as a personal computer. Options that can be set for paper size may include general standard paper sizes as well as user-defined sizes defined by the user. Also, options that can be selected for paper feed method may include a paper feed tray that can feed standard paper as well as a tray that can feed roll paper, as disclosed in Patent Document 1, for example. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2004-102961 A Summary of the Invention [Problem to be solved by the invention]
[0004] When executing a print job in which standard paper is selected as the paper size, if an image with large margins is printed for the size of the standard paper, a large amount of paper is wasted due to the margins. Patent Document 1 discloses a technology that warns of a mismatch between the paper feed state in the printer and the print settings in the printer driver, but does not disclose a technology for the size of the margins. Therefore, there is room for improvement in terms of effective use of resources.
[0005] This specification discloses a technique for reducing waste due to margins when printing an image in a program for controlling a printer capable of printing on standard paper and roll paper. [Means for solving the problem]
[0006] A program devised for solving the above-mentioned problems is a program executable by a computer of an information processing device, and causes the computer to execute a reception process for receiving print settings to be used for printing on a printer via a user interface of the information processing device, the print settings include a paper size and a paper feed method, and options selectable for the paper feed method include a specific tray capable of transporting roll paper, the printer has a plurality of trays including the specific tray, and further causes the computer to execute a reception process for receiving a print instruction when a size indicating a standard size paper is set as the paper size in the print settings, and a print instruction indicating an image to be printed is received in the print instruction. The printer executes a margin identification process that identifies the length in the transport direction of a trailing margin, which is the margin on the trailing end side of the paper in the transport direction, based on print data; a first determination process that determines whether a first determination value based on the length in the transport direction of the trailing margin identified in the margin identification process is greater than a first threshold value; a change process that changes the paper feeding method in the print settings to the specified tray when it is determined in the first determination process that the first determination value is greater than the first threshold value; and a shortening process that shortens the length in the transport direction of the trailing margin by removing at least a portion of the trailing margin in the print data when the paper feeding method is changed by the change process.
[0007] According to the above-described configuration, when a first judgment value based on the length of the trailing margin in the transport direction is greater than a first threshold value, the paper feeding method is changed to a specific tray, so that an image corresponding to the print instruction is printed on the roll paper. Furthermore, by shortening the length of the trailing margin in the transport direction, the printer requires less roll paper to be fed to print an image corresponding to the print instruction when printing on that roll paper, compared to when the trailing margin is not shortened, thereby reducing paper waste.
[0008] A printer for implementing the functions of the above device is also novel and useful. Effect of the Invention
[0009] The technology disclosed in this specification realizes a technology that reduces waste due to margins when printing an image in a program for controlling a printer capable of printing on standard paper and roll paper. [Brief description of the drawings]
[0010] [Figure 1] 1A is a schematic electrical configuration diagram of a personal computer according to an embodiment of the present invention, and FIG. [Diagram 2] FIG. 11 is an explanatory diagram showing an example of a print setting screen for setting print settings. [Diagram 3] FIG. 13 is an explanatory diagram showing an example of a special function setting screen. [Figure 4] FIG. 1 is a schematic external view of a printer. [Diagram 5] FIG. 2 is a block diagram showing the electrical configuration of the printer. [Figure 6] 6 is a flowchart showing a procedure of a printing process in a personal computer. [Figure 7] (A) An explanatory diagram for explaining the relationship between the state of the margins in the print area and the printing status on the paper. (B) An explanatory diagram for explaining the relationship between the state of the margins in the print area and the printing status on the paper. (C) An explanatory diagram for explaining the relationship between the state of the margins in the print area and the printing status on the paper. [Figure 8] 1A and 1B are explanatory diagrams showing an example of a preview screen; [Figure 9] 6 is a flowchart showing a procedure of a printing process of a personal computer. [Figure 10] 4 is a flowchart showing the procedure of a printing process of a printer. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] (First embodiment) Hereinafter, an embodiment of a program will be described in detail with reference to the accompanying drawings. This embodiment discloses a program executed on a personal computer (hereinafter, referred to as "PC") that can be connected to a printer, which is a device having a printing function.
[0012] The PC 2 in this embodiment is a device capable of executing various application programs (hereinafter, referred to as "apps") to cause the printer 3 to perform various functions. The PC 2 is an example of an information processing device. Instead of the PC 2, for example, a smartphone or a tablet computer may be used.
[0013] As shown in Fig. 1(A), the PC 2 includes a control unit 20 including a CPU 21 and a memory 24. Furthermore, the PC 2 includes a communication interface (hereinafter referred to as "communication IF") 26 and a user interface (hereinafter referred to as "user IF") 28, which are electrically connected to the control unit 20. Note that the control unit 20 in Fig. 1(A) is a general term for hardware and software used to control the PC 2, and does not necessarily represent a single piece of hardware actually present in the PC 2.
[0014] The CPU 21 executes various processes according to the programs read from the memory 24 and based on the user's operation. The CPU 21 is an example of a computer. The memory 24 is, for example, a HDD or a flash memory, and is used as an area for storing various programs, data such as image data and document data, and various settings. A buffer provided in the CPU 21 is also an example of a memory.
[0015] An example of the memory may be a computer-readable storage medium. The computer-readable storage medium is a non-transitory medium. In addition to the above examples, the non-transitory medium also includes recording media such as CD-ROMs and DVD-ROMs.
[0016] The communication IF 26 includes hardware for communicating with an external device such as the printer 3. The communication method of the communication IF 26 may be wireless or wired, and may be any standard method such as Wi-Fi (registered trademark), Bluetooth (registered trademark), USB, LAN, etc.
[0017] The user IF 28 includes hardware for displaying information on a screen and hardware for accepting input operations by the user. For example, as shown in Fig. 1(B), the user IF 28 may be a combination of a display 28A for displaying information on a screen and a keyboard 28B and a mouse 28C for accepting input operations by the user, or may be a touch panel having a display function and an input acceptance function.
[0018] 1A, an operating system (hereinafter, referred to as "OS") 41, a print application 42, and a printer driver 43 are installed in the memory 24 of the PC 2 in this embodiment. The OS 41 is, for example, Windows (registered trademark), macOS (registered trademark), iOS (registered trademark), Android (registered trademark), or Linux (registered trademark).
[0019] The print application 42 is a program that accepts various instructions related to printing. For example, the print application 42 accepts instructions to specify the printer 3 to be used for printing, the number of copies to be printed, the print range, and an instruction to execute printing. In addition, the print application 42 may accept instructions to specify the type and size of paper to be printed on, double-sided printing, etc.
[0020] The printer driver 43 is a program corresponding to the printer 3, and communicates with the printer 3 via the communication IF 26 to control the operation of the printer 3. The printer driver 43 is started, for example, when an instruction to set properties of the printer 3 is received while the printer 3 is specified in the print application 42 or the like.
[0021] When the printer driver 43 is started, the CPU 21 displays, for example, a print setting screen 51 shown as an example in FIG. 2 on the display 28A. On the basic tab 51A of the print setting screen 51, for example, a paper type selection field 511, a print quality selection field 512, a paper size selection field 513, a borderless printing selection field 514, a number of copies selection field 515, a paper feed method selection field 516, a selection field 517 for other special functions, an OK button 518, a cancel button 519, and a print preview selection field 520 are displayed. The CPU 21 accepts the user's operation on each selection field and each button displayed on the print setting screen 51 through the operation of the keyboard 28B or the mouse 28C. Thus, the user can set print settings to be used for printing on the printer 3.
[0022] Specifically, in the paper type selection field 511, the user can select one of plain paper, glossy paper, inkjet paper, roll paper, and the like.
[0023] In addition, in the paper size selection field 513, the user can select one of the precut standard size paper names, for example, A4, B4, A5, B5, A6, Letter, Legal, A3, etc. In the paper size selection field 513, the user can select roll paper. In the paper size selection field 513, the user can select a user-defined size in which the user arbitrarily specifies the paper width and paper height.
[0024] In addition, in the paper feed method selection field 516, the user can select the paper feed tray of the printer 3, i.e., one of the multipurpose tray 3A, the first tray 3B, and the second tray 3C shown in FIG. 4, which will be described later, or select "automatic selection," which will allow the printer 3 to select the paper feed tray.
[0025] Furthermore, in borderless printing selection field 514, the user can select whether or not to execute so-called borderless printing, which leaves no margins around the edges of the paper.
[0026] In addition, in the other special function selection field 517, the user can select whether or not to display a special function setting screen 52, an example of which is shown in FIG. 3, on the display 28A.
[0027] When the user selects to display the special function setting screen 52 in the other special function selection field 517, the CPU 21 displays the special function setting screen 52 having a special function selection field 521, for example, as shown in FIG. 3, on the display 28A. The special function setting screen 52 shown in FIG. 3 shows a state in which the user selects the "Delete margins using roll paper" field 527 in the special function selection field 521. In this state, the CPU 21 displays, for example, a margin deletion selection field 522, a margin confirmation selection field 523, a margin threshold selection field 524, an OK button 525, and a cancel button 526 on the special function setting screen 52. The CPU 21 accepts the user's operation on each selection field and each button displayed on the special function setting screen 52 through the operation of the keyboard 28B or the mouse 28C. Thus, the user can set the special function settings, which are part of the print settings used for printing on the printer 3.
[0028] Specifically, in margin deletion selection field 522, the user can select whether or not to delete margins using roll paper. In addition, in margin confirmation selection field 523, the user can select either "check margins for each page" or "check margins only on the last page." In addition, in margin threshold selection field 524, the user can select a margin threshold used to determine whether or not to delete margins.
[0029] Furthermore, when printer driver 43 receives print instruction information from OS 41, it generates print data based on image data specified in the print instruction information. Furthermore, printer driver 43 transmits a print job including the generated print data and print settings set on print setting screen 51 or the like to printer 3.
[0030] Printer 3 is a device that has at least an inkjet printing function and a communication function for communicating with PC 2, and is capable of printing based on a print job sent from PC 2. There are certain limitations on the range of paper sizes that can be printed by the printing function of printer 3. In the following, the size of the paper in the direction in which the paper is transported by printer 3 is referred to as the "paper height," and the size in the direction perpendicular to the paper height is referred to as the "paper width." The range of paper sizes includes the range of paper heights and the range of paper widths, and printer 3 is capable of printing on paper that is within both the paper height and paper width ranges.
[0031] 4 is a schematic external view of the printer. That is, the printer 3 of this embodiment is provided with a paper feed tray consisting of three types of trays. Specifically, the three types of paper feed trays are a multipurpose tray 3A, a first tray 3B, and a second tray 3C. The printer 3 also has a paper discharge tray 3D, and paper fed from each tray of the paper feed tray is discharged onto the paper discharge tray 3D by a conveying mechanism through a printing mechanism 61 (shown in FIG. 5) that is responsible for the printing function of the printer 3.
[0032] Specifically, in the printer 3, the first transport mechanism 62 (shown in FIG. 5) from the multipurpose tray 3A to the paper discharge tray 3D is configured with a so-called straight path arranged in a substantially straight line. Therefore, the multipurpose tray 3A can supply paper of various paper sizes, such as A4, B4, A5, B5, A6, Letter, Legal, A3, long paper (297 mm x 600 mm), and long paper (297 mm x 1200 mm).
[0033] Meanwhile, in the printer 3, the second transport mechanism 63 (shown in FIG. 5) from the first tray 3B to the discharge tray 3D is configured with a so-called U-shaped path in which the transport direction is largely reversed by approximately 180 degrees midway. Therefore, the first tray 3B cannot feed print media of paper sizes such as long paper (297 mm x 600 mm) and long paper (297 mm x 1200 mm).
[0034] The second tray 3C is a tray for roll paper that can supply rolled, long (e.g., 5 m long) roll paper. The third transport mechanism 64 (shown in FIG. 5) that runs from the second tray 3C to the paper output tray 3D includes a cutting mechanism 65 (shown in FIG. 5) for cutting the rolled, long paper at a predetermined dimension (paper height) in the transport direction. The third transport mechanism 64 also includes a curl correction mechanism (not shown) for correcting the curl of the roll paper. The second tray 3C can store standard-sized paper, that is, long roll paper with a paper width the same as that of the standard-sized paper. For example, the roll paper with the same paper width as that of A4 size paper has a paper width of 210 mm.
[0035] The printer 3 of this embodiment also includes a paper size sensor 38 (shown in FIG. 5) on each of the multipurpose tray 3A, the first tray 3B, and the second tray 3C. Therefore, the printer 3 can detect whether or not paper is set in each tray, and further detect the paper size of the paper set in that tray, by the paper size sensor 38. The printer 3 stores the detected paper size for each of the paper feed trays. The user can also store the paper size of the paper set in each of the paper feed trays by operating the operation panel of the printer 3. Note that the printer 3 stores only the paper width of the roll paper stored in the second tray 3C.
[0036] Therefore, when the printer 3 of this embodiment receives a print job from the PC 2, it selects one of the paper feed trays based on the print settings included in the print job. In other words, it selects one of the paper feed trays specified by the paper feed method included in the print settings. Then, it feeds paper from the selected paper feed tray, making it possible to print. Also, when the print settings included in the print job received from the PC 2 include automatic selection as the paper feed method, it is possible to select one of the paper feed trays based on the paper size stored for each paper feed tray, and feed paper of the paper size set in the print settings from the selected tray.
[0037] FIG. 5 is a block diagram showing the electrical configuration of the printer. Next, the electrical configuration of the printer 3 will be described with reference to FIG.
[0038] That is, the printer 3 is equipped with a controller 30 including a CPU 31, a ROM 32, a RAM 33, and an NVRAM (non-volatile RAM) 34. The printer 3 also has a user interface (hereinafter referred to as “user IF”) 35, a communication interface (hereinafter referred to as “communication IF”) 36, a USB interface (hereinafter referred to as “USB IF”) 37, and a paper size sensor 38, which are electrically connected to the controller 30.
[0039] The ROM 32 stores various control programs, various settings, initial values, etc. for controlling the printer 3. The RAM 33 is used as a working area from which the various control programs are read, or as a storage area for temporarily storing data. The CPU 31 controls each component of the printer 3 according to the control programs read from the ROM 32 while storing the processing results in the RAM 33 or the NVRAM 34. The RAM 33 or the NVRAM 34 constitutes a storage unit.
[0040] The CPU 31 is an example of a control unit. The controller 30 may be an example of a control unit. Note that the controller 30 in FIG. 5 is a general term for hardware used to control the printer 3, such as the CPU 31, and does not necessarily represent a single piece of hardware actually present in the printer 3.
[0041] The user IF 35 is hardware that displays notifications to the user and accepts user input instructions. Specifically, as shown in Fig. 4, the user IF 35 is composed of a display 35A for displaying information on a screen and a number of keys 35B for accepting input operations by the user.
[0042] The communication IF 36 is hardware for communicating with the PC 2 connected via a network. The USBIF 37 is hardware for communicating with a device connected based on the USB standard, and is responsible for the communication function of the printer 3.
[0043] The printing mechanism 61, the first transport mechanism 62, the second transport mechanism 63, the third transport mechanism 64 and the cutting mechanism 65 are electrically connected to the controller 30. Therefore, the controller 30 is capable of controlling their operations.
[0044] Next, the processing by the printer driver 43 of this embodiment will be described. Note that the following processing and each processing step of the flowchart basically indicate the processing of the CPU 21 according to the instructions written in each program. That is, the processing by the CPU 21 also includes hardware control using the API of the OS 41 of the PC 2. In this specification, the description of the OS 41 will be omitted and the operation of each program will be described. That is, in the following description, a statement to the effect that "program B controls hardware C" may also mean that "program B controls hardware C using the API of the OS 41". Also, the processing of the CPU 21 according to the instructions written in the program may be described in abbreviated terms. For example, it may be described as "performed by the CPU 21" or "performed by the program".
[0045] The procedure of the printing process by the printer driver 43 of this embodiment will be described below with reference to the flowchart of FIG.
[0046] First, in step 10 (hereinafter referred to as S10), the CPU 21 judges whether or not print instruction information has been received from the OS 41. If it is judged that print instruction information has not been received (S10: NO), the process proceeds to next S11, where the CPU 21 executes other processes, and then returns to S10.
[0047] On the other hand, when the user inputs an instruction to execute printing on the printing application 42, in S10, the CPU 21 determines that the printing instruction information has been accepted (S10: YES), and proceeds to the next step S12, where the CPU 21 determines whether the margin deletion mode has been selected.
[0048] Here, if the user currently selects margin deletion in margin deletion selection field 522 of special function setting screen 52 shown in FIG. 3, CPU 21 determines that margin deletion mode has been selected (S12: YES), and proceeds to next S13.
[0049] Furthermore, if the user does not select margin deletion in the margin deletion selection field 522 of the special function setting screen 52, in S12, the CPU 21 determines that the margin deletion mode has not been selected (S12: NO), and proceeds to the next S25, where the CPU 21 executes normal printing processing.
[0050] Next, in S13, the CPU 21 determines whether "Check margins for each page" or "Check margins only on the last page" is selected in the margin confirmation selection field 523 on the special function setting screen 52. Note that "Check margins for each page" is an example of a first option for the shortened mode setting, and "Check margins only on the last page" is an example of a second option for the shortened mode setting.
[0051] Here, if the user selects "Check margins for each page" on the special function setting screen 52, in S13, the CPU 21 determines that "Check margins for each page" has been selected (S13: each page), and proceeds to the next S14.
[0052] Next, in S14, the CPU 21 draws an image for one page in a print area secured in a storage area of the memory 24, based on the image data and print settings specified in the print instruction information.
[0053] 7A and 7B, the paper width W1 and paper height H1 of the print area 71 are based on the paper size selected by the user in the paper size selection field 513 of the print setting screen 51. For example, if the user selects A4 as the paper size, the paper width W1 of the print area 71 will be 210 mm and the paper height H1 will be 297 mm. Then, one page of image 72 is drawn in the print area 71 based on the image data specified in the print instruction information.
[0054] The paper size is not limited to A4, and may be any size of standard paper such as B4, A5, B5, A6, A3, etc. In any case, it is preferable to store roll paper having the same paper width as the standard paper selected in the paper size selection field 513 of the print setting screen 51 in the second tray 3C, but it is not necessary to store roll paper having the same paper width as the standard paper in the second tray 3C, and it is acceptable for the two paper widths to be different. The second tray 3C is an example of a specific tray.
[0055] Next, in S15, the CPU 21 verifies the length of the bottom margin in the print area 71. Specifically, in the state shown in FIG. 7A, a margin D1 having a length H2 in the transport direction that does not exceed 40% of the paper height H1 is generated between the bottom end of the lower image 72 and the bottom end of the print area 71. Also, in the state shown in FIG. 7B, a margin D2 having a length H3 in the transport direction that is 40% or more of the paper height H1 is generated between the bottom end of the image 72 and the bottom end of the print area 71. The margins D1 and D2 are examples of a trailing end margin. Also, the margin lengths H2 and H3 in the transport direction are examples of a first determination value.
[0056] Next, in S16, CPU 21 judges whether margin lengths H2 and H3 in the transport direction are equal to or greater than a threshold value, in comparison with the paper size, i.e., the paper height H1 of print area 73. In this embodiment, the margin threshold value is set as a ratio to the paper height H1 of print area 73. This process is an example of a first judgment process. Also, the margin threshold value set in margin threshold selection field 524 is an example of a first threshold value.
[0057] In this embodiment, the margin threshold is set as a ratio of the print area 73 to the paper height H1, but this is not limited to this. For example, it may be set as the physical length of the margin when printed (which may be in centimeters, millimeters, or inches). However, setting it as a ratio to the paper height H1 provides better applicability even when the paper size changes. It is also possible to use a fixed value as the margin threshold.
[0058] Here, for example, if the user selects 40% as the margin threshold in margin threshold selection field 524 on special function setting screen 52, in the state shown in Fig. 7B, in S16, CPU 21 determines that length H3 of margin D2 relative to paper height H1 of print area 71 is the threshold, i.e., 40% or more (S16: YES), and proceeds to next S17. Note that the margin threshold is not limited to 40% and may be selected as appropriate.
[0059] Next, in S17, the CPU 21 creates print data excluding image data corresponding to the margin D2 based on the image data specified in the print instruction information. This process is an example of a shortening process. In this embodiment, the print data is created excluding all image data corresponding to the margin D2, but this is not limited to the above, and it is sufficient that the length H3 of the margin D2 is shortened. For example, the print data may be created without excluding image data corresponding to the margin D2 on the lower part of the image 72.
[0060] Next, in S18, the CPU 21 redefines the paper size having the paper width W1 and paper height H4 of the print data created in S17 as a user-defined size. Note that the paper width W1 of the user-defined size does not change, but the paper height H4 is a value obtained by subtracting the length H3 of the margin D2 from the paper height H1 of the print area 71.
[0061] Next, in S19, CPU 21 resets the paper feed tray to the second tray 3C, which is a tray for roll paper, in the paper feed method in the print settings. That is, even if the user selects either automatic selection, multipurpose tray 3A, or first tray 3B in the paper feed method selection field 517, the paper feed method in the print settings is reset to second tray 3C. This process is an example of a change process. In this process, the paper type may also be changed to roll paper.
[0062] Next, in S20, the CPU 21 creates a new print job. Specifically, in the print settings of the new print job, the paper size is changed to the user-defined size redefined in S18, the paper feed method is changed to the second tray 3C redefined in S19, and the print data is composed of the print data created in S17.
[0063] Next, in S21, the CPU 21 displays the preview screen 53 shown in Fig. 8A on the display 28A based on the new print job, and proceeds to the next step S22. Specifically, the preview screen 53 displays an image 72 arranged on a print area 71 that corresponds to the user-defined size redefined in S18, i.e., the paper width W1 and the paper height H4. This process is an example of a first preview process.
[0064] Next, in S22, the CPU 21 determines whether the user has operated the OK button 531 or the cancel button 532 displayed on the preview screen 53. If the user has operated the OK button 531, the CPU 21 determines that the OK button 531 has been operated to execute printing (S22: YES), and then, in S23, the CPU 21 transmits the new print job created in S20 to the printer 3, and ends this process.
[0065] In this manner, in this embodiment, after generating a print job in which at least a portion of the bottom margin has been deleted, a preview is displayed before the print job is output to the printer, with image 72 positioned on print area 71 corresponding to the user-defined size redefined in S18, i.e., paper width W1 and paper height H4, thereby preventing printing that is not intended by the user.
[0066] On the other hand, if the user operates the cancel button 532 in S22, the CPU 21 determines that the cancel button 532 has been operated and printing will not be performed, i.e., the printing is canceled (S22: NO), and in the next S24, the CPU 21 executes the printing cancellation process and then terminates this process.
[0067] On the other hand, if the user selects, for example, 40% as the margin threshold in margin threshold selection field 524 of special function setting screen 52, in the state shown in FIG. 7(A), since the length H2 of margin D1 is not greater than or equal to the threshold, in S16, CPU 21 determines that the length H2 of margin D1 is not greater than or equal to the threshold (S16: NO) and proceeds to the next step S25.
[0068] Next, in S25, the CPU 21 creates one page of print data based on the image data specified in the print instruction information, and then in the next S26, the CPU 21 transmits the print job to the printer 3, and then ends this process. That is, this process ends after performing normal print processing. In this case, since the margins have not been changed, the print preview is omitted.
[0069] On the other hand, in S13, if the user selects "Check margins on last page only" on the special function setting screen 52, the CPU 21 determines in S13 that "Check margins on last page only" has been selected (S13: last page only), and proceeds to the next S31 shown in FIG. 9.
[0070] Next, in S31, the CPU 21 draws images for all pages in the total print area 74 secured in the storage area of the memory 24 based on the image data and print settings specified in the print instruction information.
[0071] Specifically, as shown in Fig. 7C, the paper width W1 and paper height H1 of the print area 71 corresponding to one sheet of standard paper are based on the paper size selected by the user in the paper size selection field 513 of the print setting screen 51. For example, if the user selects A4 as the paper size, the paper width W1 of the print area 71 for one sheet of standard paper is 210 mm, and the paper height H1 is 297 mm. Furthermore, if the user prints on two sheets of standard paper, the paper height H5 of the total print area 74 including two sheets of standard paper is 594 mm. Here, two pages of image 72 are drawn in the total print area 74 based on the image data specified in the print instruction information.
[0072] Next, in S32, the CPU 21 verifies the length of the bottom margin in the lower print area 71. This process is an example of a margin identification process. Specifically, in the state shown in FIG. 7C, a margin D3 with a length H6 that is 40% or more of the paper height H1 of the paper size selected by the user is generated between the bottom end of the image 72 in the lower print area 71 and the bottom end of the lower print area 71. The margin D3 is an example of a trailing end margin. The length H6 of the margin D3 in the transport direction is an example of a first determination value.
[0073] Next, in S33, the CPU 21 determines whether or not the length H6 of the margin D3 in the transport direction is equal to or greater than a threshold value when compared with the paper size, that is, the paper height H1 of the print area 71. This process is an example of a first determination process.
[0074] Here, for example, if the user selects 40% as the margin threshold in the margin threshold selection field 524 of the special function setting screen 52, in the state shown in FIG. 7(C), in S33, the CPU 21 determines that the length H6 of the margin D3 in the conveying direction is greater than or equal to the threshold (S33: YES), and proceeds to the next step S34.
[0075] Next, in S34, the CPU 21 creates print data for the last page based on the image data specified in the print instruction information, excluding image data corresponding to the margin D3. This process is an example of a shortening process. In this embodiment, the print data is created excluding image data corresponding to the margin D3, but the present invention is not limited to this, and it is sufficient that the length H6 of the margin D3 is shortened. For example, the print data may be created without excluding image data corresponding to the margin D3 on the lower part of the image 72.
[0076] Next, in S35, the CPU 21 creates print data in which all pages are linked together to form one page based on the image data specified in the print instruction information. That is, in this embodiment shown in Fig. 7C, print data is created in which two pages are linked together to form one page.
[0077] Next, in S36, the CPU 21 redefines the paper size having the paper width W1 and paper height H7 of the print data created in S35 as a user-defined size. In this case, the paper width W1 of the user-defined size does not change, but the paper height H7 is a value obtained by subtracting the length H6 of the margin D3 from the paper height H5 of the entire print area 74.
[0078] Next, in S37, CPU 21 resets the paper feed tray to the second tray 3C, which is a tray for roll paper, in the paper feed method in the print settings. That is, even if the user selects either automatic selection, multipurpose tray 3A, or first tray 3B in the paper feed method selection field 517, the second tray 3C is reset as the paper feed method in the print settings. This process is an example of a change process. In this process, the paper type may also be changed to roll paper.
[0079] Next, in S38, CPU 21 creates a new print job. Specifically, the new print job is configured such that, in the print settings, the paper size is the user-defined size redefined in S36, the paper feed method is the second tray 3C redefined in S37, and the print data is the print data created in S34.
[0080] Next, in S39, CPU 21 displays preview screen 53 shown in Fig. 8(B) on display 28A based on the new print job created in S38, and proceeds to S19 shown in Fig. 6. Specifically, preview screen 53 displays image 72 arranged over entire print area 74 corresponding to the user-defined size redefined in S36, i.e., paper width W1 and paper height H7. This process is an example of a second preview process.
[0081] In this manner, in this embodiment, by previewing an image in which all pages, including the shortened final page, are concatenated to form one page before the print job is output to the printer, it is possible to prevent printing that the user does not intend.
[0082] On the other hand, in S33, if the CPU 21 determines that the paper height H1 of the printing area 71 is not equal to or greater than the threshold value (S33: NO), the process proceeds to S25 shown in FIG. 6, where print data for multiple pages, i.e., two pages in this embodiment, is created, and normal printing processing is performed.
[0083] Next, the procedure of the print process by the printer 3 of this embodiment will be described with reference to the flowchart of Fig. 10. The print process by the printer 3 is executed by the CPU 31.
[0084] That is, in S41, the CPU 31 judges whether or not data has been received from PC 2. If data has been received from PC 2, the CPU 31 judges that data has been received (S41: YES) and proceeds to S42. On the other hand, if data has not been received from PC 2, the CPU 31 judges that data has not been received (S41: NO) and repeats the process of S41.
[0085] Next, in S42, the CPU 31 judges whether the received data is a print job. If the received data is a print job, the CPU 31 judges that the received data is a print job (S42: YES) and then proceeds to S44. If the received data is not a print job, the CPU 31 judges that the received data is not a print job (S42: NO) and then proceeds to S43 to execute other processes, and then returns to S41.
[0086] Next, in S44, CPU 31 analyzes the print settings included in the received print job. Next, in S45, CPU 31 determines whether or not second tray 3C is selected as the supply method in the analyzed print settings.
[0087] Here, in the case of the print job sent in S23 of FIG. 6, the second tray 3C is set in the supply method, so in S45, the CPU 31 determines that the second tray 3C has been selected in the supply method (S45: YES), and then proceeds to S46.
[0088] Next, in S46, the CPU 31 executes printing based on the print settings and print data included in the print job. In this case, the third transport mechanism 64 supplies long sheets of paper from the roll paper in the second tray 3C, and the printing mechanism 61 sequentially prints images on the long sheets of paper supplied by the third transport mechanism 64.
[0089] Next, in S47, the CPU 31 determines whether or not the printing has finished. If the printing has not finished yet, the CPU 31 determines that the printing has not finished (S47: NO) and continues to execute the process of S46.
[0090] On the other hand, if printing has finished, the CPU 31 determines that printing has finished (S47: YES), and in the next step S48, the CPU 31 drives the cutting mechanism 65 to cut the long paper, and then ends the printing process. The cut paper is transported by the third transport mechanism 64 and discharged onto the paper discharge tray 3D.
[0091] Therefore, in this embodiment, when printing is performed based on the new print job created in S20 shown in Fig. 6, image 72 is printed on paper 73 with paper width W1 and paper height H4, as shown in Fig. 7(B). Also, when printing is performed based on the new print job created in S38 shown in Fig. 9, image 72 is printed on paper 73 with paper width W1 and paper height H7, as shown in Fig. 7(C).
[0092] Thus, in this embodiment, an image corresponding to the print instruction is printed on the roll paper, and by shortening the length of the trailing margin in the transport direction, the printer requires less roll paper to be transported to print the image corresponding to the print instruction when printing on the roll paper, compared to when the trailing margin is not shortened, thereby reducing paper waste.
[0093] On the other hand, if the second tray 3C is not selected as the supply method in the analyzed print settings in S45, the CPU 31 determines that the second tray 3C is not selected as the supply method (S45: NO), and then in S49, the CPU 31 executes printing based on the print settings and print data included in the print job. In this case, precut standard size paper is supplied to the printing mechanism 61 by the first transport mechanism 62 or the second transport mechanism 63 from the multipurpose tray 3A or the first tray 3B, and printing is executed.
[0094] Next, in S50, the CPU 31 determines whether or not printing has finished. If printing has not finished yet, the CPU 31 determines that printing has not finished (S50: NO) and continues to execute the process of S49.
[0095] On the other hand, if printing is completed, the CPU 31 determines that printing is completed (S50: YES) and ends the printing process. The paper on which the image is printed is transported by the first transport mechanism 62 or the second transport mechanism 63 and discharged onto the paper discharge tray 3D.
[0096] Therefore, in this embodiment, after S25 in FIG. 6, when printing is performed based on the print job sent in S26, an image is printed on paper 73 having paper width W1 and paper height H1, i.e., pre-cut standard size paper 73, as shown in FIG. 7(A).
[0097] In this embodiment, a case where "Check margins for each page" is selected in the margin confirmation selection field 523 of the special function setting screen 52 and printing is performed on one sheet of paper has been described, but the present invention is not limited to this. For example, even when printing on multiple sheets of paper, it is possible to detect the length of the margin on the rear end side in the transport direction for each page in the transport direction, and perform or not perform the margin shortening process for each page depending on the detected length in the transport direction.
[0098] In this case, the margins are shortened for each page, so more paper waste can be prevented.
[0099] Second embodiment The procedure of the printing process by the printer according to the second embodiment will be briefly described below. In the first embodiment, the margin specification process for specifying the trailing margin is performed on the PC 2 side, but in the second embodiment, it is performed on the printer 3 side, and in this respect, the first and second embodiments are significantly different. In the description, the same reference numerals are used to denote parts that have the same effects as those in the first embodiment.
[0100] That is, in this embodiment, in the printing process procedure shown in FIG. 10, the CPU 31 may be configured to execute processes S12 to S20 shown in FIG. 6, process S25, and processes S31 to S38 shown in FIG. 9 between S42 and S44.
[0101] Then, in S46, the CPU 31 executes printing based on the print job created in S20 shown in Fig. 6 and S38 shown in Fig. 9. Also, in S49, the CPU 31 executes printing based on the print job created in S25 shown in Fig. 6.
[0102] Thus, in this embodiment, an image corresponding to the print instruction is printed on the roll paper, and by shortening the length of the trailing margin in the transport direction, the printer requires less roll paper to be transported to print the image corresponding to the print instruction when printing on the roll paper, compared to when the trailing margin is not shortened, thereby reducing paper waste.
[0103] 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 be modified and improved in various ways without departing from the spirit of the present invention. For example, the printer 3 is not limited to a device with a single printing function, but may be a device having a document reading function or a fax sending / receiving function. This embodiment can also be applied to a PC 2 connected to a multifunction machine, a copier, a fax machine, etc. instead of the printer 3. Also, two or more printers may be connected to the PC 2.
[0104] In addition, the screen configurations shown in each drawing are merely examples and are not limited to the illustrated examples. For example, the screen of the basic tab 51A of the print setting screen 51 accepts all of the selections of paper size, double-sided printing, and paper feed tray, but some of the selections may be accepted on a different screen, or each may be a different screen.
[0105] 6 and S37 in Fig. 9, the paper feed tray is reset to the second tray 3C, which is a tray for roll paper, in the paper feed method in the print settings, but this is not limited to this. For example, if roll paper is not set in the second tray 3C, a message may be displayed on the display 18A requesting the user to set roll paper in the second tray 3C, or a message may be displayed asking the user whether or not to change the paper feed method.
[0106] In this case, if the user does not load roll paper in the second tray 3C or does not wish to change the paper feed method, the paper feed method may be configured not to be reset to the second tray 3C.
[0107] In addition, in this embodiment, the processing of the printer driver 43 has been described, but the program of the present invention is not limited to a printer driver. It can also be applied to a PC having a so-called driverless configuration, in which an OS equipped with a general-purpose printing program instead of a printer driver is installed. For example, the present invention can also be applied to a program related to printing that is installed in a PC separately from a general-purpose printing program, or a program that cooperates with a general-purpose printing program to accept print settings.
[0108] In addition, in any of the flowcharts disclosed in each embodiment, the execution order of multiple processes in any of the steps can be changed as desired or the processes can be executed in parallel, as long as no contradiction occurs in the process content.
[0109] The processes disclosed in the embodiments may be executed by a single CPU, multiple CPUs, hardware such as ASIC, or a combination of these. The processes disclosed in the embodiments may be realized in various forms, such as a recording medium having a program for executing the processes recorded thereon, or a method. [Explanation of symbols]
[0110] 2 PC 3. Printer 41 OS 43 Printer Driver 51 Print setting screen 511 Paper type selection field 517 Paper feed method selection field 52 Special function setting screen 522 Margin deletion selection field 523 Margin Check Selection Column 524 Threshold selection field
Claims
1. A program executable by a computer of an information processing device, The computer includes: a receiving process is executed to receive print settings to be used for printing on a printer via a user interface of the information processing device, the print settings include a paper size and a paper feed method, options selectable for the paper feed method include a specific tray capable of transporting roll paper, and the printer has a plurality of trays including the specific tray; The computer further comprises: When a print instruction is received in a state where a size indicating a standard size paper is set as the paper size in the print settings, a margin specification process for specifying a length in a transport direction of a trailing edge margin, which is a margin on a trailing edge side of a paper transport direction in the printer, based on print data indicating an image to be printed in the print command; a first determination process for determining whether a first determination value based on a length of the trailing end margin in the transport direction specified in the margin determination process is greater than a first threshold value; a change process of changing the paper feed method of the print settings to the specific tray when the first determination process determines that the first determination value is greater than the first threshold value; a shortening process for shortening a length of the trailing end margin in the transport direction by removing at least a portion of the trailing end margin from the print data when the paper feed method is changed by the change process; Execute the A program characterized by:
2. The program according to claim 1, The print settings received in the reception process include a paper type, In the change process, when it is determined in the first determination process that the first determination value is greater than the first threshold value, the paper feed method in the print settings is changed to the specific tray, and further the paper type is set to roll paper. A program characterized by:
3. In the program according to claim 1 or 2, The computer includes: receiving a print instruction in a state where a size indicating a standard paper size is set as the paper size in the print settings, and when there are a plurality of pages of images input based on the received print instruction, executing the margin specification process, the first determination process, the change process, and the shortening process for each page; A program characterized by:
4. The program according to claim 3, The computer includes: When the length of the trailing end margin in the transport direction is shortened in the shortening process, before outputting a print job for printing the shortened image to the printer, a first preview process is executed in which the shortened image is displayed on the user interface for each page and a selection of whether or not to print is received via the user interface, and when the selection of printing is received in the first preview process, the print job is output to the printer, and when the selection of not printing is received in the first preview process, the print job is not output to the printer and the print job is canceled. A program characterized by:
5. In the program according to claim 1 or 2, The computer includes: receiving a print instruction in a state where a size indicating a standard paper size is set as the paper size in the print settings, and when there are multiple pages of images input based on the received print instruction, executing the margin specification process, the first determination process, the change process, and the shortening process for a final page of the multiple pages; A program characterized by:
6. The program according to claim 5, The computer includes: when the length of the trailing end margin in the transport direction is shortened in the shortening process, before outputting a print job for printing the shortened image to the printer, an image in which the images of the multiple pages are linked in the transport direction is displayed on the user interface, and a second preview process is executed in which a selection of whether or not to print is received via the user interface, and when the selection of printing is received in the second preview process, the print job is output to the printer, and when the selection of not printing is received in the second preview process, the print job is not output to the printer and the print job is canceled. A program characterized by:
7. In the program according to claim 1 or 2, The print settings received in the reception process include a shortening mode setting including a first option for shortening the trailing margin for each page and a second option for shortening the trailing margin of a last page, The computer includes: When a print instruction is received in a state in which a size indicating a standard size paper is set as the paper size in the print settings, and an image input based on the received print instruction includes a plurality of pages, If the shortening mode setting is the first option, the margin specifying process, the first determination process, the change process, and the shortening process are executed for each page; if the shortening mode setting is the second option, the margin specifying process, the first determination process, the change process, and the shortening process are executed for a last page of the plurality of pages; A program characterized by:
8. The program according to any one of claims 1 to 7, The print settings received in the reception process include a shortening enable / disable setting indicating whether or not to shorten the trailing edge margin by using roll paper, The computer includes: When a print instruction is received in a state where a size indicating a standard size paper is set as the paper size in the print settings, If the shortening setting is set to shorten the trailing edge margin by using roll paper, the margin specifying process, the first determination process, the change process, and the shortening process are executed; If the shortening setting is set to not shorten the trailing edge margin by using roll paper, the margin specification process, the first determination process, the change process, and the shortening process are not executed. A program characterized by:
9. The program according to any one of claims 1 to 8, The print settings received in the reception process include a setting of the first threshold value, In the first determination process, determining whether the first determination value based on the length of the trailing end margin in the transport direction specified in the margin specification process is greater than the first threshold value included in the print settings; A program characterized by:
10. A printing unit; a plurality of trays including a specific tray capable of transporting roll paper; A controller; In a printer comprising: The controller: A receiving process is executed to receive a print job, and the print settings of the print job include a paper size and a paper feeding method; The controller further comprises: When the paper size of the print settings of the print job received in the receiving process is set to a size indicating a standard size paper, a margin specification process for specifying a length in a transport direction of a trailing end margin, which is a margin on a trailing end side of a paper in a transport direction, based on print data included in the print job; a first determination process for determining whether a first determination value based on a length of the trailing end margin in the transport direction specified in the margin determination process is greater than a first threshold value; a change process of changing the paper feed method of the print settings to the specific tray when the first determination process determines that the first determination value is greater than the first threshold value; a shortening process for shortening a length of the trailing end margin in the transport direction by removing at least a portion of the trailing end margin from the print data when the paper feed method is changed by the change process; Execute A printer characterized by:
Citation Information
Patent Citations
Facsimile equipment
JP1992238455A
Print system, printer host and printer driver
JP2004102961A
Print control apparatus, method and program
JP2010238231A
Image output device, control method, program, and recording medium
JP2011245804A
