background image

Select bit-image mode.
ASCII
Hex
Decimal
m = 0, 1, 32, 33
0 < nL < 255
0 < nH < 3
0 < d < 255 
Selects a bit-image mode using m for the number of dots specified by nL and
nH, as follows.
Number of data(k) = (nL + nH x 256) x 3

   The nL and nH indicate the number of dots of the bit image in the horizontal
   direction.
   The number of dots is calculated by (nL + nH x 256).
   If the bit-image data input exceeds the number of dots 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.

ESC 

*

 m nL nH d1...dk

[Name]
[Format]

[Range]

[Description]

[Notes]

ESC
1B
27

*

2A
42

m    nL    nH   d1 ...    dk
m    nL    nH   d1 ...    dk
m    nL    nH   d1 ...    dk

ESC - n

[Name]
[Format]

[Range]
[Description]

Turn underline mode on/off.
ASCII
Hex
Decimal
0 < n < 2, 48 < n < 50
Turns underline mode on or off, based on the following values of n:

ESC
1B
27

-
2D
45

n
n
n

ESC 2

[Name]
[Format]

[Description]

Select default line spacing.
ASCII
Hex
Decimal
Set the line spacing to 1/6 inch.

ESC
1B
27

2
32
50

ESC 3 n

[Name]
[Format]

[Range]
[Description]

Set line spacing.
ASCII
Hex
Decimal
0 < n < 255
Sets the line spacing to n dots.

ESC
1B
27

3
33
51

n
n
n

0, 48
1, 49
2, 50

Turns off underline mode.
Turns on underline mode (1-dot thick).
Turns on underline mode (2-dots thick).

n

Function

@
40
64

ESC
1B
27

D
44
68

n1...nk
n1...nk
n1...nk

NUL
00
0

ESC D n1...nk NUL

[Name]
[Format]

[Range]

[Description]

[Notes]

Set horizontal tab positions.
ASCII
Hex
Decimal
1 < n < 255
0 < k < 32
Sets horizontal tab position.

    n specifies the column number for setting a horizontal tab position
    from the beginning of the line.
    k indicates the total number of horizontal tab positions to be set.

ESC @

[Name]
[Format]

[Description]

Initialize printer.
ASCII
Hex
Decimal
Clears the data in the print buffer and resets the printer mode
to the mode that was in effect when the power was turned on.

ESC
1B
27

ESC
1B
27

E
45
69

n
n
n

ESC E n

[Name]
[Format]

[Range]
[Description]

[Notes]

Turn emphasized mode on/off.
ASCII
Hex
Decimal
0 < n < 255
Turns emphasized mode on or off.

    When the LSB is 0, emphasized mode is turned off.
    When the LSB is 1, emphasized mode is turned on.

25

26

Содержание STP-102P

Страница 1: ...s for radio interference as specified in the Canadian department of communications radio interference regulations Introduction The STP 102S and STP 102P Roll Printer is designed for use with electric instruments such as system ECR POS banking equipment peripheral equipment etc The main features of the printer are as follows 1 High speed printing 2 Low noise thermal printing 3 RS 232 serial interfa...

Страница 2: ...PPENDIX A Connectors Serial Type STP 102S Parallel Type STP 102P 34 34 APPENDIX B Specification 34 35 Chapter 1 Unpacking 1 1 Checking the contents of the Printer The items illustrated below are included with your printer If any items are damaged or missing please contact your dealer for assistance 1 2 Locating the Printer Avoid location in direct sunlight or excessive heat Avoid or storing the pr...

Страница 3: ... button continuously to feed paper continuously Feed button is valid when ON LINE button is off 1 4 Operating Control Panel The control panel has two buttons and two lights The control panel buttons perform paper feeding and on line function Press the ON LINE button to ready to receive data from the computer ON LINE FEED Buttons 1 The error LED blinks fast when paper is out 2 The error LED blinks ...

Страница 4: ...ches that of your electrical outlet 3 Plug the power supply s DC cable connector into the printer s power connector as shown below 4 Plug the AC adapter s power cord into an electrical outlet 8 STP 102S STP 102P 2 2 Connecting the printer to your Computer STP 102S You need an appropriate serial interface cable to connect your computer to the printer s built in interface 1 Make sure that both the p...

Страница 5: ...es out from the top of the printer Then close the printer cover 4 Turn on the Printer 2 2 Connecting the printer to your Computer STP 102P You need an appropriate serial interface cable to connect your computer to the printer s built in interface 1 Make sure that both the printer and computer are turned off then plug the cable connector securely into the printer s interface connector 2 Tighten the...

