Patent ID: 9715354
Date: 2017-07-25
CPC Classifications: B65H,G03G,G06F

Claim:
1. A printing apparatus comprising: a tray on which an envelope is stacked, the envelope having a flap and a body portion other than the flap; a conveyance path configured to convey the envelope stacked on the tray; a receiver configured to receive a print job; an image forming unit configured to form an image on the envelope conveyed along the conveyance path in accordance with the print iob received by the receiver; a first guide member and a second guide member provided on the tray, the first guide member and the second guide member regulating the envelope in a width direction orthogonal to a conveyance direction of the envelope; a detector configured to detect a position of the first guide member; and a controller configured to receive envelope information from an operation panel before the print iob is received, the envelope information including an orientation of the envelope stacked on the tray, a type of the envelope stacked on the tray, and a flap length of the envelope stacked on the tray, wherein the controller is configured to determine a body length of the body portion in the width direction based on the orientation and the type of the envelope included in the envelope information received from the operation panel, wherein the controller is configured to determine a guide length between the first guide member and the second guide member based on detection information from the detector, wherein in a case where the orientation of the envelope included in the envelope information received from the operation panel corresponds to the first orientation, the controller controls the operation panel to display a warning message based on (a) the body length determined based on the type of the envelope included in the envelope information received from the operation panel, (b) the flap length included in the envelope information received from the operation panel, and (c) the guide length determined based on the detection information from the detector, and wherein in a case where the orientation of the envelope included in the envelope information received from the operation panel corresponds to the second orientation, the controller controls the operation panel to display the warning message based on (a) the body length determined based on the type of the envelope included in the envelope information received from the operation panel and (c) the guide length determined based on the detection information from the detector, regardless of the flap length of the envelope.