Samsung SRP-500 manual ESC & y c1 c2 x1 d1...dy x x1... xk d1... dy x xk, ESC * m nL nH d1...dk

Page 26

ESC & y c1 c2 [x1 d1...d(y x x1)]...[ xk d1... d(y x xk)]

[Name]

Define user-defined characters

 

 

 

[Format]

ASCII

ESC

&

y c1 c2 [x1 d1...

d(y x x1)]...

[ xk d1...

d(y x xk)]

 

Hex

1B

26

y c1 c2 [x1 d1...

d(y x x1)]...

[ xk d1...

d(y x xk)]

 

Decimal 27

38

y c1 c2 [x1 d1...

d(y x x1)]...

[ xk d1...

d(y x xk)]

[Range]

y = 2

 

 

 

 

 

 

 

32 ≤ c1 ≤ c2 ≤ 255

 

 

 

 

 

0

≤ x ≤ 14 (Font A)

 

 

 

 

 

0

≤ x ≤ 12 (Font B)

 

 

 

 

 

0

≤ d1 ... d(y x x) ≤ 255

 

 

 

[Description]

Defines user-defined characters.

 

 

y specifies the number of bytes in the vertical direction.

c1 specifies the beginning character code for the definition, and c2 specifies the final code. When only one character is desired, use c1 = c2.

x specifies the number of dots in the horizontal direction.

[Notes]

Consecutive character codes for multiple characters can be defined in one definition. When specifying only one character, specify c1 = c2.

"d" is definition data that indicates the pattern for " x" dots in the horizontal direction starting from the left edge. If " x" does not satisfy the number of dots in the character configuration pattern, the remaining dots on the right are spaces.

The number of bytes required to download a character definition for one character is " y" x " x".

In the definition data, a "1" represents a dot that is to be printed, and a "0" represents a dot that is not to be printed.

Independent downloaded character definitions are possible for each font.

The font is selected by the "ESC !" command.

The defined downloaded characters are cleared in the following circumstances:

1)When "ESC @" is executed

2)When deleted by "ESC ?"

3)When the printer is reset or turned off

[Default]

The internal character set

[Reference]

ESC %, ESC ?

43

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

 

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

Divide the number of dots to be printed by 256. The interger answer is nH and the remainder is nL. Therefore, the number of dots in the horizontal direction is calculated by nL + 256 x nH.

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.

The bit-image modes selectable by m are as follows.

 

m

 

 

No. of Vertical

 

 

Dot Density

 

 

Adjacent

 

 

Maximum

 

 

 

 

Dots

 

 

 

 

Dot

 

 

number of dots

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

8

 

 

Single Density

 

 

Permitted

 

252

 

 

1

 

8

 

 

Double Density

 

 

Permitted

 

504

 

[Notes]

If the values of m and nH are out of the specified range, the following data is processed as normal data.

After printing a bit image, the printer returns to normal data processing mode.

The relationship between the image data and the dots to be printed is as follows.

44

Image 26
Contents SRP-500 Do not let water or other foreign objects Printer ReachTaking following measures EMC and Safety standards Applied Table of contents Introduction Front view Rear viewChoosing a place for the printer Setting up the printerUnpacking Connecting the interface cable Connecting the cablesConnect the AC adapter according to the following procedure Installing or replacing paper roll Installing new Ink cartridges Error LED Using the control panelControl panel Power LED Clean ButtonRunning the self test TroubleshootingSelf test If any of the lights are on, please check the followingYou want to check the operation of the printer by itself Cleaning the print headPrinter stops printing Printing is poorDIP switch functions DIP switch settingsSetting the DIP switches You want to check a software programChanging the DIP switch setting Code table 3 PC860 Portuguese 4 PC 863 Canadian French 5 PC 865 Nordic 16 CP1252 WinLatin1 17 PC 866 Russian 18 CP 852 DosLatin2 19 PC 858 Euro 21 MS-DOS 862 Israel 22 MS-DOS 864 Arabic 23 MS-DOS 874 Thai Control commands list CommandsName Horizontal tab Format Command descriptionsCharacter Code Tables = 2 Off-line status DLE EOT nName Real-time status transmission Format ESC SP n = 3 Error statusDLE ENQ n Name Real-time request to printer FormatESC % n Name Select/cancel user-defined character set FormatESC ! n Name Select print modes FormatName Define user-defined characters Format ESC & y c1 c2 x1 d1...dy x x1... xk d1... dy x xkESC * m nL nH d1...dk ESC = n ESC nESC 3 n ESC ? n ESC D n1... nk NULESC J n ESC E nESC G n ESC U n ESC R nESC a n Name Select paper sensorsto stop printing Format ASCll ESC c 3 nESC c 4 n ESC g0 k nH nL kd1…dmk ESC c 5 nESC d n ESC t n ESC mESC p m t1 t2 Name Transmit paper sensor status Format Name Turns on/off upside-down printing mode FormatESC GS a pL pH n m GS I nGS a n Name Enable/Disable Automatic Status Back Format① GS V m ② GS V m n Second byte printer information Default n = ReferenceFirst byte printer information Third byte paper sensor informationGS j n Status BInk cartridge specification Printing specificationPaper specification Reference informationOptional features Electrical characteristicsDimensions & Weight ReliabilityMemo ………..………………………………………………