Control Cooe Functions - Sony AC-T11 Service Manual

24 dot thermal printer
Table of Contents

Advertisement

1-6. CONTROL CODE FUNCTIONS
INITIAL STATE OF PRINTER
When I ho pc we* Is turned on, tho following modus flrltlal state), of tho
mode* that can be switched by a control coda, aro sot:
Mode
Initial state
]
Font
Character emphasis
Character magnifies'iCr
Underline
Mcrizontai taxation
Vertical tabulation
Lett and right margins
bn# (teeing width
bn# (oecing direettx
Signal line
CONTROLLING PRINTER OPERATION
Cede name c*
Hexadecimal code: khco
<unn*a( wwmi
• This code is used to print out the data in the butter of the pnnter
and rotuin tho thermal heat) to the loll end ^carriage return).
• Only carriage retum or carriage return and line lecdlrg aro automa¬
tically performed by ew.iciwtg dip switch 8
I Code name: LF
Hoxixleclmal code: &H0A I
_««*n»o_
• This cede Is used to teed one line by the current line feeding width
In the current line toodlng direction.
• It the bottom Un« Is sei as a vertical tab position, me paper is lad
until I he neat TOP position, when the thermal head goea ever the
bottom Ikio
Code name: HT
Hexadecimal code* *HC9
OIO'UO*'*! T>B'
| Cod* namr. U9
Hexadeclmalood*: 1H1F |
• The function of this coda tar les according to the value ot the t -byte
data following Ihio code.
Assume fhaf the value of the t-byte data is CHR||n) (n indicates a
itoctnut number.) if t 5 n j 6, paper win oe fed until the vertical
tabulation position d channel n. If 17 a n S 3t. paper win be ted
By tn-t6) lines.
• II other than the above data is entorod. it is Ignorod and tabulation
la not done.
Cose name: ff
Hexadecimal code: &HCC
FOaurwcx
# This code ts used to feed paper until the next TOT in thecurrent I ine
feeding direction
CONTROLLING THE PRINTER FUNCTIONS
Horizontal tabulation
| Code name: ESC {
Hexadecimal cede: 4H t B »H28
• This code is used to set tno tor moot* tabulation
Specify the ESC I code co fotow
ESCfe.A-
<*. ff..— incite* a 3<Tglt decimal number. For example, to position
the horizontal tab in the 6th 18th. 36th columns from the left end
enter
ESC ©06.018, 036
(A per ad la needed at the end.l
• Up to 16 horizontal tabulation positions can bs specified
• If an incorrect entry i« made, ail tho specified horizontal tabulations
are cleared
•Ah the horizontal tabulations that were set before this code was
received aro cleared.
Example: IPRINT CURS (4H1B); "©10.020. C00 '
• This coda is used to mo'e the thermal head to the nearest horizon¬
tal tabula ton position. If no honronlal lobulation position Is
specified, this code is ignorod.
Notes: Execute the following statement In your program before send¬
ing the H» cod*:
POKE 4HF418.2S6
Executing this statement causes the unit to position the horizontal
tabulation In the 10th, 20th. and 30th columns from me left end
Code name: ESC)
Hexadecimal code *HIB 4M29
• mis code is used to release the horizontal tabulation.
The HT cede is not corroctly sent to tho printer unless this statement
Specify the FSC ) code as fol lows.
Is executod
ESC) o. ff._
To return the made set wilh POKE &MF4i8^bb to tho original stato,
enter
POKE
8HF418.0
Code name: VT
Hexadecimal oode: 8M0B
!*•/
•This code is used lo teed most up lo tho next vertical tabulation
position In tho current lire Inodlng dlrnoUon If no vertical tabula¬
tion position Is spoclftad, paper will oe fed until
the
next tof.
Tho specification method is tho samo as tor tho ESC ( oodo.
• It an Incorrect entry is made, all I he specified horizontal tabulations
are cleared.
Example: IPRINT CH W (*«'B»") 030'•
Executing this statement causes the unit to clear the horizontal
tabulation in the 30th column from tho left end
Cede rams. ESC
2
Hexadecimal code. &H1B. &H32 |
• Thiacode n used to dear ail me specified henrontai tabulations
PRM-T24(AEJ
1-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prn-t24

Table of Contents