1. Field of the Invention
The present invention relates to a printing apparatus capable of printing an image on paper such as an envelope, a control method therefor, and a storage medium.
2. Description of the Related Art
An image forming apparatus (printing apparatus) includes one or more paper containing units (sheet holding unit). The image forming apparatus feeds sheets contained in the paper containing unit one by one, and forms (prints) an image on the fed sheet. The size of paper contained in each paper containing unit can be set. For example, standard-sizes such as A4 and B4, and an arbitrary size such as 210 mm×290 mm can be set.
As a special standard-size, an envelope size can also be set. Paper with a projection such as the projecting piece, that is, margin (to be referred to as a flap hereinafter) of an envelope or the index portion of index paper is set so that the flap serves as the trailing end in the sub-scanning direction. With this setting, a paper area up to the flap is handled as a standard-size, and printing is performed. Also, there is known a technique of setting an envelope so that its flap is positioned in the sub-scanning direction, recognizing a flap position by a sensor when the envelope is conveyed, and suppressing image misregistration (see Japanese Patent Laid-Open No. 9-109492).
Paper longer in the sub-scanning direction than in the main-scanning direction, like an envelope, takes a long printing time when the long edge is made parallel to the conveyance direction and printing is performed (short-edge feed). The time necessary to print can be shortened by setting an envelope so that its flap comes to the end in the main-scanning direction, making the short edge of the envelope parallel to the conveyance direction, and printing (long-edge feed). In this case, an image needs to be shifted by the flap width and printed. However, since the flap width differs between envelope manufacturers, the user needs to enter a flap width, putting a burden on him.
The present invention solves the conventional problems.
The present invention provides a technique of identifying a flap size necessary to appropriately print an image on an envelope while suppressing the burden on the user.
According to one aspect of the present invention, there is provided a printing apparatus comprising: a sheet holding unit configured to hold an envelope; a detection unit configured to detect an opening width between guides for guiding an envelope held by the sheet holding unit; an identifying unit configured to identify a flap size of the envelope based on the opening width detected by the detection unit and a size set for the envelope held by the sheet holding unit; and a printing unit configured to print an image on the envelope by shifting image data based on the flap size identified by the identifying unit.
According to another aspect of the present invention, there is provided a method for controlling a printing apparatus including a sheet holding unit configured to hold an envelope, comprising: detecting an opening width between guides for guiding an envelope held by the sheet holding unit; identifying a flap size of the envelope based on the opening width detected in the detecting an opening width, and a size set for the envelope held by the sheet holding unit; and printing an image on the envelope by shifting image data based on the flap size identified in the identifying a flap size.
According to the present invention, a flap size necessary to appropriately print an image on an envelope can be identified while suppressing the burden on the user.
Further features of the present invention will become apparent from the following description of exemplary embodiments (with reference to the attached drawings).
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the following embodiments are not intended to limit the scope of the appended claims, and that not all the combinations of features described in the embodiments are necessarily essential to the solving means of the present invention.
Referring to
In the controller 101, a CPU 201 is connected to a memory 202, a display unit 203 and keyboard 204 of the operation unit 106, a ROM 210, and a storage medium (DISK) 211 via a bus 209. Various programs and data are stored in the DISK 211 such as a hard disk or Floppy® disk, and if necessary, sequentially read out to the memory 202 and executed by the CPU 201. The DISK 211 may be one detachable from the MFP or one incorporated in the MFP. Further, programs may be downloaded from another PC, MFP, or the like via the network and stored in the DISK 211.
The memory 202 may have both the functions of volatile and nonvolatile memories. Alternatively, the memory 202 may have the function of a volatile memory, and the DISK 211 may have the function of a nonvolatile memory. The memory 202 may be a removable memory medium.
The CPU 201 writes display data in a display memory (not shown) to present a display on the display unit 203. The CPU 201 receives data from the keyboard 204 or the display unit 203 serving as a touch panel, thereby accepting input of an instruction from the user. The input information is transferred to one of the memory 202, DISK 211, and CPU 201, accumulated, and used for various processes. The network interface 105 is connected to the bus 209, and the CPU 201 performs communication via the interface by loading or writing data via the network interface 105.
Further, the printer engine 103, finisher 104, and scanner 102 are connected to the bus 209. The CPU 201 reads and writes data from and in the printer engine 103, finisher 104, and scanner 102 to execute operations such as printing and scanning, and acquire information representing various statuses. Image data can be saved in the DISK 211 or memory 202 of the controller 101 from the scanner 102 or network interface 105. Also, image data can be accumulated in advance in a removable memory and loaded by attaching the memory to the controller 101. Image data accumulated in the DISK 211 can be moved or copied to the memory 202. Various additional images (for example, a page number) can be composited with image data in the memory 202 in accordance with contents designated from the operation unit 106. Note that the printer engine 103, finisher 104, and scanner 102 may exist not in the MFP but as single peripheral devices on the network, and may be controlled by the controller 101 of the MFP.
The scanner 102 serving as an image input device irradiates an image on a sheet serving as a document with light, and scans a CCD line sensor to convert the document image into electrical image data. The scanner 102 determines the color and size of the document from the electrically converted image data. A printer unit 302 (printer engine 103) serving as an image output device converts image data into an image on a sheet, prints the image on a sheet, and discharges the sheet. The print operation starts and stops in accordance with instructions from the CPU 201 of the controller 101. Reference numerals 304 to 308 denote paper feed sources. The paper feed source 304 is a manual feed tray, and the paper feed sources 305 to 308 are paper feed cassettes (paper containing units or sheet holding units), in each of which a plurality of sheets (including envelopes) can be set. Note that the MFP can print, based on print data, an image on an envelope held in the manual feed tray 304 or the paper feed cassette.
The display unit 203 is formed from a touch panel sheet adhering to a liquid crystal display, and displays an operation screen and soft keys. When the user presses a displayed key, the display unit 203 notifies the CPU 201 of the position information.
Next, the keyboard 204 will be explained. A start key 402 is used to designate the start of a document image reading operation. An LED 403 in two, green and red colors is arranged at the center of the start key 402, and the colors represent whether the start key 402 is available. A stop key 404 is used to stop an operation in progress. A ten-key pad 405 is formed from numeric and character buttons, and used to set a copy count and designate screen switching of the display unit 203 and the like. A user mode key 406 is pressed to make settings of the MFP.
In
When the user presses the user mode key 406 (
The screen in
The screen in
The user presses an X button 614 in
The user presses an envelope button 610 in
When the user sets a standard-size or user-set size as the envelope size and then presses a “Next” button 612 in
Table 1 below exemplifies information set for each paper feed cassette according to the embodiment. After the end of paper setting processing, data for one of cassette 1 to cassette 4 in Table 1 is updated. The data can be saved in either the memory 202 or DISK 211 of the controller 101.
Next, a method of setting the size and type of paper when paper is set on the manual feed tray 304 will be explained. When the user sets paper on the manual feed tray 304 and sets a state as shown in
Information on a document 703 is read while the document 703 is moved relative to an exposure unit 713 of a document reading device 719. The document 703 is set on a document tray 702. A document feed roller 704 is paired with a separation pad 705, and conveys the documents 703 one by one. The conveyed document 703 is sent into the scanner by intermediate rollers 706, conveyed by a large roller 708 and first driven roller 709, and further conveyed by the large roller 708 and a second driven roller 710. The document 703 conveyed by the large roller 708 and second driven roller 710 passes between a sheet-fed document glass 712 and a document guide plate 717, and conveyed by the large roller 708 and a third driven roller 711 via a jump table 718. The document 703 conveyed by the large roller 708 and third driven roller 711 is discharged by a pair of document discharge rollers 707. Note that the document 703 is conveyed between the sheet-fed document glass 712 and the document guide plate 717 to contact the sheet-fed document glass 712 by the document guide plate 717.
When the document 703 passes on the sheet-fed document glass 712, the exposure unit 713 exposes a surface of the document 703 that contacts the sheet-fed document glass 712. The light reflected by the document 703 travels to a mirror unit 714. The traveling reflected light is condensed through a lens 715, and converted into an electrical signal by a CCD sensor 716. The electrical signal is transferred to the controller 101.
When the user presses the user mode key 406 of the operation unit 106, the user mode screen in
Table 2 below exemplifies data representing auto paper selection of paper feed cassettes and a manual feed tray according to the embodiment.
After the end of cassette auto ON/OFF setting processing, data for one of cassette 1 to cassette 4 and the manual feed tray in Table 2 is updated in correspondence with the setting. The data can be saved in either the memory 202 or DISK 211 of the controller 101. This data is used when automatically selecting a cassette. In the example of Table 2, it is set to use all cassettes 1 to 4 in auto paper switching and not to use only the manual feed tray in auto paper switching.
The entity of the job is represented by successively arranging a plurality of sets each of an attribute ID 1101, attribute value size 1102, and attribute value 1103. When a job contains data, it holds a value representing data as an attribute ID, the size of a file name as an attribute value size, and the file name of a file holding document data as an attribute value, as represented by 1107, 1108, and 1109. Each attribute value contains a data format (for example, PDL used), copy count, cassette source, paper size used in printing, and designation of finishing processing.
An attribute ID 1301 represents the identification number (ID) of an attribute. A type ID 1302 represents the type (size) of an ID, which is set in advance such that “1” is an undefined length and “2” is 1 byte. A value 1303 represents a possible value and has a meaning as represented by a meaning 1304. The attributes shown in
When auto cassette switching processing starts after a job is interrupted due to the absence of sheets, the CPU 201 acquires a paper size requested of processing from an attribute designated by the job in step S1401. The process advances to step S1402, and the CPU 201 searches for a cassette whose state is set to ON in Table 2. The process then advances to step S1403, and the CPU 201 compares the paper size acquired in step S1401 with the paper sizes of respective cassettes whose states are ON in step S1402, and determines whether there is a cassette matching the paper size. For example, when the paper size acquired in step S1401 is B4, it is detected that B4-size sheets are set in cassette 4 out of target cassettes 1 to 4 (see Table 1). If all cassette auto ON/OFF settings are “OFF” in Table 2 or a cassette containing B4-size sheets does not exist in Table 1, there is no matching cassette.
In step S1404, the CPU 201 determines whether there is a matching cassette. If there is a matching cassette, the process advances to step S1405, and the CPU 201 restarts the job by using the cassette source matching the size. If the CPU 201 determines in step S1404 that there is no matching cassette, the process advances to step S1406, and the CPU 201 notifies the user that there is no usable size, and keeps interrupting the job.
An envelope size setting method according to the embodiment will be explained with reference to
When paper is set on the manual feed tray 304, the operation unit 106 displays the screen in
When the user presses an OK button 1405 in the envelope lateral feed screen of
This screen includes a numeric value input area 1413 for setting a flap size. By using a numeric key group 1412, the user can enter a flap size setting value to the numeric value input area 1413. As a value in the numeric value input area 1413 in the flap size setting screen, a flap size which has been set for the selected envelope size is acquired from a memory having the data structure shown in Table 3, and displayed. Hence, a flap size which has been set previously in association with the envelope size is displayed. The user presses a cancel button 1414 to cancel settings on the screen. When the user presses the cancel button 1414, the screen in
An auto button 1416 is arranged on the flap size setting screen of
Table 3 below shows a data structure used in processing according to the embodiment. After the end of envelope setting processing, data of either the flap size or auto flag in Table 3 is updated. The data can be saved in either the memory 202 or DISK 211 of the controller 101. Assume that “reference size” in Table 3 is set in advance in association with an envelope size.
First, in step S1701 of
Next, processing by the MFP will be explained with reference to
In step S1710, the CPU 201 detects that, for example, an envelope of end-opening envelope (long format) 3 in
When it is set to automatically acquire a flap size in flap size setting, the items of “end-opening envelope (long format) 3” in Table 3 are updated as shown on the lower side of Table 4. A comparison between Table 3 and Table 4 reveals that “auto flag” representing to automatically set the flap size of “end-opening envelope (long format) 3” is updated to “Yes” in Table 4.
In step S1711, the CPU 201 receives the PDL data transferred from the PC 107 via the network interface 105. The process advances to step S1712, and the CPU 201 rasterizes the PDL data into image data based on the print setting parameters. Rasterization into image data is executed in the memory 202.
End-opening envelope (long format) 3 is defined by a size of 120 mm×235 mm. Image data of a size corresponding to this size is rasterized in the memory 202.
After that, the process advances to step S1713, and the CPU 201 acquires an offset amount based on the paper size (envelope size) designated by the PDL job. The offset amount acquisition processing will be described in detail with reference to the flowchart of
The process advances to step S1714, and the CPU 201 selects a paper feed source matching the acquired paper size. Since the designated paper size is end-opening envelope (long format) 3, the CPU 201 selects a paper feed source (manual feed tray in this case) in which an envelope of end-opening envelope (long format) 3 is set, and acquires a paper feed direction set for the paper feed source.
The process advances to step S1715, and the CPU 201 controls the printer engine 103 to perform printing control based on image data. At this time, the image is printed by shifting the image data output position by the offset amount in the sub-scanning direction. Accordingly, a printing result as shown in
First, in step S1801, the CPU 201 acquires a paper size designated by the PDL job from attributes. The process advances to step S1802, and the CPU 201 determines whether the acquired paper size coincides an envelope size managed in Table 3. If no coincident size exists in Table 3 in step S1802, the process advances to step S1803, the CPU 201 determines that no offset amount is set, and the process returns to the processing in
In step S1901, by looking up Table 3, the CPU 201 acquires a reference size corresponding to the paper size (envelope size) acquired in step S1801. For example, when the envelope size is end-opening envelope (long format) 3, “235 mm” is acquired as the reference size. The process advances to step S1902, and the CPU 201 acquires the opening width between the guides 502. More specifically, the opening width between the guides 502 is acquired from the output value of the rotation angle sensor of the rotation member 510. At this time, the opening width between the guides 502 can be acquired by looking up, for example, a table describing the relationship between the output value of the rotation angle sensor and the opening width between the guides 502. The process advances to step S1903, and the CPU 201 calculates a flap size. More specifically, the CPU 201 sets, as the flap size, a difference calculated by subtracting the reference size acquired in step S1901 from the opening width between the guides 502 that has been acquired in step S1902.
Then, the process advances to step S1904, and the CPU 201 determines whether the flap size calculated in step S1903 is a value within a normal range. When paper (envelope) is not appropriately set on the manual feed tray 304 or the guides 502 are excessively opened with respect to the paper width, the opening width acquired in step S1902 may not indicate a normal value. In consideration of this, when the flap size calculated in step S1903 is smaller than a predetermined lower limit value or larger than a predetermined upper limit value, the CPU 201 determines that the flap size is not a normal value. If the CPU 201 determines that the flap size is a normal value, it advances the process to step S1905; if NO, to step S1906. In step S1905, the CPU 201 updates the data shown in Table 3 by using the flap size calculated in step S1903. For example, when the flap size calculated in step S1903 is 30 mm, the items of end-opening envelope (long format) 3 in Table 3 are updated as shown in Table 5. In step S1906, the CPU 201 discards the flap size calculated in step S1903. Also, in step S1906, the CPU 201 sets the flap size in Table 3 to be 0 mm, in order to ensure consistency with steps S1807 to S1811 of
In step S1806, the CPU 201 acquires a flap size. The flap size acquired here is a flap size manually entered by the user via the screen of
In step S1807, the CPU 201 determines whether the flap size is equal to or smaller than the threshold. If the flap size is equal to or smaller than the threshold, the process advances to step S1809, and the CPU 201 interrupts the job and displays a screen shown in
In step S1809, the CPU 201 displays the screen shown in
If the CPU 201 determines in step S1807 that the flap size is larger than the threshold, the process advances to step S1808, and the CPU 201 sets the flap size acquired in step S1806 as the offset amount.
If the CPU 201 determines in step S1802 that no coincident size exists, the process advances to step S1803, and the CPU 201 sets the offset amount to be 0 mm, continues the processing, and returns to the processing in
As described above, by detecting the opening width between the guides 502, a flap size corresponding to a standard envelope size can be automatically acquired. Even if, for example, a job for image data of a size not containing a flap size is input as a PDL job from a PC or the like, an image can be printed at an appropriate position on an envelope in consideration of the flap.
In the above-described embodiment, a flap size is automatically calculated in printing. However, a flap size may be calculated when paper is set. More specifically, when the user presses the auto button 1416 in
Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiment(s), and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiment(s). For this purpose, the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (for example, computer-readable medium).
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2012-036762, filed Feb. 22, 2012, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2012-036762 | Feb 2012 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
20110135325 | Hitaka et al. | Jun 2011 | A1 |
20120183308 | Omori | Jul 2012 | A1 |
20130140754 | Nishiyama | Jun 2013 | A1 |
20130140767 | Inui | Jun 2013 | A1 |
20130168915 | Saito | Jul 2013 | A1 |
Number | Date | Country |
---|---|---|
9-109492 | Apr 1997 | JP |
Entry |
---|
U.S. Appl. No. 13/758,949, filed Feb. 4, 2013. Applicant: Nobuyuki Kojima. |
Number | Date | Country | |
---|---|---|---|
20130214481 A1 | Aug 2013 | US |