EasyManuals Logo
Home>TSC>Printer>M23

TSC M23 Programming Manual

TSC M23
252 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #175 background imageLoading...
Page #175 background image
TSC AUTO ID Technology Co., Ltd. 163 Copyright 2013 All Rights Reserved.
TEXTPIXEL( )
Description
Returns the width of the text string in dot.
Syntax
TEXTPIXEL (cont$,font$,size)
Parameter
Description
cont$
The content of text string.
font $
The font type. Please refer to the parameter font in command TEXT.
size
The font size. Please refer to the parameter x-multiplication in command
TEXT.
Note:
This command has been supported since V6.61 EZ and later firmware.
Example
See Also
TEXT, BARCODEPIXEL()
Sample code
DOWNLOAD "TEST.BAS"
str$="ABCDEFG"
font$="3"
fontsize=3
strwidth=TEXTPIXEL(str$,font$,fontsize)
SIZE 4,1
GAP 0,0
DIRECTION 1
CLS
TEXT 10,10,font$,0,fontsize,fontsize,str$
REVERSE 8,8,strwidth,72
PRINT 1
EOP
TEST
Result

Table of Contents

Other manuals for TSC M23

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the TSC M23 and is the answer not in the manual?

TSC M23 Specifications

General IconGeneral
BrandTSC
ModelM23
CategoryPrinter
LanguageEnglish

Related product manuals