主权项 |
1. A printer capable of coupling to a control device, the printer comprising:
a conveyance path, a first side of which is configured to guide a slip on a guided side and a second side of which is open; a conveyor configured to convey the slip through the conveyance path in a conveyance direction; a recording head configured to record on the slip while moving in a direction intersecting the conveyance direction; a guide configured to extend in the conveyance direction and to be arranged on the first side of the conveyance path; a length detector disposed in the conveyance path and configured to detect the length of the slip in the conveyance direction; an interface configured to receive a code including a font code from the control device; a memory configured to store font data corresponding to the font code; a storage configured to store data, the storage including a conversion area configured to store the font data; and a controller configured to determine dimensions of the conversion area based on the detected length of the slip in the conveyance direction and a recording range of the recording head; wherein the controller reads the font data from the memory based on the font code that the interface receives from the control device, writes the font data in the conversion area per line unit in the order in which the font code is received and in a direction corresponding to toward the second side of the conveyance path and away from the first side of the conveyance path, and controls the recording head to record the font data in the conversion area on the slip. |