LINE THERMAL PRINTER/ PRESENTER UNIT MODEL PPU-231
PPU-231 User’s Manual Declaration of Conformity This printer conforms to the following Standards: Low Voltage Directive 73/23/EEC, 93/68/EEC and the EMC Directive 89/336/EEC, 92/31/EEC, 93/68/EEC. LVD : EN60950 EMC : EN55022 Class A EN61000-3-2 EN61000-3-3 EN55024 This declaration is applied only for 230V model. WARNING : This is a Class A products. In a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures.
PPU-231 User’s Manual IMPORTANT SAFETY INSTRUCTIONS • • • • • • • • • • • • • Read all of these instructions and save them for future reference. Follow all warnings and instructions marked on the product. Unplug this product from the wall outlet before cleaning. Do not use liquid or aerosol cleaners. Use a damp cloth for cleaning. Do not use this product near water. Do not place this product on an unstable cart, stand or table. The product may fall, causing serious damage to the product.
PPU-231 User’s Manual WICHTIGE SICHERHEITSANWEISUNGEN • • • • • • • • • • • Lesen Sie die nachfolgenden Anweisungen sorgfältig durch und bewahren Sie sie auf. Befolgen Sie alle auf der Einheit vermerkten Hinweise und Anweisungen. Vor dem Reinigen grundsätzlich Stecker aus der Steckdose ziehen. Keine Flüssigkeiten oder Aerosolreiniger benutzen. Nut mit einem feuchten Tuch abwischen. Die Einheit darf nicht in der Nähe von Wasser aufgestellt werden.
PPU-231 User’s Manual 1. Prior to using the equipment, be sure to read this User's Manual thoroughly. Please keep it handy for reference whenever it may be needed. 2. The information contained herein may be changed without prior notice. 3. Reproduction of part or all of this User's Manual without permission is strictly prohibited. 4. Never service, disassemble, or repair parts that are not mentioned in this User's Manual. 5.
PPU-231 User’s Manual SAFETY PRECAUTIONS ----- BE SURE TO OBSERVE In order to prevent hazards to an operator or other persons and damage to property, be sure to observe the following precautions. • The following describes the degrees of hazard and damages that can occur if the given instructions are neglected or the equipment is incorrectly operated. WARNING Negligence of this precaution may result in death or serious injury.
PPU-231 User’s Manual WARNING z Never handle the equipment in the following manners, as it may break, become out of order, or overheat causing smoke and resulting in fire or electric shock. If the equipment is used in an abnormal condition, such as when broken, then problems, smoke emission, abnormal odor/noise, and fire can result. If an abnormal condition exists, be sure to disconnect the power plug from a plug socket, and contact our dealer. Never repair the equipment on your own - it is very dangerous.
PPU-231 User’s Manual PRECAUTIONS FOR INSTALLATION • Do not use or store the equipment in a place exposed to fire, moisture, or direct sunshine, or in a place near a heater or thermal device where the prescribed operating temperature and humidity are not met, or in a place exposed to much oil, iron powder, or dust. The equipment may become out of order, emit smoke, or catch fire.
PPU-231 User’s Manual PRECAUTIONS FOR HANDLING Do not handle the equipment in the following manners, because problems may result. • Do not use any other power source besides the accessory AC adapter. Also, do not use the AC adapter for other purposes. • Do not print without paper. • Do not drop or put any foreign object, such as a clip, pin, or the like, inside the unit. • Do not spill any liquid or spray any chemical-containing liquid over the equipment.
PPU-231 User’s Manual DAILY MAINTENANCE • At the time of maintenance, be sure to turn off the power switch of the unit and unplug it from the socket. • Use a dry soft cloth to wipe off stains and dust from the surfaces of the main body case. For severe soiling, dip the cloth in water and wring it, for wiping off the soil. Never use organic solvents, such as alcohol, thinner, trichlene, benzene, ketone, or chemical dusters. • If the equipment is contaminated with paper powder, use a soft brush to clean it.
PPU-231 User’s Manual CONTENTS 1. OUTLINE ...............................................................................................................................................................1 1.1 Features ...................................................................................................................................................................... 1 1.2 Unpacking .............................................................................................................
PPU-231 User’s Manual 5. DIP SWITCH SETTING.....................................................................................................................................24 5.1 Location of DIP Switch ............................................................................................................................................ 24 5.2 DIP Switch Function ......................................................................................................................................
PPU-231 User’s Manual APPENDIX 1. BLOCK DIAGRAM ......................................................................................................................84 APPENDIX 2. OUTLINE DRAWING FOR PPU.................................................................................................85 APPENDIX 3. OUTLINE DRAWING FOR PHU................................................................................................
PPU-231 User’s Manual 1. OUTLINE Packed with features, this small line thermal printer/presenter has a wide range of uses: a terminal device for various data communication, an instrumentation terminal, an outdoor information terminal or a device that prints various tickets and coupons. Please read this manual thoroughly before you use the printer/presenter to ensure it is implemented correctly. 1.1 Features 1. Small, lightweight, and installable in a narrow area 2.
PPU-231 User’s Manual 2. 2.1 BASIC SPECIFICATIONS Model Classifications Classification is made according to the following naming system. 2.1.
PPU-231 User’s Manual 2.1.
PPU-231 User’s Manual 2.1.3 Miscellaneous The following models are sold as single units.
PPU-231 User’s Manual (3) BD2 series (Control PCB with accessories) BD2-380A P U Model Name BD2-380A: Standard Model Interface Character set R: Serial (RS-232C) U: North America P: Parallel (Conforms to CENTRONICS) E: Europe For BD2-380A R U or E (Serial Interface): The type of cable fixing screws for the serial interface connector depends on the destinations.
PPU-231 User’s Manual 2.2 Basic Specifications Item Printing system Printing width Dot density Printing speed Printing columns and character size Line interval Description Line thermal dot printing 72 mm (576 dots/line) 8 dots/mm (Width, Length) 62.5 mm/sec. (At maximum), 500 dots/sec. 48 columns (12 × 24 Font A) 1.25 × 3.00 mm 64 columns (9 × 24 Font B) 0.88 × 3.00 mm Initial value: 4.
PPU-231 User’s Manual 2.3 Paper Specifications 2.3.1 Recommended Paper • Type : Thermal paper • Paper width : 80 + 0/- 1 mm • Paper thickness : 60 ∼ 85µm • Roll diameter : φ203 mm or less (When using PHU) • Printing surface : Outside of the roll (Surface) • Recommended paper : TF50KS-E, E2C (Monochrome) made by NIPPON SEISHI or its equivalent • Core : φ25.4 mm (Inner diameter) CAUTION: 1) Use of non-specified paper may cause irregularity of print density.
PPU-231 User’s Manual Printing Head and Paper Cutter Layout Presenter Sensor Position Paper Feed Direction Approx. 90 mm Presenter Drive Roller Position Approx. 48 mm Auto Cutter Position Approx. 12 mm Thermal Head Position (Printing Position) Approx. 20 mm 6 mm 2.3.
PPU-231 User’s Manual 3. 3.
PPU-231 User’s Manual (1) POWER switch Turns on/off the power for the printer/presenter unit (The POWER switch can be mounted either side of the unit.). (2) FEED switch Feeds the paper to exit the paper. (3) Power connector Connects to the optional AC adapter (31AD). (The power connector can be mounted at any one of the 6 locations on the unit. See 4.1.1 ”Connecting the AC Adapter”.) (4) Presenter Feeds the paper roll. (5) Auto Cutter Automatically cuts the printed paper by a command.
PPU-231 User’s Manual 3.2 Optional PHU (Paper Holding Unit) (12) PNE Sensor Position Adjust Screw (11) PNE Sensor (13) Paper Roller (Printer side) (11) PNE (Paper Near End) sensor Detects that the paper is running out. (12) PNE sensor position adjust screw Use this screw to adjust the paper remaining amount until paper near end sensor is activated. (13) Paper roller Holds the paper roll.
PPU-231 User’s Manual 4. OPERATION 4.1 Connecting the AC Adapter 4.1.1 Using the Power Connector 1. Make sure the power switch of the unit is turned off. 2. Connect an optional AC adapter cable connector with the power connector of the unit so that it locks in place. (As shown in the figure below, the power connector can be mounted at any one of the 6 locations on the unit.) 3. Connect an optional AC power cord to the AC adapter and plug it into an electrical outlet.
PPU-231 User’s Manual 4.1.2 Connecting a Power Cable to the Control PCB If you wish, you do not need to use an optional AC adapter, instead you can directly connect a power cable (not supplied) to the control PCB. 1. Turn off the power. 2. Plug the power cable into the CN1 power connector of the control PCB. See the table below for detail on the CN1 connector pin configurations. CN1 Power Connector [Connector’s pin configuration for power supply (CN1)] No.
PPU-231 User’s Manual 6) If a thunder/lightning storm is nearby, disconnect the AC adapter from the socket and do not use the printer, because a fire or electric shock may occur. 7) Do not put the AC power cord close to a heating device. Its coating can melt and cause a fire or electric shock. 8) Install the printer in a well-ventilated place, because the AC adapter generates heat when it is used. 9) Use the specified AC power source. Connect to a power source with sufficient capacity.
PPU-231 User’s Manual You can attach the interface cable to any one of the 4 positions shown below. See the table below for details on the CN10 connector pin configurations. CN10 Interface Connector [Connector’s pin configurations for parallel interface (CN10)] No.
PPU-231 User’s Manual [Connector’s pin configuration for serial interface (CN10)] No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Signal Name DTR TXD RXD DSR — — — — — — — — — — — — — — GND Vcc Input/Output Output Output Output Output — — — — — — — — — — — — — — — — Function DTR Signal TXD Signal RXD Signal DSR Signal — — — — — — — — — — — — — — GND +5V DC Connector used: 53313-2015 (Molex) CAUTION: 1) Referring to "6. PARALLEL INTERFACE" and "7.
PPU-231 User’s Manual 4.3 Inserting the Paper CAUTION: 1) Be sure to use the specified paper roll. 2) Use of non-specified paper may not guarantee the print quality, printing head life, presenter operation, and so on. 3) Do not insert a ragged or dog-eared end of the paper roll, because it could result in a paper jam or insertion error. 1. Cut the front end of the paper roll almost at a right angle. 2.
PPU-231 User’s Manual Paper Roller (Printer side) Head-up Lever Head-up Lever 4.4 How to Remove Remaining Paper Roll 1. Raise the head-up lever of the printer/presenter unit. 2. Gently pull out the paper from the printer/presenter unit. If the paper roll is still remaining, cut it just before the paper insertion slot before pulling it out. CAUTION: 1) Never take out paper with the head-up lever lowered, because it could damage the printing head.
PPU-231 User’s Manual 4.5 4.5.1 Eliminating the Paper Jam Eliminating a Jam in the Printer Mechanism 1. Turn off the power. 2. Cut the paper roll near the paper insertion slot. 3. Move the knobs on both sides in the direction indicated by the arrows to detach the auto cutter from the printer mechanism. 4. Raise the head-up lever to detach the head from the platen roller. 5. Rotate the knob of the printer mechanism and totally remove the paper roll that is left in the paper passage. 6.
PPU-231 User’s Manual 4.5.2 Eliminating a Jam in the Presenter 1. Turn off the power. 2. Open the front door by pulling while pressing on the knob (see the figure). 3. Manually turn the roller until all paper is removed from the paper passage. 4. If a jam occurs between the auto-cutter and the presenter, with tweezers or similar, remove the paper roll with the utmost care. 5. Firmly close the front door.
PPU-231 User’s Manual 4.6 Releasing a Locked Cutter When the auto-cutter locks up and fails to cut paper, follow these steps to solve the problem. 1. Remove the paper from the paper passage as described in "4.5 Eliminating the Paper Jam". 2. Turn on the power. The auto cutter initialization begins and the cutter returns to its home position. 3. If the cutter does not return to its home position after the power has been turned on, do the following.
PPU-231 User’s Manual 4.9 Connecting the PHU (Paper Holding Unit) 1. Turn off the power. 2. Plug the connector cable of the optional PHU into the CN5 on the control PCB. When plugging it, pay attention to its insertion direction. Connector for PHU CN5 4.10 Paper Near End Function (When Using the PHU) If the paper is running out, the PNE sensor informs the host computer that the paper is running out. You can adjust the printable amount left after PNE has been detected, up to aboutφ50 of paper roll. 1.
PPU-231 User’s Manual 4.11 Auto-Loading Function This printer has a function to automatically set the paper. When the paper is set and the paper end sensor and paper near end sensor are not detected, and the head-up lever is lowered, the paper will be automatically fed by a constant amount in about 1 second. If the paper is not automatically fed, remove the paper from the paper insertion slot and try again. You can use the DIP switch to enable/disable the function.
PPU-231 User’s Manual 5. 5.1 DIP SWITCH SETTING Location of DIP Switch The following figure clearly shows where the DIP switches are. Any settings made while the power is turned on will not take effect. Turn the power on after you set the DIP switches. 1. Turn off the power. 2. Remove the DIP switch cover screw. (Be careful not to lose the screw.) 3. Slide the cover towards you and lift it to remove (see arrows in the figure). 4. Set the DIP switches. 5.
PPU-231 User’s Manual 5.2 DIP Switch Function DIP switch 1 (DS1) No. DS1- 1 2 Function Auto cutter CR switching 3 Printing density 4 DTR-DSR/XON-XOFF 5 Baud rate and parity setting 6 Baud rate and parity setting 7 Baud rate and parity setting 8 Baud rate and parity setting ON Enabled LF operation OFF Disabled Ignored Upon Shipment ON OFF Combination with DS2-6. See Table 2. XON−XOFF OFF OFF DTR−DSR OFF OFF See Table 1. OFF OFF DIP switch 2 (DS2) No.
PPU-231 User’s Manual Table 2 Print density DS1-3 DS2-6 Print Density Level OFF OFF ON ON OFF ON OFF ON Light Standard Dark Darker 0 1 2 3 26 CITIZEN
PPU-231 User’s Manual 6. 6.1 PARALLEL INTERFACE Specifications • Data input system : 8-bit parallel (DATA0 to DATA7) • Control signals : ACK, BUSY, STROBE, FAULT, PE, RESET • Applicable connectors : Printer side Cable side 6.2 : 57LE-40360 (Anphenol) or its equivalent : 57-30360 (Anphenol) or its equivalent Connector's Pin Configuration No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Signal Name STROBE DATA 0 DATA 1 DATA 2 DATA 3 DATA 4 DATA 5 DATA 6 DATA 7 ACK BUSY PE FRAME GND 27 No.
PPU-231 User’s Manual 6.3 Input and Output Signals 6.3.1 Input and Output Signals (1) Input signals to the printer • DATA : 8-bit parallel signal (Active: “High”) • STROBE : Strobe signal to read the 8-bit data (Active: “Low”) • RESET : Signal to reset the entire printer (Active: “Low”); 1 ms or more (2) Output signals from the printer • ACK : 8-bit data request signal.
PPU-231 User’s Manual 6.3.2 Electrical Characteristics (1) Input signal level All the input signals are at the TTL level. High level --- 2.0 V at minimum Low level --- 0.8 V at maximum (2) Output signal level All the output signals are at the TTL level. High level --- 2.4 V at minimum Low level --- 0.4 V at maximum (3) Input and output conditions The STROBE and RESET input signals are pulled up at 3.3kΩ, and the other input signals at 50kΩ, respectively.
PPU-231 User’s Manual 6.3.3 Timing Chart Data Input and Print Timings 6.3.4 T1, T2, T3 0.5 µs MIN T4 270 ns MAX T5 2.3 µs TYP T6 500 ms MIN (At power-on) Data Receiving Control The data can be received from the host when the BUSY signal is at "Low," but cannot be received when it is "High." 6.3.5 Buffering The host side is immediately freed, because 4 KB data can be buffered.
PPU-231 User’s Manual 7. 7.
PPU-231 User’s Manual 7.3 Input and Output Signals 7.3.1 Input and Output Signals (1) RXD Serial received data signal. If a framing error, overrun error, or parity error takes place, the relevant data will be printed as "?". (2) DTR Write the data or a command when this signal is Ready. If you write at Busy, the previous data will be ignored, resulting in an overrun error. The data can be written in the input buffer even during printing.
PPU-231 User’s Manual 7.3.2 Data Configuration t Mark b0, b1, b2, • • • • Space (1) (2) (3) (1) Start Bit (2) Data Bit (+ Parity Bit) (3) Stop Bit (1 or More) (1) Start bit The system reads the status again after a lapse of 1/2 bit from a fall edge from the mark to space, and if it is a space, this bit will be recognized as the start bit. If it is a mark, the system will not recognize the bit as the start bit and try to detect the start bit again without judging it as an error.
PPU-231 User’s Manual 7.3.4 Data Receiving Control If DTR/DSR control has been selected, the data from the host side will be received when the BUSY signal is at "Low," but not received when at "High." If DTR/DSR has not been selected, the data from the host side will be received after sending XON, but not after sending XOFF. 7.3.5 Buffering To transfer the data to the input buffer, there are two control signals available: DTR signal and TXD signal.
PPU-231 User’s Manual 8. POWER CONNECTOR This connector is to supply the power from the special AC adapter (31AD). Connector's Pin Configurations No. Function 1 2 +24V GND 3 SHELL N.C FG Connector used : TSC7960-53-2010 (Made by HOSHIDEN) or its equivalent Applicable connector : TSC8927-63-1100 (Made by HOSHIDEN) or its equivalent TSC8927-53-1100 (Made by HOSHIDEN) or its equivalent CAUTION: 1) Be sure to use the specified AC adapter.
PPU-231 User’s Manual 9. MAINTENANCE AND SERVICE For the information on maintenance and service, please contact our dealer.
PPU-231 User’s Manual 10. PRINT CONTROL FUNCTIONS 10.
PPU-231 User’s Manual Control Code 39 GS f 40 GS 41 42 43 GS GS GS Function Code Selecting the font of HRI code 1DH 66H n ∗ Defining the download, bit image / : ^ Printing the download, bit image 1DH 2AH n1 n2 [d] n1 ×n2×8 1DH 2FH m 1DH 3AH 1DH 5EH n1 n2 n3 Starting/ending macro definition Executing the macro Page 75 76 78 79 80 Notes 1. n, n1, n2, n3, n4, n5, n6, m, a, s, p, d, N1, N2, N3,N4, and N5 in the table are parameters for each commands. 2.
PPU-231 User’s Manual 10.2 10.2.1 Command Details Description of Items XXXX ALL [Function] Command Function [Code] A sequence of code constituting a command is represented in hexadecimal number for < >H, binary number for < >B, and decimal number for < >, respectively; [ ]k represents a repeat count of k-times. [Range] Describes an argument value (Setting range) for the command. [Outline] Describes a command outline. [Caution] Describes a caution as required.
PPU-231 User’s Manual 10.2.2 Details HT [Function] Horizontal Tab [Code] <09>H [Outline] Shifts the printing position to the next horizontal tab position. • Ignored when the next horizontal tab position has not been set. • The horizontal tab position is set by ESC D. [Caution] • Initial setting of the horizontal tab position is each 8 characters in 9th, 17th, 25th, columns.
PPU-231 User’s Manual CR [Function] Print [Code] <0D>H [Outline] 1) When DS1-2 is OFF: This command is ignored. 2) When DS1-2 is ON: With data held inside the internal print buffer, printing and line feed are performed. Without data inside the internal print buffer, however, no printing is performed.
PPU-231 User’s Manual ESC ! n [Function] Collective Specifying Printing Mode [Code] <1B>H<21>H [Range] {0 ≤ n ≤ FF} [Outline] Printing mode is assigned. Each n bit indicates the following: [Caution] Data is described in Hex code.
PPU-231 User’s Manual [Sample Program] LPRINT CHR$ (&H1B) + " ! " + CHR$ (&H00) + "H" ; LPRINT CHR$ (&H1B) + " ! " + CHR$ (&H01) + "H"; LPRINT CHR$ (&H1B) + " ! " + CHR$ (&H08) + "H"; LPRINT CHR$ (&H1B) + " ! " + CHR$ (&H10) + "H"; LPRINT CHR$ (&H1B) + " ! " + CHR$ (&H20) + "H"; LPRINT CHR$ (&H1B) + " ! " + CHR$ (&H80) + "H"; LPRINT CHR$ (&H1B) + " ! " + CHR$ (&HB9) + "H"; LPRINT CHR$ (&HA) ; [Print Results] 43 CITIZEN
PPU-231 User’s Manual ESC % n [Function] Specifying/Canceling Download Character Set [Code] <1B>H<25>H [Range] [Outline] {0 ≤ n ≤ FF} data is described in Hex code. Specifying/canceling download characters. Further, only the lowest bit (n0) is valid for n. The lowest bit (n0) indicates the following. n0 0 1 [Caution] Function Canceling download character set Specifying download character set Download characters and download bit images can not be defined simultaneously.
PPU-231 User’s Manual ESC & s n m [ a [ p ] s × a] m – n +1 [Function] Defining Download Character [Code] <1B>H<26>H [••]m-n+1 [Range] {s = 03} {20 (Hex) ≤ n ≤ m ≤ 7E (Hex)} {0 ≤ a ≤ 0C(Hex)} (Font A) {0 ≤ a ≤ 0A(Hex)} (Font B) [Outline] Defines the font of download characters of alphanumeric characters. • "s" indicates the number of bytes in vertical direction. • "n" indicates the start character code and m the end character code. To define only one character, set n=m.
PPU-231 User’s Manual [Example] Create each data bit by setting "1" for a printed dot and "0" for an unprinted dot. [Sample Program] [Print Results] See Sample Program and Print Results for ESC % on Page 44.
PPU-231 User’s Manual ESC ∗ m n1 n2 [ d ] k [Function] Specifying the Bit Image Mode [Code] <1B>H<2A>H [ ] k [Range] {m= 0, 1, 32, 33 bit image mode (See the table below.)} {0 ≤ n1 ≤ FF(Hex)} {0 ≤ n2 ≤ 03(Hex)} {0 ≤ d ≤ FF(Hex)} [Outline] {k = n1 + FF(Hex) × n2 (m = 0, 1) {k = (n1+ FF(Hex) × n2) × 3} (m = 32, 33) According to the number of dots specified in n1, n2, specify the bit image of mode n. • The No.
PPU-231 User’s Manual [Example] [Sample Program] LPRINT CHR$ (&H1B) + "∗" ; LPRINT CHR$ (0) + CHR$ (20) + CHR$ (0) ; IMG1 : GOSUB IMG1 LPRINT LPRINT CHR$ (&HA) ; FOR I=1 TO 18 LPRINT CHR$ (&H1B) + "∗" ; LPRINT CHR$ (1) + CHR$ (20) + CHR$ (0) ; GOSUB IMG1 LPRINT CHR$ (&H85) ; NEXT I LPRINT LPRINT CHR$ (&HA) ; CHR$ (&HFF) ; CHR$ (&HFF) ; RETURN LPRINT CHR$ (&H1B) + "∗" ; LPRINT CHR$ (32) + CHR$ (20) + CHR$ (0) ; IMG2 ; LPRINT CHR$ (&HFF) ; GOSUB IMG2 LPRINT CHR$ (&HFF) ; LPRINT CHR$ (&HA)
PPU-231 User’s Manual ESC − n [Function] Specifying/Canceling Underline [Code] <1B>H<2D>H [Range] {0 ≤ n ≤ 02} data is described in Hex code. [Outline] Specifying/canceling an underline. •Types of underlines by n value are shown below: n (Hex) 0 1 2 [Caution] Type Canceling an underline. Specifying an underline for 1-dot width. Specifying an underline for 2-dots width. • An underline is attached to the full character width.
PPU-231 User’s Manual ESC 3 n [Function] Setting Line Feed Rate of Minimum Pitch [Code] <1B>H<33>H [Range] {0 ≤ n ≤ FF} Data is described in Hex code. [Outline] The line feed rate per line is specified by n/360 inch. Since an actual mechanical pitch is 1/203 inch, it is internally converted approximate to the value specified with this command. [Default] • The initial value is n = 60 (1/6 inch) (18H), being 4.23 mm line feed rate.
PPU-231 User’s Manual ESC = n [Function] Data Input Control [Code] <1B>H<3D>H [Range] {0 ≤ n ≤FF} Data is described in Hex code. [Outline] Selecting equipment in which data input from the host is effective.
PPU-231 User’s Manual ESC @ [Function] Initializing the Printer [Code] <1B>H<40>H [Range] Clears data stored in the print buffer and brings various settings to the initial state (Default state). [Caution] • Data inside the internal input buffer are not cleared. • Dip switches setting are red once again.
PPU-231 User’s Manual ESC D [ n ] k NUL [Function] Setting Horizontal Tab Position [Code] <1B>H<44>H [ ] k<00>H [Range] {0 ≤ n ≤ FFH} {0 ≤ k ≤ 20H} Data is described in Hex code. [Outline] Specifying a horizontal tab position. • "n" indicates the no. of columns from the beginning to the horizontal tab position. At this time, n= set position− 1 is to be specified. For example, to set the position at 9th column, n=8 is to be specified.
PPU-231 User’s Manual ESC E n [Function] Specifying/canceling highlighting [Code] <1B>H<45>H [Range] {0 ≤ n ≤ FF} Data is described in Hex code. [Outline] Specifying/canceling the highlighting characters. • "n" is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: n0 0 1 Type Canceling highlighting. Specifying highlighting. • This is effective to all characters. • Dot configuration of a highlighted character includes one extra dot added at its side.
PPU-231 User’s Manual ESC G n [Function] Specifying/canceling Double Printing (ESC G n) [Code] <1B>H<47>H [Range] {0 ≤ n ≤ FF} Data is described in Hex code. [Outline] Specifying/canceling the double printing. • "n" is valid only for the lowest bit (n0). • Control by n is shown as follows. n0 0 1 Type Canceling double printing. Specifying double printing. This is effective to all characters.
PPU-231 User’s Manual ESC R n [Function] Selecting the International Character set [Code] <1B>H<52>H [Range] {0 ≤ n ≤ 0A) [Outline] Depending on the value of n, following character sets are specified. Data is described in Hex code. n(Hex) 0 1 2 3 4 5 6 7 8 9 A [Default] Character Set U.S.A. France Germany U.K. Denmark I Sweden Italy Spain Japan Norway Denmark II The initial value of n are shown below.
PPU-231 User’s Manual ESC V n [Function] Specifying/Canceling 90°-right- turned Characters [Code] <1B>H<56>H [Range] {0 ≤ n ≤ 1} Data is described in Hex code. [Outline] Specifying/canceling characters 90°-right- turned character. • "n" means the followings. n (Hex) 0 1 Condition Canceling 90°-right- turned Characters Specifying 90°-right- turned Characters [Caution] • No underlines are attached to 90°-right- turned characters . [Default] • The initial value of n is "0".
PPU-231 User’s Manual ESC a n [Function] Aligning the characters [Code] <1B>H<61>H [Range] {0 ≤ n ≤ 2} Data is described in Hex code. [Outline] All the printed data within one line are aligned in the specified position. • Depending on n value, positional alignment is carried out as in the table below: n (Hex) 0 1 2 [Caution] Position Left end alignment Centering Right end alignment • This is valid only when n is inputted at the beginning of line. • The initial value of n is "0".
PPU-231 User’s Manual ESC c 3 n (Parallel Interface Only) [Function] Selecting the paper near end sensor valid for a paper end signal output [Code] <1B>H<63>H<33>H [Range] 0 ≤ n ≤255 [Outline] This command selects at which paper near end sensor a paper end signal should be output. Each bit for n has the following meaning: Value Bit Position 0 1 0 Paper near end Disabled Enabled Undefined 1∼7 This printer can only select one kind of paper end detection, a paper-near-end sensor.
PPU-231 User’s Manual ESC c 5 n [Function] Enabling/Disabling Panel Switches [Code] <1B>H<63>H<35>H [Range] {0 ≤ n ≤ FF} Data is described in Hex code. [Outline] Selecting the LF switch valid/invalid. • "n" is valid only in the lowest bit (n0). • "n" bit means the followings. n0 0 1 Condition LFSW valid. LFSW invalid. [Caution] When the panel switch is disabled with this command, the LF switch is disabled. Therefore, the paper cannot be fed by operating the LF switch.
PPU-231 User’s Manual ESC i (When Using Auto Cutter) [Function] Paper Cut [Code] <1B>H<69>H [Outline] Activating auto cutter unit (Full cut) [Caution] • This is valid only when n is inputted at the beginning of line. • Prior to cutting the paper, feed the paper from the printing position to beyond the paper cutting position of the cutter. Otherwise, the character just after print will remain on this side of the cutter. • After having been cut, the paper is delivered out from the Presenter.
PPU-231 User’s Manual ESC m (When Using Auto Cutter) [Function] Paper Cut [Code] <1B>H<6D>H [Outline] Activating auto cutter unit (Full cut) [Caution] The paper cut commands ‘ESC i’ and ‘ESC m’ are the same completely.
PPU-231 User’s Manual ESC t n [Function] Selecting Character Code Table [Code] <1B>H<74>H [Range] {0 ≤ n ≤ 1} Data is described in Hex code. [Outline] Selecting Page n on the character code table: The character code table is selected depending on the value of n. "n" means the followings.
PPU-231 User’s Manual ESC v (Serial Interface Only) [Function] Transmitting the printer status(Serial Type) [Code] <1B>H<76>H [Outline] Current printer status is transmitted.. [Caution] • Status sent out consists of 1 byte whose content is as in the table below. • In DTR/DSR control, after receptible state of the host (DSR signal being in SPACE state) is confirmed, only 1 byte is transmitted. In XON/XOFF control, DSR signal state not being confirmed, only 1 byte is transmitted.
PPU-231 User’s Manual ESC { n [Function] Specifying/Canceling the Inverted Characters [Code] <1B>H<7B>H [Range] {0 ≤ n ≤ FF} [Outline] Specifying/canceling inverted characters. Data is described in Hex code. • "n" is valid only for the lowest bit (n0). • Bit n (n0) means the followings. n0 0 1 [Caution] Condition Canceling inverted characters. Specifying inverted characters. • Inverted printing means printing the line at 180°turned.
PPU-231 User’s Manual ESC $ n1 n2 [Function] Specifying the Absolute Positions [Code] <1B>H<24>H [Range] {0 ≤ n1 ≤ FF} {0 ≤ n2 ≤ 1} Data is described in Hex code. [Outline] The printing start position is specified in the number of dots (1/203 inch unit) from the beginning of line. • The number of dots is divided by 256, whose quotient is taken as n2 and the residual as n1. • Therefore, the printing start position is equal to n1 + n2 x 256 from the beginning of line..
PPU-231 User’s Manual ESC n1 n2 [Function] Specifying the Relative Positions [Code] <1B>H<5C>H< n2> [Range] {0 ≤ n1 ≤ FF} {0 ≤ n2 ≤ FF} Data is described in Hex code. [Outline] The printing start position is specified in the number of dots(1/203 inch unit) from the current position. • Rightward direction is taken as plus and leftward direction as minus. • To specify N dot in minus (left) direction, use a complement of N for assignment.
PPU-231 User’s Manual GS k n [d] k NUL [Function] Printing the Bar Code [Code] <1D>H<6B>H [ < d> ] k <00>H [Range] {0 ≤ n ≤ 7} Data are described in Hex code. [Outline] Specifying a type of bar code and printing bar codes. • The beginning of line is considered as the next printing start position. • Depending on the value of n, the following bar code can be selected. d indicates a character code to be printed and k indicates the number of character to be printed.
PPU-231 User’s Manual 12th-column check column is automatically calculated inside the printer and sent from the host, the entire bar code will be printed, compressed to 8 columns. JAN-13(EAN) This bar code, consisting of numerals only, has a fixed length of 13 column; a 12-column number entered from the host or application software plus a check column(13th column) automatically calculated inside the printer. If the 13th-column numeral is sent from the host, the entire bar code will be printed as it is.
PPU-231 User’s Manual ASCII Code 96 97 98 99 100 101 102 Converted Character 80h 81h 82h 83h 84h 85h 86h Subset Code A FNC 3 FNC 2 SHIFT CODE C CODE B FNC 4 FNC 1 Subset Code B FNC 3 FNC 2 SHIFT CODE C FNC 4 CODE A FNC 1 Subset Code C -N/A-N/A-N/A-N/ACODE B CODE A FNC 1 The following exemplifies a selection of the code subset as a method to utilize the special characters. • Initial selection: Enter any one character of A, B, and C.
PPU-231 User’s Manual Type UPC-A UPC-E Print Sample Outline of Symbol 12-columns fixed-length consisting of numerals only Max. column bar code JAN-13 8-columns fixed-length bar code consisting of numerals only. Abbreviated version of UPC-A 13-columns fixed-length bar code consisting of numerals only JAN-8 8-columns fixed-length bar code consisting of numerals only CODE39 ITF CODABAR (NW-7) CODE128 Variable-length bar code consisting of alphabets and numerals.
PPU-231 User’s Manual GS w n [Function] Selecting the horizontal size(Scale factor) of the Bar Code [Code] <1D>H <77>H [Range] {2 ≤ n ≤ 4} Data is described in Hex code. [Outline] Selecting bar code width. n denotes the number of dots in fine element width. [Default] •The initial value of this width is "3".
PPU-231 User’s Manual GS h n [Function] Selecting the height of the Bar Code [Code] <1D>H<68>H [Range] {1 ≤ n ≤ FF} Data is described in Hex code. [Outline] Selecting bar code height. n denotes the number of dots in the vertical direction. [Default] • The initial value of n is "162". [Sample Program] [Print Results] See Sample Program and Print Results for GS w on page 72.
PPU-231 User’s Manual GS H n [Function] Selecting of Printing Position of HRI Code [Code] <1D>H<48>H [Range] {0 ≤ n ≤ 3} Data is described in Hex code. [Outline] Selecting printing position of HRI code in printing bar codes. • "n" means the followings. n (Hex) 0 1 2 3 Printing Position No printing Above the bar code Below the bar code Both above and below the bar code The HRI code refers to the bar code-turned characters so that you can read them.
PPU-231 User’s Manual GS f n [Function] Selecting the font of HRI code [Code] <1D>H<66>H [Range] n = 0, 1 [Outline] Selecting the font of HRI code in printing bar code. The type of font can be printed by selecting n is as follows. n 0 1 Font Font A Font B The HRI code refers to the bar code-turned characters so that you can read them. [Caution] The HRI code is printed at the position specified with GS h on page 73. [Default] The initial value of n is “0”.
PPU-231 User’s Manual GS ∗ n1 n2 [ d ] n1 × n2 × 8 [Function] Defining the Download Bit Image [Code] <1D>H<2A>H [ < d > ] n1 × n2 × 8 [Range] {1 ≤ n1 ≤ FF} {1 ≤ n2 ≤ 30} {n1 × n2 ≤ 51F} Data is described in Hex code. [Outline] Defines downloading bit images of the number of dots specified by n1/n2. • The numbers of dots are n1 x 8 in horizontal direction and n2 x 8 in vertical direction. • d indicates bit image data.
PPU-231 User’s Manual [Sample Program] [Print Results] GOSUB IMG LPRINT CHR$ (&H1D) + "/" + CHR$ (0) ; LPRINT CHR$ (&H1D) + "/" + CHR$ (1) ; LPRINT CHR$ (&H1D) + "/" + CHR$ (2) ; LPRINT CHR$ (&H1D) + "/" + CHR$ (3) ; END IMG : n 1 = 10 : n 2= 5 LPRINT CHR$ (&H1D) + "∗" ; LPRINT CHR$ (n1) + CHR$ (n2) ; FOR J=1 TO n1∗8 FOR I=1 TO n2 LPRINT CHR$ (J) ; NEXT I NEXT J RETURN 77 CITIZEN
PPU-231 User’s Manual GS / m [Function] Printing the Download, Bit Image [Code] <1D>H<2F>H [Range] {0 ≤ m ≤ 03} Data is described in Hex code. [Outline] Prints download bit image in a mode specified by m. • Modes can be selected by m are shown below.
PPU-231 User’s Manual GS : [Function] Starting / Ending Macro Definition [Code] <1D>H<3A>H [Outline] Specifying starting / ending macro definition. Means termination when received while defining a macro. [Caution] Maximum content available for macro definition is 2048 bytes. A portion exceeding 2048 bytes is not defined. • Even with ESC @ (initialization of the printer) having been executed, defined content is not cleared.
PPU-231 User’s Manual GS ^ n1 n2 n3 [Function] Executing the Macro [Code] <1D>H<5E>H [Range] {0 ≤ n1 ≤ FF} {0 ≤ n2 ≤ FF} {0 ≤ n3 ≤ 1} Data is described in Hex code. [Outline] Executing contents defined in macro. • "n1∼n3" indicate as follows: n1 : The number of times of macro execution n2 : Waiting time on macro execution Waiting time of n2 x 100 msec is given for every execution.
PPU-231 User’s Manual 11. CHARACTER CODES TABLE 11.
PPU-231 User’s Manual 11.
PPU-231 User’s Manual 11.
PPU-231 User’s Manual APPENDIX 1.
160 (Paper Exit Height) 95 80 0/-0.5 (Paper Insertion Height) (Paper Roll Width) 85 Power Switch Mounting Hole (Can mount on the other side) 90.8 172 (Can mount on the other side) 5 (Can mount on the other side) FEED Switch Mounting Hole 12.5 134.7 10 10 Paper Center 57 144.7 (Power Connector) 67. 7 Unit: mm Interface Connector Hole 160 12 124.7 10 9 10 APPENDIX 2.
PPU-231 User’s Manual APPENDIX 3. OUTLINE DRAWING FOR PHU 12 12 1.6 120 48 48 5 125.2 4848 122.2 φ203.2 6-φ5 132.2 (Paper Roll Max. Dia.
1.