Comandos Impresora

Páginas: 20 (4986 palabras) Publicado: 28 de septiembre de 2012
Command Manual

STP-131
Thermal Printer
Rev. 1.01

http://www.samsungminiprinters.com

STP-131
1. Control Command List
Command
HT
LF
CR
DLE EOT
ESC SP
ESC !
ESC $
ESC %
ESC &
ESC *
ESC ESC 2
ESC 3
ESC =
ESC ?
ESC @
ESC D
ESC E
ESC G
ESC J
ESC R
ESC V
ESC \
ESC a
ESC c3
ESC c4
ESC c5
ESC d
ESC i
ESC p
ESC t
ESC{
FS p
FS q
GS !
GS *
GS /
GS :
GS BGS H
GS I
GS L
GS P
GS V
GS W
GS ^
GS f
GS h
GS k
GS r
GS v
GS w

Rev. 1.01

Name
Horizontal tab
Print and line feed
Print and carriage return
Real-time status transmission
Set right-side character spacing
Select print mode(s)
Set absolute print position
Select/cancel user-defined character set
Define user-defined characters
Define user-defined characters
Turn under linemode on/off
Select 1/6-inch line spacing
Set line spacing
Select peripheral device
Cancel user-defined characters
Initialize printer
Set horizontal tab positions
Turn emphasized mode on/off
Turn double-strike mode on/off
Print and feed paper
Select an international character set
Turn 90 clockwise rotation mode on/off
Set relative print position
Select justification
Select papersensor(s)to output Paper-end signals
Select paper sensor(s) to stop printing
Enable/disable panel buttons
Print and feed paper n lines
Partial cut(one point center uncut)
General pulse
Select character code table
Turn upside-down printing mode on/off
Print NV bit image
Defined NV bit image
Select character size
Define downloaded bit image
Print downloaded bit image
Start/end macrodefinition
Turn white/black reverse printing mode on/off
Select printing position of HRI characters
Transmit print ID
Set left margin
Set vertical and horizontal motion units
Select cut mode and cut paper
Set printing area width
Execute macro
Select font for HRI characters
Set bar code height
print bar code
Transmit status
Print raster bit image
Set bar code width

-2-

STP-131
2.Control Commands Details
HT
[Name]
[Format]
[Description]
LF
[Name]
[Format]
[Description]
FF
[Name]
[Format]
[Description
CR
[Name]
[Format]
[Description]
CAN
[Name]
[Format]
[Description]
DLE EOT n
[Name]
[Format]
[Range]
[Description]

Rev. 1.01

Horizontal tab.
ASCII
HT
Hex
09
Decimal
9
Moves the print position to the next horizontal tab position.
Print andline feed.
ASCII
LF
Hex
0A
Decimal
10
Prints the data in the print buffer and feeds one line based on the current
line spacing.
Print and return o standard mode in page mode.
ASCII
FF
Hex
0C
Decimal
12
Prints the data in the print buffer collectively and returns to standard mode.
Print and carriage return.
ASCII
HT
Hex
0D
Decimal
13
When automatic line feed is enabled, thiscommand functions the same as
LF; when automatic line feed is disabled, this command is ignored.

Cancel print data in page mode.
ASCII
CAN
Hex
18
Decimal
24
In page mode, deletes all the print data in the current printable area.
Real-time status transmission.
ASCII
DLE
EOT
n
Hex
10
04
n
Decimal
16
4
n
1 ≤n ≤4
Transmits the selected printer status specified by n inreal-time, according
to the following parameters :
n = 1 : Transmit printer status.
n = 2 : Transmit off-line status.
n = 3 : Transmit error status.
n = 4 : Transmit paper roll sensor status.
-3-

STP-131
n = 1 : Printer status
Bit
Off/On
Hex
0
Off
00
1
On
02
2
Off
00
On
04
3
Off
00
On
08
4
On
10
5-6
7
Off
00

Decimal
0
2
0
4
0
8
16
0

Function
Not used.Fixed to Off.
Not used. Fixed to On.
Drawer open/close signal is LOW (connector pin 3).
Drawer open/close signal is HIGH (connector pin 3).
On-Line
Off-Line
Not used. Fixed to On.
Undefined.
Waiting for on-line recovery.

n = 2 : Off-line status
Bit
Off/On
Hex
0
Off
00
1
On
02
2
3
Off
00

Decimal
0
2
0

On
On
On
On
Off

8
16
8
16
0

Function
Not used....
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Impresora
  • impresoras
  • impresora
  • Impresoras
  • Impresoras
  • impresoras
  • impresora
  • impresora

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS