Samsung STP-102P, STP-102S instruction manual Functions, Commands, 2122

Page 11
Chapter 7. Functions

Chapter 7. Functions

The commands listed in the table below are available for control of the printer.

Commands

 

Command Classification

Standard

Command

Name

 

Setting

Mode

 

Executing

HT

Horizontal tab

 

 

LF

Print and line feed

 

 

ESC SP

Set right-side character spacing

 

 

ESC !

Select print mode(s)

 

 

ESC $

Set absolute print position

 

 

ESC %

Select/cancel user-defined character set

 

 

ESC & Define user-defined characters

ESC * Select bit-image mode

ESC - Turn under line mode on/off

ESC 2 Select 1/6-inch line spacing

ESC 3 Set line spacing

ESC ? Cancel user-defined characters

ESC @ Initialize printer

ESC D Set horizontal tab positions

ESC E Turn emphasized mode on/off

ESC J Print and feed paper

ESC R Select an international character set

ESC S Select standard mode

ESC V Turn 90 clockwise rotation mode on/off

Command

Command Classification

Standard

Name

 

Setting

Mode

 

Executing

ESC \

Set relative print position

 

 

 

ESC a

Select justification

 

 

 

ESC c5

Enable/disable panel buttons

 

 

 

ESC d

Print and feed paper n lines

 

 

 

ESC {

Turn upside-down printing mode on/off

 

 

 

GS $

Select haracter size

 

 

 

GS /

Define downloaded bit image

 

 

 

GS :

Start/end macro definition

 

 

 

GS B

Turn white/black reverse printing mode on/off

 

 

 

GS L

Set left margin

 

(

)

GS P

Set vertical and horizontal motion units

 

 

 

GS W

Set printing area width

 

(

)

GS ^

Execute macro

 

 

 

GS h

Set bar code height

 

 

 

GS k

print bar code

 

 

 

GS w

Set bar code width

 

 

 

Command classification

Executing : 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.

Standard mode

: Enagled

( ) : Enabled only when the command is used at the beginning of a line. : Enabled only when data is not present in the buffer.

2122

Image 11
Contents STP-102S / STP-102P Warning - U.SNotice - Canada IntroductionRoll paper Table of ContentsChapter 1. Unpacking Power cord1-3. Printer Part Names Indicator lightsPOWERgreen ERRORredSTP-102S Chapter 2. Connecting the Cable2-1. Connecting the AC adapter to your printer 2-2. Connecting the printer to your ComputerSTP-102P Chapter 3. Installing the Paper RollThe printer must be turned off before installing the paper roll DIP switch functions Chapter 4. Setting the DIP SwitchesChapter 6. Code Table Chapter 5. Running the Self-testPC860 Portuguese 1516PC850 Multilingual PC865 Nordic 1718PC863 Canadian - French Space Page 19202122 CommandsChapter 7. Functions Explanation of Terms Chapter 8. Control CommandsCommand Notation Control Commands HTESC @ ESC * m nL nH d1...dkESC - n ESC 3 nESC \ nL nH ESC J nESC R n ESC V nESC n ESC c 5 nESC d n GS ! nGS r t m GS B nGS L nL nH GS W nL nH2 GS k m n d1... dn APPENDIX A CONNECTORSGS h n 1 GS k m d1... dk NUL7.5V 2.2A APPENDIX B SpecificationJF01-000012