Страница 6: ...hapter 4 Setting the DIP Switches Turn off the printer while setting the DIP switch to prevent an electrical short which can damage the printer You can change your interface and printer density settings by changing the DIP switch setting 1 Make sure the printer is turned off 2 There are a switch Notice that ON is marked on each set of switches Use tweezers or another narrow tool to move the switch...

Страница 7: ...s which provide the following information control software version dip switch state 2 Standby state After printing the current printer status the printer prints the message Please press the FEED BUTTON The LED indicator blinks and the printer enter the test printing standby state Press the FEED BUTTON to start test printing 2 Ending the self test After a number of lines are printed the printer ind...

Страница 8: ...16 15 PC850 Multilingual PC860 Portuguese ...

Страница 9: ...17 18 PC865 Nordic PC863 Canadian French ...

Страница 10: ...19 20 Space Page ...

Страница 11: ...assification Executing Setting Standard Mode Command classification Standard mode Executing Enagled Enabled only when the command is used at the beginning of a line Enabled only when data is not present in the buffer Printer executes the command which does not affect the following data Setting Printer uses flags to make setting and those setting affect the following data Command ESC ESC a ESC c5 E...

Страница 12: ... 255 Sets the character spacing for the right side of the character to n dots ESC 1B 27 SP 20 32 n n n ESC n 0 2 3 4 5 6 7 1 Determine the values of n by adding the value of all the characteristics you want to select Off On Off On Off On Off On Off On On 00 01 00 08 00 10 00 20 00 80 02 0 1 0 8 0 16 0 32 0 128 2 24 char 42 char Undefined Emphasized mode not selected Emphasized mode selected Double...

Страница 13: ...he line spacing to 1 6 inch ESC 1B 27 2 32 50 ESC 3 n Name Format Range Description Set line spacing ASCII Hex Decimal 0 n 255 Sets the line spacing to n dots ESC 1B 27 3 33 51 n n n 0 48 1 49 2 50 Turns off underline mode Turns on underline mode 1 dot thick Turns on underline mode 2 dots thick n Function 40 64 ESC 1B 27 D 44 68 n1 nk n1 nk n1 nk NUL 00 0 ESC D n1 nk NUL Name Format Range Descript...

Страница 14: ... in page mode If this command is input in page mode the printer performs only internal flag operations 0 48 1 49 2 50 n Left justification Centering Right justification Justification ESC 1B 27 a 61 97 n n n ESC a n Name Format Range Description Select justification ASCII Hex Decimal 0 n 2 48 n 50 Aligns all the data in one line to the specified position n selects the type of justification as follo...

Страница 15: ...is 0 upside down printing mode is turned off When the LSB is 1 upside down printing mode is turned on ESC 1B 27 7B 123 n n n GS n Name Format Range Description Select character size ASCII Hex Decimal 0 n 255 1 vertical number of times 8 1 horizontal number of times 8 Selects the character height using bits 0 to 1 and selects the character width using bits 4 to 5 as following GS 1D 29 21 33 n n n 0...

Страница 16: ...ecimal 0 nL 255 0 nH 255 Set the printing area width to the area specified by nL and nH The printing area width is set to nL nH x 256 dots Printable area GS 1D 29 W 4C 87 nL nH nL nH nL nH This command is effective only at the beginning of a line The maximum possible setting for the print range is the same as the maximum setting are rounded down to the maximum setting 5E 92 rtm rtm rtm GS r t m Na...

Страница 17: ...28 Bar Code System 11 k 12 11 k 12 12 k 13 7 k 8 1 k 1 k even number 1 k 1 n 255 even number 1 n 255 1 n 255 2 n 255 11 n 12 11 n 12 12 n 13 7 n 8 1 n 255 Number of Characters 48 d 57 48 d 57 48 d 57 48 d 57 48 d 57 65 d 90 d 32 36 37 43 45 46 47 48 d 57 48 d 57 65 d 68 d 36 43 45 46 47 58 Remarks 2 1 2 0 d 127 0 d 127 48 d 57 48 d 57 48 d 57 48 d 57 48 d 57 65 d 90 d 32 36 37 43 45 46 47 48 d 57 ...

Страница 18: ...ing 200 x 200 Dpi 8 dot mm 48mm 58mm 42 Font A 12x24 56 Font B 9x24 Approximately 1 97 inchs sec 50 mm sec at 25 C printing duty 12 5 15K bytes Temperature Humidity Mechanical Head 0 40 C operating 10 50 C storage 30 80 RH operating 10 90 RH storage 15 000 000 line 50 million pulse about 50km 7 5V 2 2A Paper Paper thickness 0 06 0 09mm Roll size 60 57 w Roll spool diameter 1 Inside 12mm 0 47 2 Out...

Отзывы: