iDiPOS TP-80 Program Manual Download Page 1

1. COMMANDS

1.1 Command Notation

[Name]

The name of the command.

[Format]

The code sequence.ASCII,Hex, Decimal 3 kinds of formats, default Decimal format.

[Range]

Gives the allowable ranges for the arguments.

[Description] Describes the command’s function.
[Details]

Describes the usage of the command in detail.

[Notes]

Provides important information on setting and using the printer command, if necessary.

[Default]

Gives the default values, if any, for the command parameters.

[Reference] Lists related commands.

2. HT

[Name]

Horizontal tab

[Format]

ASCII

HT

Hex

09

Decimal

9

[Description] Moves the print position to the next horizontal tab position.
[Details]

This command is ignored unless the next horizontal tab position has been set.

If the next horizontal tab position exceeds the printing area, the printer sets the

printing position to [Printing area width + 1].

Horizontal tab positions are set with

ESC D

.

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.

The default setting of the horizontal tab position for the paper roll is font A

(12

24) every 8th character (9th, 17th, 25th, ... column).

[Reference]

ESC D

3. LF

[Name]

Print and line feed

[Format]

ASCII

LF

Hex

0A

Decimal

10

[Description]

Prints the data in the print buffer and feeds one line based on the current line
spacing.

[Note]

This command sets the print position to the beginning of the line.

[Reference]

ESC 2, ESC 3

PROGRAM MANUAL

Thermal receipt printer TP-80

Summary of Contents for TP-80

Page 1: ...rizontal tab position has been set If the next horizontal tab position exceeds the printing area the printer sets the printing position to Printing area width 1 Horizontal tab positions are set with E...

Page 2: ...mand is enabled only in page mode If data that existed in the previously specified printing area also exists in the currently specified printing area it is deleted Reference ESC L ESC W 6 DLE EOT n Na...

Page 3: ...08 8 Off line 4 1 10 16 Fixed to 1 5 6 Undefined 7 0 00 00 Fixed to 0 n 2 Off line status Bit 0 1 Hex Decimal Function 0 0 00 0 Fixed to 0 1 1 02 2 Fixed to 1 2 0 00 0 Cover is closed 1 04 4 Cover is...

Page 4: ...g the receive and print buffers Details This command is effective only when an auto cutter error occurs The printer starts processing data upon receiving this command under serial port With a parallel...

Page 5: ...arged n times the right side character spacing is n times normal value This command sets values independently in each mode standard and page modes The horizontal and vertical motion unit are specified...

Page 6: ...set by HT or 90 clockwise rotated characters The thickness of the underline is that selected by ESC regardless of the character size When some characters in a line are double or more height all the ch...

Page 7: ...x 1B 25 n Decimal 27 37 n Range 0 nL 255 Description Selects or cancels the user defined character set When the LSB of n is 0 the user defined character set is canceled When the LSB of n is 1 the user...

Page 8: ...t image cannot be defined simultaneously When this command is executed the downloaded bit image is cleared The user defined character definition is cleared when ESC is executed ESC is executed FS q is...

Page 9: ...8 14 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...

Page 10: ...to be printed on a line the excess data is ignored d indicates the bit image data Set a corresponding bit to 1 to print a dot or to 0 to not print a dot If the width of the printing area set by GS L...

Page 11: ...space set by HT The printer cannot underline 90 clockwise rotated characters and white black inverted characters When underline mode id turned off by setting the value of n to 0 or 48 the following d...

Page 12: ...standard mode the vertical motion unit y is used 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...

Page 13: ...t was in effect when power on Details The DIP switch settings are not checked again The data in the receive buffer is not cleared The macro definition is not cleared The NV bit image data is not clear...

Page 14: ...ns 9 17 25 for font A 12 24 Reference HT 22 ESC E n Name Turn emphasized mode on off Format ASCII ESC E n Hex 1B 45 n Decimal 27 69 n Range 0 n 255 Description Turns emphasized mode on or off When the...

Page 15: ...When the starting position is set to the upper right or lower left of the print able area using ESC T the horizontal motion unit x is used The maximum line spacing is 956mm When the setting value exc...

Page 16: ...n 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 26 ESC M n Name Select character font Format ASCII ESC M n Hex 1B 4D n Decimal 27 77 n Range n...

Page 17: ...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 FS S Select default line spacing ESC 2 ESC 3 Th...

Page 18: ...rs 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 ar...

Page 19: ...ctively Each setting for the printing area is calculated as follows x0 xL xH 256 horizontal motion unit y0 yL yH 256 vertical motion unit dx dxL dxH 256 horizontal motion unit dy dyL dyH 256 vertical...

Page 20: ...ion printing area width and printing area height are defined as X Y Dx and Dy respectively the printing area is set as shown in the figure below This printable area for this printer is approximately 7...

Page 21: ...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 u...

Page 22: ...ignals When all the sensors are disabled the paper end signal always outputs a paper present status Default n 0 35 ESC c 4 n Name Select paper sensor s to stop printing Format ASCII ESC c 4 n Hex 1B 6...

Page 23: ...ly the lowest bit of n is valid When the panel buttons are disabled none of them are usable when the printer cover is closed In this printer the panel buttons are the FEED button In the macro ready mo...

Page 24: ...ime is t1 2 ms and the OFF time is t2 2 ms If t2 t1 the OFF time is t1x 2 ms Reference DLE DC4 39 ESC t n Name Select character code table Format ASCII ESC t n Hex 1B 74 n Decimal 27 116 n Range 0 n 1...

Page 25: ...e When this command is input in page mode the printer performs only internal flag operations This command does not affect printing in page mode In upside down printing mode the printer rotates the lin...

Page 26: ...ting area width is extended to the right in NV bit image mode up to one line vertically In this case printing does not exceed the printable area If the printing area width cannot be extended by one li...

Page 27: ...esses xL xH yL yH out of the defined range In the first group of NV bit images when any of the parameters xL xH yL yH is out of the definition range this command is disabled In groups of NV bit images...

Page 28: ...p command Details Frequent write command execution may cause damage the NV memory Therefore it is recommended to write the NV memory 10 times or less a day The printer performs a hardware reset after...

Page 29: ...h 00 0 1 normal 10 16 2 double width 20 32 3 30 48 4 40 64 5 50 80 6 60 96 7 70 112 8 Character Height Selection Hex Decimal Width 00 0 1 normal 01 1 2 double height 02 2 3 03 3 4 04 4 5 05 5 6 06 6 7...

Page 30: ...Details This command is effective only in page mode If the nL nH 256 vertical or horizontal motion unit exceeds the specified printing area this command is ignored The horizontal starting buffer posit...

Page 31: ...led The d indicates bit image data Data d specifies a bit printed to 1 and not printed to 0 The downloaded bit image definition is cleared when ESC is executed ESC is executed FS q is executed Printer...

Page 32: ...GS 48 GS Name Start end macro definition Format ASCII GS Hex 1D 3A Decimal 29 58 Description Starts or ends macro definition Details Macro definition starts when this command is received during normal...

Page 33: ...underline mode Even if underline mode is on it is disabled but not canceled when white black reverse mode is selected Default n 0 50 GS H n Name Select printing position for HRI characters Format ASC...

Page 34: ...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 inches and approximately 25 4 y mm 1 y inches respectively When x and y are set t...

Page 35: ...m 0 48 1 49 m 66 0 n 255 Description Selects a mode for cutting paper and executes paper cutting The value of m selects the mode as follows m Print mode 0 48 Full cut 1 49 Partial cut 66 Feeds paper...

Page 36: ...ex 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 This command sets the distance from the...

Page 37: ...waiting for the period specified by t 100 ms the PAPER OUT 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...

Page 38: ...0 Undefined Default 0 6 Off 00 0 Feed paper without pressing on FEED On 40 64 Feed paper by pressing FEED 7 Off 00 0 Undefined Default 0 Second bit printer status Bit Off On Hex Decimal Status for ASB...

Page 39: ...H GS k 59 GS h n Name Select bar code height Format ASCII GS h n Hex 1D 68 n Decimal 29 104 n Range 1 n 255 Description Selects the height of the bar code n specifies the number of dots in the vertic...

Page 40: ...R 1 n 255 0 9 A D 48 d 57 65 d 68 d 36 43 45 46 47 58 72 CODE93 1 n 255 NUL SP 7FH 0 d 127 73 CODE128 2 n 255 NUL SP 7FH 0 d 127 Details for This command ends with a NUL code When the bar code system...

Page 41: ...white black reverse printing or 90 rotated character etc except for upside down printing mode Details in page mode This command develops bar code data in the print buffer but does not print it After...

Page 42: ...de gap is different with different barcode Reference GS H GS f GS h GS w 61 GS r n Name Transmit status Format ASCII GS r n Hex 1D 72 n Decimal 29 114 n Range n 1 2 49 50 Description Transmits the sta...

Page 43: ...ity 0 48 Normal 200 DPI 200 DPI 1 49 Double width 200 DPI 100 DPI 2 50 Double height 100 DPI 200 DPI 3 51 Quadruple 100 DPI 100 DPI xL xH select the number of data bits xL xH 256 in the horizontal dir...

Page 44: ...ecifies the bar code width as follows n Module Width mm for Multi level Bar Code Binary level bar codes Thin element width mm Thick element width mm 2 0 25 0 25 0 625 3 0 375 0 375 1 0 4 0 5 0 5 1 25...

Page 45: ...characters including right and left side character spacing but cannot underline the space set by HT and 90 clockwise rotated characters The thickness of the underline is that specified by FS regardles...

Page 46: ...clockwise rotated characters After the underline mode for Kanji characters is turned off by setting n to 0 underline printing is no longer performed but the previously specified underline thickness is...

Page 47: ...defined characters c1 specifies for the first byte and c2 for the second byte d indicates the dot data Set a corresponding bit to 1 to print a dot or to 0 to not print a dot Default All spaces Referen...

Page 48: ...ower left of the printable area using ESC T the vertical motion unit y is used The maximum right side spacing is 255 180 inches for the paper roll and is approximately 36mm Any setting exceeding the m...

Page 49: ...SC C m t n Name Beeping when printout and indiator flashing GP 80250 series Format ASCII ESC C m t n Hex 1B 43 m t n Decimal 27 67 m t n Range 1 m 20 1 t 20 0 n 3 Description Beeping when printout and...

Page 50: ...IFT convert the first character A following barcode SHIFT character to character B or covert from character B to character From the second character will return back to character set before SHIFT SHIF...

Page 51: ...8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 0 1 2 3 4 5 6 7 8 9 A B C D E F 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 40 41 4...

Page 52: ...51 RS US SP 1F 20 21 22 23 24 25 26 27 31 32 33 34 35 36 37 38 39 G H I J K L M N O 47 48 49 4A 4B 4C 4D 4E 4F 71 72 73 74 75 76 77 78 79...

Page 53: ...M N O P Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 72 73 74 75 76 77 78...

Page 54: ...2 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A...

Reviews: