Pinnacle Technology PP7MX Скачать руководство пользователя страница 3

 

1

 

COMMANDS 

The command explanations include the following parts:   

1

 

Name  and  the  general  description  of  the  command’s  function

---This  is  the  first  part  for  the  command 

description; it presents the command’s ASCII code format and general description of its function.   

2

  Format

---This part used ASCII coding form, decimal code, and hex code to describe the command.   

3

(Parameter) Range

---This part gives the range of the variable. If there is special explanation, it should be the 

decimal value. E.g. 1 ≤ n ≤ 4

in which the number ‘1’ is the decimal value, but the ASCII coding form.   

4

  Description

---This part is to explain the command in detail.   

5

 

Note

---This part gives the attention items of the command. As the commands may interfere with each other 

when  they  are  used  in  different  modes  or  when  they  co-work  with  different  commands,  yet  this  part  gives  the 

details for these attention items.   

 

Command 

Decimal 

Hex 

Function 

HT 

Horizontal tab 

LF 

10 

0A 

Print and line feed 

FF 

12 

0C 

Print and recover to page mode 

CR 

13 

0D 

Print and carriage return 

DLE EOT 

16    4 

10    04 

Transmit real-time state 

CAN 

24 

18 

Cancel print data in page mode 

ESC    FF 

27      12 

1B    0C 

Print data in page mode 

ESC    SP 

27      32 

1B    20 

Set right-side character spacing 

ESC      ! 

27      33 

1B    21 

Select print mode(s) 

10 

ESC      $ 

27      36 

1B    24 

Set absolute print position 

11 

ESC      * 

27      42 

1B    2A 

Select bit-image mode 

12 

ESC      - 

27      45 

1B    2D 

Turn underline mode on/off 

13 

ESC      2 

27      50 

1B    32 

Select default line spacing 

14 

ESC      3 

27      51 

1B    33 

Set line spacing 

15 

ESC      = 

27      61 

1B    3D 

Select printer or VFD 

16 

ESC      @ 

27      64 

1B    40 

Initialize printer 

17 

ESC      D 

27      68 

1B    44 

Set horizontal tab positions 

18 

ESC      J 

27      74 

1B    4A 

Print bitmap lattice data, and feed n lines 

19 

ESC      L 

27      76 

1B    4C 

Select page mode 

20 

ESC      S 

27      83 

1B    53 

Select standard mode 

21 

ESC      T 

27      84 

1B    54 

Select character print direction in page mode 

22 

ESC      W 

27      87 

1B    57 

Set printing area in page mode 

23 

ESC      \ 

27      92 

1B    5C 

Specify relative position 

24 

ESC      a 

27      97 

1B    61 

Position alignment 

25 

ESC      d 

27    100 

1B    64 

Print and feed paper n lines 

Содержание PP7MX

Страница 1: ...PP7MX PRINTER COMMAND MANUAL Pinnacle Technology Corp...

Страница 2: ...CONTENTS 1 COMMANDS 1 2 COMMAND SAMPLE hex command 30...

Страница 3: ...Horizontal tab 2 LF 10 0A Print and line feed 3 FF 12 0C Print and recover to page mode 4 CR 13 0D Print and carriage return 5 DLE EOT 16 4 10 04 Transmit real time state 6 CAN 24 18 Cancel print data...

Страница 4: ...asic calculated pitch 40 GS V 29 86 1D 56 Select paper cut mode and cut paper 41 GS 29 92 1D 5C Specify relative position for character vertical direction in page mode 42 GS h 29 104 1D 68 Set bar cod...

Страница 5: ...ge mode is reset to the default setting No paper cut is executed Sets the print position to the beginning of the next line after execution This command is enabled only in page mode Reference ESC FF ES...

Страница 6: ...On 2 Off 00 0 Upper cover closed On 04 4 Upper cover open 3 Off 00 0 Not press paper feed key On 08 8 Press paper feed key 4 On 10 16 Fixed to On 5 Off 00 00 Paper adequate On 20 32 Printer no paper 6...

Страница 7: ...so deleted even if previously set print region data Reference ESC L ESC W 7 ESC FF print data in page mode Format ASC ESC FF Decimal 27 12 Hex 1B 0C Description Prints all buffered data in the print a...

Страница 8: ...ion is used The maximum value that can be set for the right space amount is approximately 35 983 mm or 255 180 inch Specifications that exceed the maximum value are rounded off to that value 9 ESC Sel...

Страница 9: ...ed by nL nH 256 basic calculated pitch from the left margin position Note Specifications exceeding the print range are ignored The basic calculated pitch is set by GSP Set basic calculated pitch If th...

Страница 10: ...cing can be set independently for both the standard and page modes Reference ESC 3 14 ESC 3 Set line spacing Format ASC ESC 3 n Decimal 27 51 n Hex 1B 33 n Range 0 n 255 Description Sets the line spac...

Страница 11: ...ective from the host computer Bit 1 0 Hex Decimal Function 0 Undefined 1 1 01 1 Printer valid 2 2 02 2 VFD valid 3 7 Undefined The function of bit 0 and bit 3 7 are undefined Details If the printer is...

Страница 12: ...ed pitch that is used according to the starting point varies a When the starting point is specified to be upper left or lower right by the ESC T command Character print direction selection in page mod...

Страница 13: ...mode All buffer data in page mode is deleted Sets the print position to the beginning of the next line after execution The print area set by ESCW Set print region in page mode is reset to the default...

Страница 14: ...the print region specified by ESC W Set print region in page mode The basic calculated pitch x or y used with the following commands differs according to the starting point a If the starting point is...

Страница 15: ...is the point specified by selecting the character printing direction ESC T in page mode in the print region If horizontal direction starting position horizontal direction length exceeds the printable...

Страница 16: ...n standard mode The following operations occur according to the starting point in page mode a If the starting point is set to upper left or lower right by the ESC T Select character print direction in...

Страница 17: ...c hes if the n x line feed amount exceeds approximately 1016 mm 40 inches Reference ESC 2 ESC 3 26 ESC i Execute partial cut one point left uncut Format ASCII ESC i n Decimal 27 105 n Hex 1B 69 n Desc...

Страница 18: ...of a paper sensor as 1 byte of data This command allows the host to obtain the near end or paper out status for each line GS r 1 can also be used to check the status GS r is recommended for transmitti...

Страница 19: ...ht mode selected 4 6 Undefined 7 0 00 0 Underline not selected 1 128 80 Underline selected 32 FS S n1 n2 Set Chinese character space amount Format ASCII FS S n1 n2 Decimal 28 83 n1 n2 Hex 1C 53 n1 n2...

Страница 20: ...fies the bit image mode Details Flash bit image is a bit image defined in flash memory by FS q and printed by this command This command is ignored when the bit image is undefined This command is effec...

Страница 21: ...g an argument that is out of the defined range with the initial NV bit image data The printer terminates processing of this command and starts writing data to the non volatile memory if an argument ou...

Страница 22: ...aracter height using bits 0 to 3 and selects the character width using bits 4 to 7 Character width selection is as follows Hex Decimal Width 00 0 1 normal 10 16 2 double width Character height selecti...

Страница 23: ...age mode The position of the character vertical direction for the next data expansion starting position is the position specified by nL nH x 256 x basic calculated pitch from the starting point Note W...

Страница 24: ...n standard mode is being used This command has no affect in page mode This command is only effective for the setting The maximum setting for the left margin is the same size as the printable region fo...

Страница 25: ...g y ESC 3 ESC J GSV With page mode use the parameters shown below according to the direction of the characters a If the starting point is upper left or lower right using ESC T Character print directio...

Страница 26: ...tive number is used Negative numbers are represented by the complement of 65536 For example when moving in the upward direction N pitches use nL nH 256 65536 N Specifications for relative positions th...

Страница 27: ...epend on the bar code system used GS k m d1 dk NUL and GS k m n d1 dn select a bar code system and print the bar code m specifies a bar code system as follows Program Example PRINT 1 CHR H1D h CHR 50...

Страница 28: ...ng commences from subsequent data When in standard mode If d is outside of the defined region only a paper feed is executed and normal printing commences from subsequent data If the horizontal width o...

Страница 29: ...he left side outside the printing region without printing the bar code Reference GS H GS f GS h GS w 44 GS v 0 m xL xH yL yH d1 dk Print raster graphic Format ASCII GS v 0 m xL xH yL yH d1 dk Hex 1D 7...

Страница 30: ...g is n 3 1 2 3 62 63 64 65 66 67 126 127 128 K 2 K 1 K 7 6 5 4 3 2 1 0 Program Example PRINT 1 CHR H1D w CHR 3 Set width size to 3 PRINT 1 CHR H1D k CHR 2 Print bar code PRINT 1 496595707379 CHR 0 PRI...

Страница 31: ...29 Print Sample Width size 3 Width size 4 Width size 5...

Страница 32: ...height 100 1d 77 02 1d 6b 02 32 32 30 30 30 30 32 30 30 30 35 30 35 00 0a print EAN 13 barcode 1d 6b 00 30 30 30 30 30 30 30 30 30 30 30 00 0a print UPC A barcode 1d 6b 03 30 30 30 30 30 30 30 30 00...

Страница 33: ......

Отзывы: