Download WOOSIM PORTI-PC40 Specifications
Transcript
ٻٻٻٻٻٻٻٻٻٻ ٻ ٻ ٻٻ ٻ ٻ ٻ MODEL ٻ PORTI-PC40 ٻ ٻ (2 Inch Printer with MSR ) ͑ ٻ ٻ ٻ G ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ WOOSIM SYSTEM Inc. #501, Daerung Technotown 3th, 448, Gasan-Dong, GeumChun-Ku, Seoul, Korea Tel : +82-2-2107-3700 Fax : +82-2-2107-3707 URL: http://www.woosim.com ٻ ٻ All specifications are subjected to change without notice ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ٻCopyright ٻ Porti-PC40 2 Inch printer operator’s manual. ٻCopyright གྷ2005 by Woosim System Inc. ٻAll rights reserved. ٻThe information contained in this manual is the property of Woosim ٻSystem Inc. and may not be reproduced in whole or in part without ٻthe prior written permission of Woosim System Inc. ٻ ٻ ٻTrademark ٻ a registered trademark of Woosim System Inc. ٻ ٻAll other trademark are the properties of their respective companies. ٻ ٻ ٻCaution ٻ Some semiconductor devices are easily damaged by static electricity. You should ٻturn the printer “OFF”, before you connect or removed the cable on the rear side, in ٻorder to guard the printer against the static electricity. ٻIf the printer is damaged by the static electricity, you should turn the printer “OFF” ٻ ٻ ٻNotice ٻ The contents of this manual are subject to change without notice. ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڍ ٻIntroduction ٻThe Porti-PC40 is the ideal solution for Mobile banking system , Retail, ٻpoint of sales, Credit card Transaction, other traveling and mobile computing etc. ٻ ٻThe general features of Porti-PC40 printer are as follows: ٻ ٻ X Pocket size(105 x 80.4 x 45.7mm) ٻ X Light weight(286g) for true mobility. ٻ X Very silent printing thru direct thermal printing method. ٻ X High speed(50mm/sec) ٻ X High resolution(203dpi : 8dots/mm). ٻ X Magnetic Stripe Reader included. ٻ X Easier paper loading by CLAMSHELL design. ٻ X Support text and graphic printing. ٻ X Serial(RS-232C, TTL) interface ٻ X Easier maintenance with self-diagnostics. ٻ XٻFlow control : Software (XON/XOFF) ٻ ଖ Hardware flow control not supported in printer. ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ G ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڎ ٻOperating Precautions ٻPlease follow the precautions below to enjoy and maintain the full ٻperformance of the printer. ٻ ٻXUsing the Printer ٻ Ɣ Be careful not to drop or bump the printer on a hard surface. ٻ Ɣ Do not install the printer in direct sunlight or such areas. ٻ Suitable environment for the use of the printer is as follows : ٻ ଝ Operating temperature : -10°C to 40°C ٻ ଝ Relative humidity : 10% to 90% (no condensation) ٻ Ɣ ٻ electromagnetic fields such as a copy machine. ٻ Ɣ ٻ or transmission. Do not install the printer near devices that generate strong Do not remove or reinstall the communication cable during printing ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڏ CONTENTS 1. Outline .............................................................................................................................................7G 1.1. Model classifications ............................................................................................................7G 1.2. Specifications........................................................................................................................8G 2. Setting up the printer .....................................................................................................................9G 2.1. Unpacking.............................................................................................................................9G 2.2. Outer appearances and part name .......................................................................................10G 2.3. Dimensions .........................................................................................................................11G 2.4. Installing or replacing the paper roll ...................................................................................12G 2.5. Specified power supply.......................................................................................................14G 3. Interface .........................................................................................................................................15G 4. Using the printer ............................................................................................................................17G 4.1. Control panel ......................................................................................................................17G 4.2. The self test.........................................................................................................................18G 5. Consumable Parts ..........................................................................................................................19G 5.1. Recommended paper...........................................................................................................19G 5.2. Printing position..................................................................................................................20G 6. Print Control Function ...................................................................................................................21G 6.1. Print Command...................................................................................................................23G 6.2. Line Spacing Command......................................................................................................25G 6.3. Character Commands..........................................................................................................26G 6.4. Panel Button Command ......................................................................................................33G 6.5. Print Position Commands ...................................................................................................34G 6.6. Bit-Image Commands .........................................................................................................47G 6.7. Status Commands ...............................................................................................................52G 6.8. Barcode Commands............................................................................................................53G 6.9. Macro Function Commands................................................................................................57G 6.10. Mechanism Control Commands .......................................................................................59G 6.10. Magnetic Card Reader Commands ...................................................................................60G 6.11. Miscellaneous function commands ...................................................................................62G ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڐ Appendix ...........................................................................................................................................66G ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ڑ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ XUGvG G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G XUXUGtGG ٻ ٻڄٻٻٻڃٻٻڄٻٻٻڃٻٻPORTI–PC40 ٻ ٻ ٻ ٻ ٻ ٻModel name ٻ ٻ ٻ ٻ ٻ Interface ٻ ٻٻڄڞڍڎڍڈڮڭڃۇڼۄۍۀڮٻڕۀۉۊک ٻ ٻ ٻ Power ٻ ٻڱڏڍۙڍڌٻڞڟٻڕٻۀۉۊک ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ڒ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ XUYUGzG ٻ ٻ Item Description ٻ Printing method Direct thermal line printing ٻ Characters per line 42cpl ٻ Character size Eng. : 9*24dots, 12*24dots ٻ Resolution 203dpi, 8dots/mm ٻ Print width 2-inch (48mm, 384dots) ٻ Printing speed 50mm / sec ٻ Dimensions 105 x 80.4 x 45.7 mm ٻ Weight 286g ٻ Interface Serial(RS-232C, TTL) Paper supplied Thermal roll paper (57mm wide, 40ø) ٻ ٻ ٻ ٻ ٻ ٻ PDF417(2-dimension), Code128, Code39, I12 / 5, Barcode supplied UPC, EAN, KAN, JAN, CODABAR Receive buffer size 10K bytes Printing speed may be slower, depending on the data Note transmission speed and the combination of control commands. ٻ ٻ Kor. : 16*24dots, [24*24dots] Input Power 12~24V DC, Standby 60mA and Max 3A ٻ Temperature ٻ Environment ٻ Conditions -10°C ~ 40°C (operating) -10°C ~ 70°C (storage) 30% - 80% (operating) Humidity ٻ 10% - 90% (storage) ٻ ٻ MCBF (Mean Cycle ٻ Between failure) Mechanical Head 37,000,000 lines Approximately 50 Km ٻ ٻٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ړ YUG G zGGGG G G G G G G G G G G G G G G G G G YUXUG|G ٻYour printer box should include these items. If any items are damaged or missing, please ٻcontact your dealer for assistance. ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ PORTI-PC40 ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ROLL PAPER Operator’s Manual ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڔ YUYUGvGGGGG ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ڋڌ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ YUZUGkG ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ڌڌ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ YU[UGpGGGGGG ٻ ٻ ٻ Note : Be sure to use paper rolls that meet the specifications. ٻ Do not use paper rolls that have the paper glued to the ٻ core because the printer cannot detect the paper end ٻ correctly. ٻ1. Make sure that the printer is not receiving data; otherwise, data may be lost. ٻ2. Open the paper roll cover by applying your finger on both side of printer, ٻ push it up when the lock is released as shown in the drawing. ٻٻ ٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻ3. Remove the used paper roll core if there is one. ٻ4. Insert the paper roll as shown. ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڍڌ ٻ5. Be sure to note the correct direction that the paper comes off the roll. ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ6. Pull out a small amount of paper and then close the cover, as shown. ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻ ٻ7. Tear off the paper as shown. ٻ ٻٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڎڌ YU\UGzGG G ٻ ٻ ٻ The following specifications are requested for Power supply. VPP : DC 12-24V Standby 60mA and Max 3A ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڏڌ ZUGpG G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ The Porti-PC40 printer has an RS-232C serial interface is connected by means of a 9p D-sub. ٻ In the following table, the signals present on the connector are listed: ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ Pin No. Name Direction Function 1 - - - ٻ ٻ ٻ ٻ 2 TxD Output Transmit Data 3 RxD Input Receive Data ٻ ٻ ٻ ٻ 4 - - - 5 GND - Ground ٻ ٻ ٻ ٻٻ 6 - - - 7 - - - ٻ ٻ ٻ ٻ 8 - - - 9 VPP - 12V~24V/3A ٻ ٻ <D-Sub 9p Female > ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڐڌ ٻRS-232C Technical Specifications ٻ DATA TRANSFER RATE ٻ WORD LENGTH ٻ ٻ : 8 Data Bits 1 Stop Bit SIGNAL LEVELS ٻ ٻ : 9600 Baud : Mark or Logical 1 = -3 to -15 VDC Space or Logical 0 = +3 to +15VDC HANDSHAKING : XON / XOFF ٻٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڑڌ [UG|GGG G G G G G G G G G G G G G G G G G G G G G G G G [UXUGjGG ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ X Button ٻ - FEED Button : ٻ ٻ Press the FEED button once to advance paper one line. You can also hold ٻ down the FEED button to feed paper continuously. ٻ X Panel Lamp ٻ ٻ -POWER : The POWER lamp is on whenever the printer is on. ٻ -ERROR : This indicates an error such as paper end, or cover open, etc. ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڒڌ [UYUG{GGG ٻ The self-test checks whether the printer has any problems. If the printer ٻdoes not function properly, contact your dealer. The self-test checks the following; ٻ 1. Make sure paper roll has been installed properly. ٻ 2. Turn on the power while holding down the FEED button. The self-test begins. ٻ 3. The self-test prints the current printer status, which provides the control ROM version and ٻ ٻ ٻ ٻ ٻ the communication method setting. 4. After printing the current printer status, self-test printing will print a pattern using the built-in character set. 5. The self-test automatically ends The printer is ready to receive data as soon as it completes the self-test. ٻG ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ړڌ \UGjGwG G G G G G G G G G G G G G G G G G G G G G \UXUGyGG ٻType ٻPaper width : Thermal Paper : 57mm ٻPaper thickness ٻOuter diameter ٻRecording side ٻ ٻ ٻ : 65±5 Mm : Ø40mm or less : Outside of roll Cautions ٻ ٻ 1. Do not paste the paper to the core. And the roll paper which has ٻ ٻ Near end mark printing on its near end is recommended. 2. ٻ ٻ Characters may fade. 3. ٻ ٻ Chemicals or oil may change the color of paper, or printed Change of paper color starts from approx 70 C. Pay attention to heat, humidity and sun light. 4. Color of paper may be changed by being scratched by nail or hard metal, etc ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڔڌ \UYUGwGG ٻ ٻ ٻٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ڋڍ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ]UGwGjGmG ٻ ٻ ഘٻۏێۄڧٻێڿۉڼۈۈۊڞٻڿۀۏۍۊۋۋېڮٻ ٻ Command Name Function Type Page ٻ HT Horizontal tab Print position 37 ٻ LF Print and line feed Print 23 FF Print and return to standard mode Print 24 Real-time status transmission Status 52 ESC FF Print data in page mode Print 24 ESC SP Set right-side character spacing Character 27 ESC ! Select print mode Character 28 ESC $ Set absolute print position Print position 34 ESC * Select bit-image mode Bit image 47 ESC - Turn underline mode on/off Character 29 ESC 2 Select default line spacing Line spacing 25 ٻ ESC 3 Set line spacing Line spacing 25 ٻ ESC @ Initialize printer Miscellaneous function 62 ٻ ESC D Set horizontal tab positions Print position 38 ٻ ESC E Turn emphasized mode on/off Character 30 ٻ ESC J Print and feed paper Print 23 ٻ ESC L Select page mode Miscellaneous function 62 ٻ ESC M Set Card Reader mode Magnetic card reader 60 ٻ EOT Cancel Card Reader mode Magnetic card reader 61 ٻ ESC O Set print starting position. Print position 46 ٻ ESC R Select an international character set Character 27 ٻ ESC S Select standard mode Miscellaneous function 63 ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ DLE EOT EOT ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڌڍ ٻCommand ٻ ٻESC T ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ Name Function Type Page Select print direction in page mode Print position 47 ESC W Set printing area in page mode Print position 41 ESC X 4 Define user-defined bit-image Bit image 50 ESC \ Set relative print position Print position 35 ESC Z Print 2D barcode Barcode 56 ESC a Select justification Print position 36 ESC c 5 Enable/disable panel buttons Panel button 33 ESC d Print and feed n lines Print 24 ESC i Partial cut (One point center uncut) Mechanism control 59 ESC { Turn upside-down printing mode on/off Character 30 GS ! Select characters size Character 31 Print position 44 Macro function 57 Character 32 Barcode 56 ٻGS $ ٻ ٻGS : Set absolute vertical print position in ٻ Turn white/black reverse printing mode GS B ٻ ٻ page mode Start/end macro definition On/off Select printing position of HRI GS H ٻ characters ٻGS L Set left margin Print position 39 ٻGS P Set horizontal and vertical motion units Miscellaneous function 59 ٻGS V Select cut mode and cut paper Mechanism control 57 ٻGS W Set printing area width Print position 40 ٻ Set relative vertical print position in Print position 45 ٻ GS \ page mode ٻGS ^ Execute macro Macro function 58 ٻGS h Set barcode height Barcode 53 ٻGS k ٻGS w Print bar code Barcode 54 Set barcode width Barcode 53 ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڍڍ ]UXUGwGjG ٻ ٻ ٻ The PORTI-PC40 supports the following commands for printing character and advancing paper: Command Name ٻ LF Print and line feed ٻ ESC J Print and feed paper ٻ ESC d Print and feed n lines ٻ FF Print and return to standard mode(in page mode) ٻ ESC FF Print data in page mode ٻ ٻ ٻ ٻ ٻ LF [Name] Print and line feed [Format] ASCII LF HEX 0A Decimal 10 ٻ ٻ ٻ [Description] current line spacing. ٻ ٻ ٻ Print the data in the print buffer and feeds one line based on the [Note] This command sets the print position to the beginning of the line. [Reference] ESC 2, ESC 3 ٻ ٻ ٻ ٻ ESC J n [Name] Print and feed paper. [Format] ASCII ESC J n HEX 1B 4A n Decimal 27 74 n ٻ ٻ ٻ ٻ ٻ [Range] 0 n 255 [Description] Prints the data in the print buffer and feeds the paper [n x (vertical or horizontal motion unit)] inches. ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڎڍ ٻESC d n [ ٻName] Print and feed n lines [ ٻFormat] ASCII ESC d n ٻ HEX 1B 64 n ٻ Decimal 27 100 n [ ٻRange] 0n [ ٻDescription] Prints the data in the print buffer and feeds n lines. [ ٻNote] 1) This command sets the print starting position to the beginning of the line. ٻ 2) This command does not affect the line spacing set by ESC 2 or ESC 3. [ ٻReference] ESC 2, ESC 3 255 ٻFF [ ٻName] Print and return to standard mode in page mode. [ ٻFormat] ASCII FF ٻ HEX 0C ٻ Decimal 12 [ ٻDescription] Prints the data in the print buffer collectively and returns to standard mode. [ ٻNote] 1) The buffer data is deleted after being printed. ٻ 2) The Printing area set by ESC W is reset to the default setting. ٻ 3) This command sets the print position to the beginning of the line. ٻ 4) This command is enabled only in page mode. [ ٻReference] ESC FF, ESC L, ESC S ٻESC FF [ ٻName] Print data in page mode. [ ٻFormat] ASCII ESC FF ٻ HEX 1B 0C ٻ Decimal 27 12 [ ٻDescription] In page mode, prints all buffered data in the printing area collectively. [ ٻNote] This commands is enabled only in page mode. ٻ After printing the printer does not clear the buffered data, setting values for ESC T ٻ and ESC W, and the position for buffering. [ ٻReference] FF, ESC L, ESC S ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڏڍ ]UYUGsGzGjG ٻThe PORTI-PC40 supports the following commands for setting line spacing. These ٻcommands only set the line spacing; they do not actually advance the paper. The line spacing ٻset using these commands affects the results of LF and ESC d and paper feeding by using the ٻFEED button. ٻ ٻ Command Name ٻ ESC 2 Select default line spacing ٻ ESC 3 Set line spacing ٻ ٻESC 2 [ٻName] Select default line spacing [ٻFormat] ASCII ESC 2 ٻ HEX 1B 32 ٻ Decimal 27 50 [ٻDescription] Selects 1/7 inch line (approximately 3.75mm) spacing. [ٻNote] The line spacing can be set independently in standard mode and ٻ in page mode. [ٻReference] ESC 3 ٻESC 3 n [ٻName] Set line spacing [ٻFormat] ASCII ESC 3 n ٻ HEX 1B 33 n ٻ Decimal 27 51 n [ٻRange] 0 അ n അ 255 [ٻDescription] ٻ ٻڸۀۏۊکڶٻ Sets the line spacing to [n x vertical or horizontal motion until] inches. 1) The line spacing can be set independently in standard mode and in page mode. ٻ 2) The horizontal and vertical motion unit are specified by GS P. ٻ Changing the horizontal or vertical motion unit does not affect the current line ٻ spacing. ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڐڍ ٻ 3) The GS P command can change the horizontal (and vertical) motion unit. ٻ However, the value cannot be less than the minimum vertical movement amount, ٻ and it must be in even units of the minimum vertical movement amount. ٻ 4) In standard mode, the vertical motion unit (y)ٻډڿۀێېٻێۄٻ ٻٻ ٻ 5) In page mode, this command functions as follows, depending on the starting ٻ position of the printable area: ٻ When the starting position is set to the upper left or lower right of the printable area ٻ using ESC T, the vertical motion unit(y) is used. When the starting position is set to ٻ the upper right or lower left of the printable area using ESC T, the horizontal motion ٻ unit(x) is used. [ ٻReference] ESC 2, GS P ٻ ٻ ]UZUGjGjG ٻ The PORTI- PC40 supports the following commands for setting character font and size: ٻ ٻ Command Name ٻ ESC SP Set right-side character spacing ٻ ESC R Select an international character set ٻ ESC ! Select print mode ٻ ESC - Turn underline mode on/off ٻ ESC E Turn emphasized mode on/off ٻ ESC G Turn double-strike mode on/off ٻ ESC { Turn upside-down ٻ GS ! Select character size ٻ GS B Turn white/black reverse printing mode on/off ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڑڍ ٻESC SP n [ ٻName] Set right-side character spacing. [ ٻFormat] ASCII ESC SP n ٻ HEX 1B 20 n ٻ Decimal 27 32 n [ ٻRange] 0 n 255 [ ٻDescription] Sets the character spacing for the right side of the character to [n x horizontal or ٻ vertical motion units] inches. [ ٻNote] 1) The right side character spacing for double-width mode is twice the normal ٻ value. When characters are enlarged, the right side character spacing is n times ٻ normal value. ٻ 2) This command sets values independently in each mode. ٻ 3) The horizontal and vertical motion unit are specified by GS P. Changing the ٻ horizontal or vertical motion unit does not affect the current right-side spacing. ٻ 4) The maximum right side spacing if 255/180 inches, Any setting exceeding ٻ the maximum is converted to the maximum automatically. [ ٻDefault] n=0 [ ٻReference] GS P ٻ ٻESC R n [ ٻName] Select an international character set. [ ٻFormat] ASCII ESC R n ٻ HEX 1B 52 n ٻ Decimal 27 82 n [ ٻRange] 0 n 10 [ ٻDescription] Selects an international character set n from the following table. ٻٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڒڍ ٻ ٻ n Character set n Character set ٻ 0 U.S.A 6 Sweden ٻ 1 France 7 Italy ٻ 2 Germany 8 Spain ٻ 3 U.K 9 Norway ٻ 4 Denmark 10 Denmark II [ ٻDefault] n=0 ٻ ٻESC ! n [ ٻName] Select print mode. [ ٻFormat] ASCII ESC ! n ٻ HEX 1B 21 n ٻ Decimal 27 33 n [ ٻRange] 0 അ n അ 255 [ ٻDescription] Select print mode(s) using n as follows,. ٻ ٻ Bit ٻ 0 ٻ ٻ ٻ 1 2 ٻ ٻ 3 ٻ ٻ 4 ٻ ٻ ٻ 5 6 ٻ ٻ 7 Off / On Hex Decimal Function Off 00 0 Character font A (12 x 24) On 01 1 Character font B (9 x 24) Off - - Undefined On - - Undefined Off - - Undefined On - - Undefined Off 00 Emphasized mode not selected On 10 Emphasized mode selected Off 00 Double-height mode not selected On 20 Double-height mode selected Off 00 Double-width mode not selected On 20 Double-width mode selected Off - - Undefined On - - Undefined Off 00 0 Underline mode not selected On 80 128 Underline mode selected ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ړڍ [ ٻNote] 1) When both double-height and double-width modes are selected, quadruple size ٻ characters are printed. ٻ 2) The printer can underline all characters, but can not underline the space set by ٻ HT. ٻ 3) The thickness of the underline is that selected by ESC -, regardless of the ٻ character size. ٻ 4) When some characters in a line are double or mode height, all the characters on ٻ the line are aligned at the baseline. ٻ 5) ESC – can also turn on or off underline mode. However, the setting of the last ٻ received command is effective. ٻ 7) GS ! can also select character size. However, the setting of the last received ٻ command is effective. [ ٻReference] ESC -, ESC E, GS! ٻ ٻESC - n [ ٻName] Turn underline mode on/off [ ٻFormat] ASCII ESC - n ٻ HEX 1B 2D n ٻ Decimal 27 45 n ٻٻڸۀۂۉڼڭڶ ٻ ٻڋഅٻۉٻഅٻڌٻ [ ٻDescription] Turns underline mode on or off, based on the following values of n; ٻ ٻ n Function ٻ 0, 48 Turns off underline mode ٻ 1. 49 Turns on underline mode (1 dot thick). ٻ 2, 50 Turns on underline mode (2 dot thick) ٻ [ ٻNotes] 1) The printer can underline all characters (including right-side character spacing), ٻ but cannot underline the space set by HT. ٻ 2) The printer cannot underline white/black inverted characters. ٻ 3) When underline mode id turned off by setting the value of n to 0 or 48, the ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڔڍ ٻ following data is not underlined, and the underline thickness set before the mode is ٻ turned off does not change. The default underline thickness is 1 dot. ٻ 4) Changing the character size does not affect the current underline thickness. ٻ 5) Underline mode can also be turned on or off by using ESC !. ٻ Note, however, that the last received command is effective. [ ٻDefault] n=0 [ ٻReference] ESC ! ٻ ٻESC E n [ ٻName] Turn emphasized [ ٻFormat] ASCII ESC E n ٻ HEX 1B 45 n ٻ Decimal 27 69 n [ ٻRange] 0 അ n അ 255 [ ٻDescription] Turns emphasized mode on of off. ٻ When the LSB(least significant bit) is 0, emphasized mode is turned off. ٻ When the LSB(least significant bit) is 1, emphasized mode is turned on. [ ٻNote] 1) Only the least significant bit of n is enabled. ٻ 2) This command and ESC ! turn on and off emphasized mode in ٻ the same way. Be careful when this command is used with ESC ! [ ٻDefault] n=0 [ ٻReference] ESC ! mode On/Off. ٻESC { n [ ٻName] Turn On/Off upside-down printing mode [ ٻFormat] ASCII ESC { n ٻ HEX 1B 7B n ٻ Decimal 27 123 n [ ٻRange] 0 അ n അ 255 [ ٻDescription] Turns upside-down printing mode on of off ٻ When the LSB is 0, upside-down mode is turned off. ٻ When the LSB is 1, upside-down mode is turned on. ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڋڎ [ ٻNote] 1) Only the lowest significant bit of n is valid. ٻ 2) This command is enabled only when processed at the beginning of a line in ٻ standard mode. ٻ 3) When this command is input in page mode, the printer performs only internal flag ٻ operations. ٻ 4) This command does not affect printing in page mode. ٻ 5) In upside-down printing mode, the printer rotates the line to be ٻ printed by 180 degree and then prints it. [ ٻDefault] n = 0 [ ٻExample] ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻGS ! n [ ٻName] Select character size [ ٻFormat] ASCII GS ! n ٻ HEX 1D 21 n ٻ Decimal 29 33 n [ ٻRange] 0 അ n അ 255 [ ٻDescription] (1 അ vertical number of times അ 8, 1 അ horizontal number of times അ 8) ٻ Selects the character width using bits 0 to 2 and selects the character height using ٻ bits 4 to 7, as follows; ٻ ٻٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڌڎ ٻٻ ٻٻ Hex Decimal Width Hex Decimal Height ٻٻ 00 0 1 (normal) 00 0 1 (normal) ٻٻ 01 1 2 (double width) 10 16 2 (double height) ٻٻ 02 2 3 20 32 3 ٻٻ 03 3 4 30 48 4 ٻٻ 04 4 5 40 64 5 ٻٻ 05 5 6 50 80 6 ٻٻ 06 6 7 60 96 7 ٻٻ 07 7 8 70 112 8 ٻٻ Character Height Selection Character Width Selection [ ٻNotes] 1) This command is all characters effective ٻ 2) If n is outside of the defined range, this command is ignored. ٻ 3) In standard mode, the vertical direction is the paper feed direction, and the ٻ horizontal direction is perpendicular to the paper feed direction. ٻ 4) In page mode, vertical and horizontal directions are based on the character ٻ orientation. ٻ 5) When characters are enlarged with different sizes on one line, all the characters ٻ on the line are aligned at the baseline. ٻ 6) The ESC ! command can also turn double width and double height modes on or ٻ off. [ ٻDefault] n=0 [ ٻReference] ESC ! ٻ ٻGS B n [ ٻName] Turn white/black reverse printing mode On/Off. [ ٻFormat] ASCII GS B n ٻ HEX 1D 42 n ٻ Decimal 29 66 n [ ٻRange] 0 അ [ ٻDescription] Turns on or off White/Black reverse printing mode. n അ 255 ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڍڎ [ ٻNotes] 1) When the LSB is 0, white/black reverse printing mode is turned on. ٻ 2) When the LSB is 1, white/black reverse printing mode is turned off. ٻ 3) Only the lowest bit of n is valid. ٻ 4) This command is available for built in characters and user defined characters. ٻ 5) When white/black reverse printing mode is on, it also applied to character ٻ spacing set by ESC SP. ٻ 6) This command does not affect the space between lines. ٻ 7) White/black reverse mode has a higher priority than underline mode. Even if ٻ underline mode is on, it is disabled (but not canceled) when white/black reverse ٻ mode is selected. [ ٻDefault] n = 0 ٻ ٻ ]U[UGwGiGjG ٻ The PORTI- PC40 supports the following command for enabling and disabling the panel ٻ button. ٻ ٻ Command Name ٻ ESC c 5 Enable/disable panel buttons ٻ ٻESC c 5 n [ ٻName] Enable/Disable panel buttons [ ٻFormat] ASCII ESC c 5 n ٻ HEX 1B 63 35 n ٻ Decimal 27 97 53 n [ ٻRange] 0 അ n [ ٻDescription] Enables or disables the panel buttons. ٻ When the LSB is 0, the panel buttons are enabled. ٻ When the LSB is 1, the panel buttons are disabled. [ ٻNotes] 1) Only the least significant bit of n is valid. അ 255 ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڎڎ ٻ 2) When the panel buttons are disabled, none of them are usable when the printer ٻ cover is closed. ٻ 3) In this printer, the panel buttons is the FEED button. ٻ 4) In the macro ready mode, the FEED button are enabled regardless of the settings ٻ of this command; however, the paper cannot be fed by using these buttons. [ ٻDefault] n=0 ٻ ]U\UGwGwGjG ٻ The PORTI- PC40 supports the following commands for setting the print position ٻ ٻ Command Name ٻ ESC $ Set absolute print position ٻ ESC \ Set relative print position ٻ ESC a Select justification ٻ HT Horizontal tab ٻ ESC D Set horizontal tab positions ٻ GS L Set left margin ٻ GS W Set printing area width ٻ ESC W Set printing area in page mode ٻ ESC T Select print direction in page mode ٻ GS $ Set absolute vertical print position in page mode ٻ GS \ Set relative vertical print position in page mode ٻ ESC Oٻ ٻ Set print starting position. ٻ ٻ ٻESC $ nL nH [ ٻName] Set absolute print position [ ٻFormat] ٻ ASCII ESC $ nL nH HEX 1B 24 nL nH ٻ Decimal 27 36 nL nH [ ٻRange] ٻ 0 അ nL അ 255 0 അ nH അ 255 ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڏڎ [ ٻDescription] ٻ Set the distance from the beginning of the line to the position at which subsequent [ ٻNotes] ٻ 1) The distance from the beginning of the line to the print position is [(nL + nH x 256) x (vertical or horizontal motion unit)] inches. ٻ 2) Setting outside the specified printable area are ignored. ٻ 3) The horizontal and vertical motion unit are specified by GS P. ٻ 4) The GS P command can change the horizontal (and vertical) motion unit. ٻ However, the value cannot be less than the minimum horizontal movement ٻ amount, and it must be in even units of he minimum horizontal movement amount. ٻ 5) In standard mode, the horizontal motion unit (x) is used. ٻ 6) In page mode, horizontal or vertical motion unit differs depending on the ٻ starting position of the printable area as follows; characters are to be printed. ٻ 1. When the starting position is set to the upper left or lower right ٻ of the printable area using ESC T, the horizontal motion unit (x) is ٻ used. ٻ 2. When the starting position is set to the upper right or lower left of the ٻ printable area using ESC T, the vertical motion unit (y) is used. [ ٻReference] ٻ ٻESC \ nL nH [ ٻName] ESC\, GS$, GS\, GS P Set relative print position [ ٻFormat] ٻ ASCII ESC \ nL nH HEX 1B 5C nL nH ٻ Decimal 27 92 nL nH [ ٻRange] ٻ 0 അ nL അ 255, [ ٻDescription] [ ٻNotes] Set the print starting position based on the current position by using ٻ horizontal or vertical motion unit] 0 അ nL അ 255 1) This command sets the distance from the current position to [(nL+nHx256) x ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڐڎ ٻ 2) Any setting that exceeds the printable are is ignored ٻ 3) When pitch N is specified to the right; nL + nH x 256 = N ٻ When pitch N is specified to the left (the negative direction), use the complement of ٻ 65536. ٻ 4) The print starting position moves from the current position to [N x horizontal or ٻ vertical motion unit)] ٻ 5) The horizontal and vertical motion unit are specified by GS P. ٻ 6) The GS P command can change the horizontal (and vertical) motion unit. ٻ However, the value cannot be less than the minimum horizontal movement amount, ٻ and it must be in even units of the minimum horizontal movement amount. ٻ 7) In standard mode, the horizontal motion unit is used. ٻ 8) In page mode, the horizontal or vertical unit differs as follows, depending on the ٻ starting point of the printing area; ٻ When the starting position is set to the upper left or lower right of the printable area ٻ using ESC T, the horizontal motion unit (x) is used. When the starting position is set ٻ to the upper right or lower left of the printable area using ESC T, the vertical motion ٻ unit (y) is used. [ ٻReference] ESC $, ESC P ٻ ٻESC a n [ ٻName] Select justification [ ٻFormat] ASCII ESC a n ٻ HEX 1B 61 n ٻ Decimal 27 97 n [ ٻRange] 0 അ n അ 2 ٻ 48 അ n അ 50 [ ٻDescription] Aligns all the data in one line to the specified position. n selects the type of ٻ justification as follows; ٻ ٻٻ ٻ n 0, 48 1, 49 2, 50 Justification Left justification Center justification Right justification ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڑڎ [ ٻNotes] 1) The command is enabled only when processed at the beginning of the line in ٻ standard mode. ٻ 2) If this command is input in page mode, the printer performs only internal flag ٻ operations. ٻ 3) This command has no effect in page mode. ٻ 4) This command executes justification in the printing area. ٻ 5) This command justifies the space area according to HT, ESC $ or ESC \ [ ٻDefault] n=0 [ ٻExample] ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻHT [ ٻName] Horizontal Tab [ ٻFormat] ASCII HT ٻ HEX 09 ٻ Decimal 9 [ ٻDescription] Moves the print position to the next horizontal tab position. [ ٻNote] 1) This command is ignored unless the next horizontal tab position has been set. ٻ 2) If the next horizontal tab position exceeds the printing area, the printer sets the ٻ printing position to [Printing area width + 1] ٻ 3) Horizontal tab positions are set with ESC D. ٻ 4) If this command is received when the printing position is at [Printing area width ٻ + 1], the printer executes print buffer-full printing of the current line and horizontal ٻٻ ٻ tab processing from the beginning of the next line. ٻ 5) The default setting of the horizontal tab position for the paper roll is every 0th ٻ character. [ ٻReference] ESC D ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڒڎ ٻESC D n1…nk NUL [ ٻName] Set horizontal tab positions. [ ٻFormat] ASCII ESC D n1…nk NUL ٻ HEX 1B 44 n1…nk 00 ٻ Decimal 27 68 n1…nk 0 [ ٻRange] 1 <= n <= 255 ٻ 0 <= k <=32 [ ٻDescription] Set horizontal tab position [ ٻNotes] 1) n specifies the column number for setting a horizontal tab position from the ٻ beginning of the line. ٻ 2) k indicates the total number of horizontal tab positions to be set. ٻ 3) The horizontal tab position is stored as a value of [character width x n] measured ٻ from the beginning of the line. The character width includes the right-side character ٻ spacing, and double-width characters are set with twice the width of normal ٻ characters. ٻ 4) This command cancels the previous horizontal tab settings. ٻ 5) When setting n=8, the print position is moved to column 9 by sending HT. ٻ 6) Up to 32 tab positions (k=32) can be set. Data exceeding 32 tab positions is ٻ processed as normal data. ٻ 7) Transmit [n]k in ascending order and place a NUL code 0 at the end. ٻ 8) When [n]k is less than or equal to the preceding value [n]k-1, tab setting is ٻ finished and the following data is processed as normal data. ٻ 9) ESC D NUL cancels all horizontal tab positions. ٻ 10) The previously specified horizontal tab positions do not change, even if the ٻ character width changes. ٻ 11) The character width is memorized for each standard and page mode. [ ٻDefault] The default tab positions are at intervals of 0 characters. [ ٻReference] HT ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ړڎ ٻGS L nL nH [ ٻName] Set left margin. [ ٻFormat] ASCII GS L nL nH ٻ HEX 1D 4C nL nH ٻ Decimal 29 76 nL nH [ ٻRange] 0 അ [ ٻDescription] Set the left margin using nL and nH. [ ٻNotes]1) The left margin is set to [(nL+nHx256)] x (horizontal motion unit) inches. nL അ 255, 0 അ nH അ 255 ٻ ٻ ٻٻ ٻٻ ٻ ٻٻ ٻ 2) This command is effective only processed at the beginning of the line in standard ٻ mode. ٻ 3) If this command is input in page mode, the printer performs only internal flag ٻ operations. ٻ 4) This command does not affect printing in page mode. ٻ 5) If the setting exceeds the printable area, the maximum value of the printable area is ٻ used. ٻ 6) The horizontal and vertical motion units are specified by GS P. ٻ Changing the horizontal and vertical motion unit does not affect the current left ٻ margin. ٻ 7) The horizontal motion unit (x) is used for calculating the left margin. ٻ The calculated result is truncated to the minimum value of the mechanical pitch. [ ٻDefault] nL = 0, nH = 0 [ ٻReference] GS P, GS W ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڔڎ ٻGS W nL nH [ ٻName] Set printing area width [ ٻFormat] ASCII GS W nL nH ٻ HEX 1D 57 nL nH ٻ Decimal 29 87 nL nH [ ٻRange] 0 അ nL അ 255, 0 അ nH അ 255 [ ٻDescription] Sets the printing area width to the area specified by nL and nH. [ ٻNotes] 1) The printing area width is set to [(nL+nHx256)] x horizontal motion unit inches. ٻ ٻ ٻ ٻ ٻ 2) This command is effective only processed at the beginning of the line. ٻ 3) In page mode, the printer performs only internal flag operations. ٻ 4) This command does not affect printing in page mode. ٻ 5) If the [left margin + printing area width] exceeds the printable area, (printable ٻ area width - left margin) is used. ٻ 6) The horizontal and vertical motion units are specified by GS P. ٻ Changing the horizontal and vertical motion units does not affect the current left ٻ margin. ٻ 7) The horizontal motion unit (x) is used for calculating the printing area width. ٻ The calculated result is truncated to the minimum value of the mechanical pitch. ٻ 8) If the width set for the printing area is less than the width of one character, when ٻ the character data is developed, the following ٻ ٻ ٻ ٻ ٻ If the printing area width cannot be extended sufficiently, the left margin is reduced ٻ to accommodate one character. ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڋڏ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻ If the printing area width cannot be extended sufficiently, the right space is ٻ reduced. ٻٻ 9) If the width set for the printing area is less than one line in vertical, the ٻ following processing is performed only on the line in question when data ٻ other than character data(e.g., bit image, user defined bit image) is ٻ developed: ٻ The printing area width is extended to the right to accommodate one line in ٻ vertical for the bit image within the printable area. If the printing area width ٻ cannot be extended sufficiently, the left margin is reduced to accommodate one line ٻ in vertical. [ ٻDefault] nL = 0, nH = 2 [ ٻReference] GS L, GS P ٻ ٻESC W xL xH yL yH dxL dxH dyL dyH [ ٻName] Set printing area in page mode [ ٻFormat] ASCII ESC W xL xH yL yH dxL dxH dyL dyH ٻ HEX 1B 57 xL xH yL yH dxL dxH dyL dyH ٻ Decimal 27 87 xL xH yL yH dxL dxH dyL dyH [ ٻRange] 0 അ xL,xH,yL,yH,dxL,dxH,dyL,dyH അ255 ٻ (except dxL=dxH=0 or dyL=dyH=0) [ ٻDescription] The horizontal starting position, vertical starting position, ٻ printing area width, and printing area height are defined as ٻ x0, y0, dx(inch), respectively. ٻ x0 = [(xL + xH * 256)] * (horizontal motion unit) ٻ y0 = [(yL +yH * 256)] * (vertical motion unit) ٻ dx = [(dxL + dxH x 256)] x (horizontal motion unit) ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڌڏ ٻ dy = [(dyL + dyH * 256)] * (vertical motion unit) ٻ The printing area is set as shown in the figure below. [ ٻNote] 1) If this commands is input in standard mode, the printer executes only internal flag ٻ operation. This command does not affect printing in standard mode. ٻ 2) If the horizontal or vertical starting position is set outside the printable area, the ٻ printer stops command processing and processes the following data as normal data. ٻ 3) If the printing area width or height is set to 0, the printer stops command ٻ processing and processes the following data as normal data. ٻ 4) This command sets the position where data is buffered to the position specified ٻ by ESC T within the printing area. ٻ 5) If (horizontal starting position + printing area width) exceeds the printable area, ٻ the printing area width is automatically set to (horizontal printable area - horizontal ٻ starting position). ٻ 6) If (vertical starting position + printing area height) exceeds the printable area, the ٻ printing area height is automatically set to (vertical printable area-vertical starting ٻ position). ٻ 7) The horizontal and vertical motion unit are specified by GS P. Changing the ٻ horizontal or vertical motion unit does not affect the current printing area. ٻ 8) The GS P command can change the horizontal (and vertical) motion unit. ٻ However, the value cannot be less than the minimum horizontal movement amount, ٻ and it must be in even units of minimum horizontal movement amount. ٻ 9) Use the horizontal motion unit (x) for setting the horizontal starting position and ٻ printing area width, and use the vertical motion unit (y) for setting the vertical ٻ starting position and printing area height. ٻ 10) When the horizontal starting position, vertical starting position, printing area ٻ width, and printing area height are defined as X, Y, Dx, Dy respectively, the ٻ printing area is set as shown in the figure below. ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڍڏ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ [ ٻDefault] xL = xH = yL = yH = 0 ٻ dxL = 0, dxH = 2, dyL = 126, dyH = 6 [ ٻReference] CAN, ESC L, ESC T, GS P ٻ ٻESC T n [ ٻName] Select print direction in page mode [ ٻFormat] ASCII ESC T n ٻ HEX 1B 54 n ٻ Decimal 27 84 n [ ٻRange] 0 അ n അ 3 or 48 അ n അ51 [ ٻDescription] Selects the print direction and starting position in page mode. ٻ n specifies the print direction and starting position as follows; ٻٻ ٻ ٻ Print n Starting position direction ٻ ٻ Upper left 0,48 Left to right (A in the figure) ٻ ٻ Lower left 1,49 Bottom to top (B in the figure) ٻ ٻ Lower right 2,50 Right to left (C in the figure) ٻ ٻ ٻ Upper right 3,51 Top to bottom (D in the figure) ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڎڏ [ ٻNotes] 1) When the command is input in standard mode, the printer executes only internal ٻ flag operation. This command does not affect printing in standard mode. ٻ 2) This command sets the position where data is buffered within the printing area ٻ set by ESC W. ٻ 3) Parameters for horizontal or vertical motion units (X or Y) differ as follows, ٻ depending on the starting position of the printing area; ٻ If the starting position is the upper left or lower right of the printing area, data is ٻ buffered in the direction perpendicular to the paper feed direction. ٻ Commands using horizontal motion unit: ESC SP, ESC $, ESC \ ٻ Commands using vertical motion unit: ESC 3, ESC J, GS $, GS \ ٻ If the starting position is the upper right or lower left of the printing area, data is ٻ buffered in the paper feed direction. ٻ Commands using horizontal motion units : ESC 3, ESC J, GS $,GS \ ٻ Commands using vertical motion units : ESC SP, ESC $, ESC \ [ ٻDefault] n=0 [ ٻReference] ESC $, ESC L, ESC W, ESC \, GS $, GS P, GS \ ٻ ٻGS $ nL nH [ ٻName] Set absolute vertical print position in page mode. [ ٻFormat] ASCII GS $ nL nH ٻ HEX 1D 24 nL nH ٻ Decimal 29 36 nL nH [ ٻRange] 0 അ nL അ 255, 0 അ nH അ 255 [ ٻDescription] Sets the absolute vertical print starting position for buffer character data in page ٻ mode. [ ٻNotes] 1) This command sets the absolute print position to [(nL+nHx256)]x (vertical or ٻ horizontal motion unit) inches. ٻ 2) This command is effective only in page mode. ٻ 3) If the [(nL+nHx256)] x (vertical or horizontal motion unit) exceeds the specified ٻ printing area, this command is ignored. ٻ 4) The horizontal starting buffer position does not move. ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڏڏ ٻ 5) The reference starting position is that specified by ESC T. ٻ 6) This command operates as follows, depending on the starting position of the ٻ printing area specified by ESC T; When the starting position is set to the upper left ٻ or lower right, this command sets the absolute position in the vertical direction. ٻ When the starting position is set to the upper right or lower left, this command sets ٻ the absolute position in the horizontal direction. ٻ 7) The horizontal and vertical motion unit are specified by GS P. ٻ 8) The GS P command can change the horizontal and vertical motion unit. ٻ However, the value cannot be less than the minimum horizontal movement amount, ٻ and it must be in even units of the minimum horizontal movement amount. [ ٻReference] ESC $, ESC T, ESC W, ESC \, GS P, GS \ ٻ ٻGS \ nL nH [ ٻName] Set relative vertical print position in page mode [ ٻFormat] ASCII GS \ nL nH ٻ HEX 1D 5C nL nH ٻ Decimal 29 92 nL nH [ ٻRange] 0 അ nL അ 255 ٻ 0 അ nH അ 255 [ ٻDescription] Sets the relative vertical print starting position from the current position in page ٻ mode. [ ٻNotes] 1) This command sets the distance from the current position to [(nL + nHx256)] x ٻ vertical or horizontal motion unit inches. ٻ 2) This command is ignored unless page mode is selected. ٻ 3) When pitch N is specified to the movement downward; ٻ nL + nHx256 = N ٻ When pitch N is specified to the movement upward (the negative direction), use the ٻ complement of 65536. ٻ When pitch N is specified to the movement upward; ٻ nL + nH x 256 = 65536 - N ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڐڏ ٻٻ ٻ 4) Any setting that exceeds the specified printing area is ignored. ٻ 5) This command function as follows, depending on the print ٻ starting position set by ESC T; ٻ When the starting position is set to the upper left or lower right ٻ of the printing, the vertical motion unit (y) is used. ٻ When the starting position is set to the upper right or lower left ٻ of the printing, the horizontal motion unit (x) is used. ٻ 6) The horizontal and vertical motion unit are specified by GS P. ٻ 7) The GS P command can change the horizontal (and vertical) ٻ motion unit. However, the value cannot be less than the minimum ٻ horizontal movement amount, and it must be in even units of the ٻ minimum horizontal movement amount. ٻڸۀھۉۀۍۀہۀڭڶ ٻ ٻٻګٻڮڢٻڇٿٻڮڢٻڇڷٻڞڮڠٻڇڲٻڞڮڠٻڇگٻڞڮڠٻڇٿٻڞڮڠ ٻٻ ٻESC O xL xH yL yH [ ٻName] Set print starting position. [ ٻFormat] ASCII ESC O xL xH yL yH ٻ HEX 1B 4F xL xH yL yH ٻ Decimal 27 79 xL xH yL yH [ ٻDescription] Set horizontal starting position and vertical starting position. ٻ Horizontal starting position = (xL + xH * 256) * (horizontal motion unit) ٻ Vertical starting position = (yL + yH * 256) * (vertical motion unit) ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڑڏ ]U]UGiTpGjG ٻ ٻ The PORTI- PC40 supports the following bit-image command. ٻ Command Name ٻ ESC * Select bit image mode ٻ ESC X 4 Define user-defined bit image ٻ ٻ ٻ ٻ ٻ ESC * m nL nH d1 dk [Name] Select bit-image mode. [Format] ASCII ESC * m nL nH d1…dk HEX 1B 2A m nL nH d1…dk Decimal 27 42 m nL nH d1…dk ٻ ٻ ٻ [Range] m = 0,1,32,33 0 nL 255 ٻ 0 nH 3 ٻ 0 d 255 ٻ ٻ [Description] Selects a bit-image mode using m for the number of dots specified by nL and nH, as follows: ٻ ٻ ٻm ٻ ٻ ٻ ٻ0 ٻ ٻ1 ٻ 32 ٻ ٻ33 ٻ ٻ ٻ ٻ [Notes] Vertical direction mode Number Dot density Horizontal direction Dot density Number of Data of Dots 8 dot single density 8 60 DPI 90 DPI nL+nHx256 8 dot double density 8 60 DPI 180 DPI nL+nHx256 24 dot single density 24 180DPI 90 DPI (nL+nHx256)x3 24 dot double 24 180 DPI 180 DPI (nL+nHx256)x3 1) If the values of m is out of the specified range, nL and data following are processed an normal data. ٻ 2) The nL and nH indicate the number of dots of the bit image in the horizontal ٻ direction. ٻ 3) The number of dots is calculated by nL + nH x 256.ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڒڏ ٻ ٻ 4) If the bit-image data input exceeds the number of dots to be printed on a line, the excess data is ignored. ٻ ٻ ٻ ٻ ٻ 5) d indicates the bit-image data. Set a corresponding bit to 1 to print a dot or to 0 to not print a dot. 6) If the width of the printing area set by GS L and GS W less than the width required by the data sent with the ESC * command, the following will be performed ٻ on the line in question (but the printing cannot exceed the maximum printable area): ٻ The width of the printing area is extended to the right to accommodate the amount ٻ of data. ٻ If step does not provide sufficient width for the data, the left margin is reduced to ٻ accommodate the data. ٻ 7) After printing a bit image, the printer returns to normal data processing ٻ mode. ٻ 8) This command is not affected by print modes (emphasized, double- ٻ strike, underline, character size or White/Black reverse printing), except ٻ upside-down printing mode. ٻ 9) The relationship between the image data and the dots to be printed is as ٻ follows; ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ړڏ - When 8-dot bit image is selected ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ- When 24-dot bit image is selected ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ڔڏ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ٻESC X 4 x y d1…dk [ ٻName] Define user-defined bit-image [ ٻFormat] ASCII ESC X 4 x y d1…dk ٻ HEX 1B 58 34 x y d1…dk ٻ Decimal 27 88 52 x y d1…dk [ ٻDescription] ESC X 4 x y d1 ... d(x y) ҏ defines a user-defined bit image using x ҏ8 ٻ dots in the horizontal direction and y dots in the vertical direction. ٻ - Horizontal direction dots ٻ - Vertical direction dots ٻ = (x * 8)dots = (y)dots ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڋڐ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻٻ ٻ ٻٻ [ ٻNote] ESC X 4 is supported in Porti_W,S produced after August,2002, but it’s not ٻ supported in others yet. [ ٻReference] ESC W, ESC O, FF ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڌڐ ]U^UGzGjG ٻ The PORTI- PC40 supports the following status transmission command. ٻ ٻ Command ٻ DLE EOT EOT ٻ Name Real-time paper status transmission ٻ ٻDLE EOT EOT ٻ ٻ [Name] Real-time paper status transmission [Format] ASCII DLE EOT EOT HEX 10 04 04 Decimal 16 4 4 ٻ ٻ ٻ ٻ [Description] Real time paper status transmission [Note] DLE EOT EOT is supported only by PORTI_T80. ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ Bit ٻ ٻ Status 0 Roll end sensor : paper present 1 Roll end sensor : paper not present - Not used 0 Paper end sensor : paper present 1 Paper end sensor : paper not present 0 ٻ ٻ 0/1 1 2 ٻ ٻ 3 - Not used ٻ 4 - Not used 5 - Not used 0 Front end sensor : paper present 1 Front end sensor : paper not present - Not used ٻ ٻ ٻ 6 ٻ ٻ 7 ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڍڐ ]U_UGiGjG ٻ ٻ The PORTI- PC40 supports the following barcode commands. ٻ Command Name ٻ GS h Set barcode height ٻ GS w Set barcode width ٻ GS k Print bar code ٻ GS H Select printing position of Human Readable Interpretation ٻ (HRI) characters ٻ ٻ ٻ ٻ ٻ GS h n [Name] Set barcode height [Format] ASCII GS h n HEX 1D 68 n Decimal 29 104 n ٻ ٻ ٻ ٻ [Range] 0 അ n അ 255 [Description] GS h n selects the height of a barcode. ٻ n specifies the number of dots in the vertical direction. ٻ One dot corresponds 1/8mm. The default setting is n = 80. ٻ ٻ ٻ ٻ GS w n [Name] Set barcode width [Format] ASCII GS w n HEX 1D 77 n Decimal 29 119 n ٻ ٻ ٻ ٻ ٻ 3 അ n അ 5 [Range] n = 0, [Description] GS w n selects the horizontal size of a barcode. The default setting is n = 0. ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڎڐ ྙٻ ٻ ྙGS k m d1೨dk NUL ྚGS k m n d1…dn [ ٻName] Print barcode [ ٻFormat] ཛASCII GS ٻ HEX ٻ Decimal 29 ٻ ཛྷ ASCII GS 1D ٻ HEX ٻ Decimal 29 1D k m d1…dk NUL 6B m d1…dk 00 107 m d1…dk 0 k m n d1…dn 6B m n d1…dn 107 m n d1…dn [ ٻRange] ཛ 0 m 6 (k and d depends on the bar code system used.) ٻ ཛྷ 0 m 6 (n and d depends on the bar code system used.) [ ٻDescription] GS k m d1…dk NUL selects a barcode system and print the barcode. ٻ m specifies a bar code system as follows; ٻ ྙٻ ٻٻm ٻ0 ٻ ٻ ٻ ٻ Barcode System Number of character Remarks UPC-A 11 k 12 48 d 57 1 UPC-E 11 k 12 48 d 57 2 EAN13 11 k 13 48 d 57 3 EAN8 7k8 48 d 57 4 CODE39 1k 48 d 57, 65 d 90, ٻ ٻ ٻ ٻ ٻ ٻ ٻ d = 32, 36, 37, 43, 45, 46,47 5 ITF 1 k (even number) 48 d 57 6 CODABAR 1k 48 d 57, 65 d 68, d = 36, 43, 45, 46, 47, 58 ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڏڐ ྚٻ ٻm ٻ65 ٻ ٻ ٻ ٻ Barcode System Number of characters Remarks UPC-A 11 n 12 48 d 57 66 UPC-E 11 n 12 48 d 57 67 EAN13 11 n 13 48 d 57 68 EAN8 7n8 48 d 57 69 CODE39 1 n 255 48 d 57, 65 d 90, ٻ ٻ ٻ ٻ d = 32, 36, 37, 43, 45, 46,47 70 ITF 1 n 255 (even number) 48 d 57 71 CODABAR 1 n 255 48 d 57, 65 d 68, d = 36, 43, 45, 46, 47, 58 ٻ ٻ ٻ ٻ 72 CODE93 1 n 255 0 d 127 73 CODE128 2 n 255 0 d 127 ٻ ٻ ٻ [ ٻNotes] 1) This command ends with a NUL code. ٻ 2) When the bar code system used is UPC-A or UPC-E, the printer prints the bar ٻ code data after receiving 12 bytes bar code data and processes the following data as ٻ normal data. ٻ 3) When the bar code system used in EAN13, the printer prints the bar code ٻ after receiving 13 bytes bar code data and processes the following data as normal ٻ data. ٻ 4) When the bar code system used in EAN8, the printer prints the bar code ٻ after receiving 8 bytes bar code data and processes following data as normal data. ٻ 5) The number of data for ITF bar code must be even numbers. ٻ When an odd number of data is input, the printer ignores the last received data. ٻ 6) n indicates the number of bar code data, and the printer processes n bytes from ٻ the next character data as bar code data. ٻ 7) If n is outside of the specified range, the printer stops command processing and ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڐڐ ٻ processes the following data as normal data. ٻ 8) Be sure to keep spaces on both right and left sides of a bar code. ٻ Spaces are different depending on the types of the bar code. [ ٻReference] GS h, GS w, GS H, ESC L, ESC W, ESC FF ٻ ٻGS H n [ ٻName] Turn HRI characters print mode ON/OFF [ ٻFormat] ASCII GS H n ٻ HEX 1D 48 n ٻ Decimal 29 72 n [ ٻRange] n = 0, 1 [ ٻDescription] GS H n turns HRI characters print mode on or off. ٻ When the LSB(least significant bit) of n is 1, HRI ٻ characters print mode is turned on; When it is 0, HRI ٻ character print mode is turned off. ٻ The default setting is n=0. ٻ ٻESC Z m n k d d1…dn [ ٻName] Print 2D barcode [ ٻFormat] ASCII ESC Z m n k d d1…dn ٻ HEX 1B 5A m n k d d1…dn ٻ Decimal 27 90 m n k d d1…dn [ ٻRange] 1m7 ٻ 0n8 ٻ 2k5 ٻ 1 d 65535 [ ٻDescription] Print 2D bar code (PDF417 format). ٻ m specifies column number of 2D bar code. ٻ n specifies security level to restore when bar code image is damaged. ٻ k is used for define horizontal and vertical ratio. ٻ d is consist of 2 byte. 1st byte is lower number. And 2nd byte is upper number. ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڑڐ ]U`UGtGmGjG ٻ The PORTI- PC40 supports the following macro function commands; ٻ ٻ Command Name ٻ GS : Start/end macro definition ٻ GS ^ Execute macro ٻ ٻ ٻ ٻ ٻ ٻ GS : [Name] Start/End macro definition [Format] ASCII GS : HEX 1D 3A Decimal 29 58 ٻ ٻ ٻ ٻ [Description] Starts ends macro definition. [Notes] 1) Macro definition starts when this command is received during normal operation. Macro definition ends when this command is received during macro definition. ٻ 2) When GS ^ is received during macro definition, the printer ends macro definition ٻ and clears the definition. ٻ 3) Macro is not defined when the power is turned on. ٻ 4) The defined contents of the macro are not cleared by ESC @. ٻ Therefore, ESC @ can be included in the contents of the macro definition. ٻ 5) If the printer receives GS : again immediately after previously receiving GS : the ٻ printer remains in the macro undefined state. ٻ 6) The contents of the macro can be defined up to 2048 bytes. If the macro ٻ definition exceed 2048 bytes, excess data is not stored. ٻ ٻ [Reference] GS ^ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڒڐ ٻGS ^ r t m [ ٻName] Execute macro. [ ٻFormat] ASCII GS ^ r t m ٻ HEX 1D 5E r t m ٻ Decimal 29 94 r t m [ ٻRange] 0 <= r <= 255 ٻ 0 <= t <= 255 ٻ m = 0, 1 [ ٻDescription] Executes a macro. [ ٻNotes] 1) r specifies the number of times to execute the macro. ٻ 2) t specifies the waiting time for executing the macro. ٻ 3) m specifies macro executing mode. ٻ When LSB of m = 0 ٻ The macro executes r times continuously at the interval specified by t. ٻ When LSB of m = 1 ٻ After waiting for the period specified by t, the ERROR LED indicators blink and the ٻ printer waits for the FEED button to be pressed. After the button is pressed, the ٻ printer executes the macro once. The printer repeats the operation r times. ٻ 4) The waiting time is t x 100 ms for every macro execution. ٻ 5) If this command is received while a macro is being defined, the macro definition ٻ is aborted and the definition is cleared. ٻ 6) If the macro is not defined or if is 0, nothing is executed. ٻ 7) When the macro is executed (m=1), paper always cannot be fed by using the ٻ FEED button. [ ٻReference] GS : ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ړڐ ]UXWUGtGjGjG ٻThe PORTI- PC40 supports the following mechanism control commands; ٻ ٻ Command Name ٻ GS V Select cut mode and cut paper ٻ ESC i Partial cut (One point center uncut) ٻ ٻ ٻGS V m [ ٻN1ame] Select cut mode and cut paper [ ٻFormat] ASCII GS V n ٻ HEX 1D 56 n ٻ Decimal 86 n [ ٻRange] n=0, n=1 [ ٻDescription] GS V m select a paper cutting mode and then cut the paper. [ ٻNote] GS V is supported only by Porti_T80 / AP60 29 ٻ ٻ N Print Mode ٻ 0 Full cut ٻ 1 Partial cut ٻ ٻESC i [ ٻName] Partial cut (One point center uncut) [ ٻFormat] ASCII ESC i ٻ HEX 1B 69 ٻ Decimal 27 105 [ ٻDescription] ESC i executes a partial cut of the paper with one point center uncut. ٻ ESC i operates in the same way as GS V when m=1 . [ ٻNote] ESC i is supported only by Porti_T80 / AP60 ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڔڐ ]UXWUGtGjGyGjG ٻ The PORTI-PC40 supports the following magnetic card reader commands; ٻ ٻ Command Name ٻ ESC M C Set 2 track card reader mode. ٻ ESC M D Set 3 track card reader mode. ٻ ESC M E Set 2,3 track card reader mode. ٻ EOT Cancel card reader mode ٻ ٻESC M C [ ٻName] Set 2 track card reader mode. [ ٻFormat] ASCII ESC M C ٻ HEX 1B 4D 43 ٻ Decimal 27 77 67 [ ٻNote] When the ESC M C command is executed, printed nothing before read the ٻ card or executed the EOT command. ٻ ٻESC M D [ ٻName] Set 3 track card reader mode. [ ٻFormat] ASCII ESC M D ٻ HEX 1B 4D 44 ٻ Decimal 27 77 68 [ ٻNote] When the ESC M D command is executed, printed nothing before read the ٻ card or executed the EOT command. ٻESC M E [ ٻName] Set 2,3track card reader mode. [ ٻFormat] ASCII ESC M E ٻ HEX 1B 4D 45 ٻ Decimal 27 77 69 [ ٻNote] When the ESC M E command is executed, printed nothing before read the ٻ card or executed the EOT command. ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڋڑ ٻEOT [ ٻName] Cancel card reader mode. [ ٻFormat] ASCII EOT ٻ HEX 04 ٻ Decimal 4 [ ٻDescription] Cancel card reader mode. ٻ ٻCard specification ٻThe table below summarizes the format of the data stored on each magnetic track. ٻ ISO-2 Track (ABA) ISO-3 Track (MINTS) ٻ Recording Density 75 BPI 210 BPI ٻ Recording Capacity 40 characters 107 characters ٻ Data Format Numeric Numeric ٻ Data Capacity 37 characters 104 characters ٻ ٻ ٻ Magnetic Card Data Output Format ڈTrack 2 (ESC M D) ٻ 02H 44H 31H 31H 1CH DATA (37 Characters) 1CH 03H 0DH 0AH DATA (104 Characters) 03H 0DH 0AH ٻ ٻ ٻ ڈTrack 3 (ESC M C) 02H 43H 31H 31H 1CH ٻ ٻ ٻ ڈTrack 2,3 (ESC M E) 02H 45H 31H 31H 1CH 1CH ٻ DATA(37) 1CH DATA(104) 1CH 03H 0DH 0AH ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڌڑ ]UXXUGtGGG ٻ The PORTI- PC40 supports the following miscellaneous function commands; ٻ ٻ Command Name ٻ GS P Set horizontal and vertical motion units ٻ ESC @ Initialize printer ٻ ESC L Select page mode ٻ ESC S Select standard mode ٻGS P x y [ ٻName] Set horizontal and vertical motion units. [ ٻFormat] ASCII GS P x y ٻ HEX 1D 50 x y ٻ Decimal 29 80 x y [ ٻRange] 0 x 255, 0 y 255 [ ٻDescription] Sets the horizontal and vertical motion units to approximately 25.4/x mm(1/x inch) ٻ and approximately 25.4/y mm(1/y inch), respectively. ٻ When x and y are set to 0, the default setting of each value is used. [ ٻNotes] 1) The horizontal direction is perpendicular to the paper feed direction and the ٻ vertical direction is the paper feed direction. ٻ 2) In standard mode, the following commands use x or y, regardless of character ٻ rotation (upside-down). ٻ Command using x : ESC SP, ESC $, ESC \, GS L, GS W ٻ Command using y : ESC 3, ESC J ٻ 3) In page mode, the following command use x or y, depending on character ٻ orientation; ٻ When the print starting position is set to the upper left or lower right of the printing ٻ area using ESC T(data is buffered in the direction perpendicular to the paper feed ٻ direction); ٻ Command using x : ESC SP, ESC $, ESC W, ESC \ ٻ Command using y : ESC 3, ESC J, ESC W, GS $, GS \ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڍڑ ٻ When the print starting position is set to the upper right or lower left of the printing ٻ area ESC T (data is buffered in the paper feed direction); ٻ Command using x : ESC 3, ESC J, ESC W, GS $, GS \ ٻ Command using y : ESC SP, ESC $, ESC W, ESC \ ٻ 4) The command does not affect the previously specified values. ٻ 5) The calculated result from combining this command with others is truncated to ٻ the minimum value of the mechanical pitch. [ ٻDefault] x = 180, y = 360 [ ٻReference] ESC SP, ESC $, ESC 3, ESC J, ESC W, ESC \, GS $, GS L, GS W, GS \ ٻ ٻESC @ [ ٻName] Initialize printer. [ ٻFormat] ASCII ESC @ ٻ HEX 1B 40 ٻ Decimal 27 64 [ ٻDescription] Clears the data in the print buffer and resets the printer mode to the mode that was n ٻ effect when the power was turned on. [ ٻNotes] 1) The data in the receive buffer is not cleared. ٻ 2) The macro definition is not cleared. ٻٻ ٻESC L [ ٻName] Select page mode [ ٻFormat] ASCII ESC L ٻ HEX 1B 4C ٻ Decimal 27 76 [ ٻDescription] Switches from standard mode to page mode. [ ٻNotes] 1) This command is enabled only when processed at the beginning of a line in ٻ standard mode. ٻ 2) This command has no effect in page mode. ٻ 3) After printing by FF is completed or by using ESC S, the printer returns to ٻ standard mode. ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڎڑ ٻ 4) This command sets the position where data is buffered to the position specified ٻ by ESC T within the printing area defined by ESC W. ٻ 5) This command switches the settings for the following commands (in which the ٻ values can be set independently in standard mode and page mode) to those for page ٻ mode; ٻ Set right-side character spacing : ESC SP ٻ Select default line spacing : ESC 2, ESC 3 ٻ 6) Only valve settings is possible for the following commands in page mode; these ٻ commands are not executed. ٻ Select justification : ESC a ٻ Turn upside-down printing mode on/off : ESC { ٻ Set left margin : GS L ٻ Set printable area width : GS W ٻ 7) The printer returns to standard mode when power is turned on, the printer is ٻ reset, or ESC @ is used. [ ٻReference] FF, CAN, ESC FF, ESC S, ESC T, ESC W, GS $, GS \ ٻٻ ٻESC S [ ٻName] Select standard mode [ ٻFormat] ASCII ESC S ٻ HEX 1B 53 ٻ Decimal 27 83 [ ٻDescription] Switches from page mode to standard mode. [ ٻNote] 1) This command is effective only in page mode. ٻ 2) Data buffered in page mode are cleared. ٻ 3) This command sets the print position to the beginning of the line. ٻ 4) The printing area set by ESC W are initialized. ٻ 5) This command switches the settings for the following commands (in which the ٻ values can be set independently in standard mode and page mode) to those ٻ for standard mode; ٻٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڏڑ ٻ ٻٻ Set right-side character spacing : ESC SP ٻ Select default line spacing : ESC 2, ESC 3 ٻ 6) The following commands are enabled only to set in standard mode. ٻ Set printing area in page mode : ESC W ٻ Select print direction in page mode : ESC T ٻ 7) The following commands are ignored in standard mode. ٻ Set absolute vertical print position in page mode : GS $ ٻ Set relative vertical print position in page mode : GS \ ٻ 8) Standard mode is selected automatically when power is turned on, ٻ the printer is reset, or command ESC @ is used. [ ٻReference] FF, ESC FF, ESC L ٻٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڐڑ hG G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G G ٻA. MISCELLANEOUS NOTES ٻ 1. Printer mechanism handing ٻ 1) Do not pull the paper out when the cover is closed. ٻ 2) Because the thermal elements of the print head and driver ICs are easy to break, so do not ٻ touch them with any metal objects. ٻ 3) Since the areas around the print head become very hot during and just after printing, do not ٻ touch them. ٻ 4) Do not use the cover open button except when necessary. ٻ 5) Do not touch the surface of the print head because bust and dirt can stick to the surface and ٻ damage the elements. ٻ 6) Thermal paper containing Na, K, Cl ions can harm the print head thermal elements. ٻ ٻ Therefore, be sure to use only the specified paper. 7) If you want to use label paper, please contact your dealer for assistance. ٻ ٻ 2. Thermal paper handling ٻ - Notes on using thermal paper ٻ Chemicals and oil on thermal paper may cause discoloration and faded printing. ٻ Therefore, pay attention to the following; ٻ 1) Use water paste, starch paste, polyvinyl paste, or CMC paste when gluing thermal paper. ٻ 2) Volatile organic solvents such as alcohol, ester, and ketone can cause discoloration. ٻ 3) Some adhesive tapes may cause discoloration or faded printing. ٻ 4) If thermal paper touches anything which includes phthalic acid ester plasticizer for a long ٻ time, it can reduce the image formation ability of the paper and can cause the printed image to ٻ fade. Therefore, when storing thermal paper in a card case or sample notebook, be sure to use ٻ only products made from polyethylene, polypropylene, or polyester. ٻ ٻ ٻ ٻ 5) If thermal paper touches diazo copy paper immediately after copying, the printed surface may be discolored. 6) Thermal paper must not be stored with the printed surfaces against each other because the printing may be transferred between the surfaces. ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڑڑ ٻ 7) If the surface of thermal paper is scratched with a hard metal object such as a nail, ٻ the paper may become discolored. ٻ ٻ - Notes on thermal paper storage ٻ Since color development begins at 70¶C (158¶F), thermal paper should be protected ٻ from high temperature, humidity, and light, both before and after printing. ٻ 1) Store paper away from high temperature and humidity. ٻ Do not store thermal paper near a heater or in enclosed places exposed to direct sunlight. ٻ 2) Avoid direct light Extended exposure to direct light may cause discoloration or faded ٻ printing. ٻ ٻ 3. Others ٻ Because this printer uses plated steel, the manual cutting edge may be subject to rust. ٻ However, this does not affect the printer performance. ٻ ٻ ٻٻ ٻٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻ ٻۈۊھډۈۄێۊۊےډےےےڊڊڕۋۏۏۃٻ ڒڑ