SNBC BTP-R880NP Owner's manual

Receipt Printer
BTP-R880NP
PROGRAMMING MANUAL

Confidential BTP-R880NP Programming Manual
- 1 -
REVISION HISTORY
Date Version Description Drafted by
2010-7-13 V100 Release Ding Jinfeng, Cao
Yongkang

Confidential BTP-R880NP Programming Manual
- 2 -
Declaration
If you need this manual, please comply with the Clause as below.
If you disagree with it, please return this manual immediately.
This manual contains the private confidential information belonging to ORIENT Technologies bv
(hereinafter referred to as “ORIENT Technologies”) and Shandong New Beiyang Info-Tech Co., Ltd.
(hereinafter referred to as SNBC). You must keep its relative content as the confidential information. If
the users are commercial customers or entities, you should be aware to disclose it to those people
with the confidential responsibility including your employees, agencies and partners. When you
terminate the cooperation with ORIENT Technologies and SNBC or bring about your request, you
have to stop using this manual and return it to ORIENT Technologies or SNBC, or destroy the
confidential information.
If any relative organ such as court, arbitrator or government authority requests you to disclose any
confidential information of this manual, you must inform ORIENT Technologies or SNBC quickly and
also agree that you shall cooperate or assist with ORIENT Technologies or SNBC reasonably during
the negotiation.
ORIENT Technologies or SNBC has the right to disclose its confidential information and does not be
responsible for the loss or damages caused from the wrong usage or reference of this manual by
users.
Information in this document is subject to change without notice, which is only used for product
maintenance or service relative to this manual. ORIENT Technologies and SNBC reserves the right to
improve products as new technology, components, software, and firmware become available. If users
need further data about the products, please feel free to contact ORIENT Technologies or SNBC.
No part of this document may be reproduced or transmitted in any form or by any means, electronic
or mechanical, for any purpose without the express written permission of ORIENT Technologies or
SNBC.
Copyright
Copyright© 2010y SNBC
Printed in China
Trademarks
Our registered trademarks are
Contact us
In CHINA:
Address: No.169 Huoju Rd, Weihai, Shandong, China. 264209
Hot line: +86-631-5673777
Fax: +86-631-5673778

Confidential BTP-R880NP Programming Manual
- 3 -
E-mail: [email protected]
Website: www.newbeiyang.com (via Contact button)
In EUROPE: ORIENT Technologies bv
Address: Meerheide 115, 5521 DX Eersel, The Netherlands
Hot line: +31-497-331080
Fax: +31-497-386430
Website: www.orient-technologies.com (via Contact button)
1 Overview 1
1.1 COMMANDS CLASSIFICATION .................................................................................................................................... 1
1.2 KEY TERMS................................................................................................................................................................ 1
1.3 COMMAND FORMAT................................................................................................................................................... 2
2 Command Description 3
2.1 PRINT COMMAND....................................................................................................................................................... 3
LF...............................................................................................................................................................................3
FF...............................................................................................................................................................................3
CR...............................................................................................................................................................................3
ESC FF.......................................................................................................................................................................3
ESC J n.......................................................................................................................................................................4
ESC d n.......................................................................................................................................................................5
2.2 LOCATION COMMAND................................................................................................................................................ 5
HT...............................................................................................................................................................................5
ESC $ nL nH...............................................................................................................................................................6
ESC D n1...nk NUL ....................................................................................................................................................7
ESC T n ......................................................................................................................................................................7
ESC W xL xH yL yH dxL dxH dyL dyH......................................................................................................................9
ESC \ nL nH.............................................................................................................................................................. 11
ESC a n..................................................................................................................................................................... 11
GS $ nL nH...............................................................................................................................................................13
GS L nL nH...............................................................................................................................................................13
GS P x y....................................................................................................................................................................14
GS W nL nH..............................................................................................................................................................15
GS \ nL nH................................................................................................................................................................16
2.3 CHARACTER COMMAND........................................................................................................................................... 16
CAN..........................................................................................................................................................................16

Confidential BTP-R880NP Programming Manual
- 4 -
ESC SP n ..................................................................................................................................................................17
ESC ! n .....................................................................................................................................................................18
ESC % n ...................................................................................................................................................................21
ESC & y c1 c2 [x1 d1...d(y × x1)]...[xk d1...d(y × xk)]............................................................................................21
ESC – n.....................................................................................................................................................................23
ESC ? n.....................................................................................................................................................................24
ESC E n ....................................................................................................................................................................24
ESC G n....................................................................................................................................................................25
ESC M n ...................................................................................................................................................................25
ESC R n ....................................................................................................................................................................26
ESC V n ....................................................................................................................................................................27
ESC t n......................................................................................................................................................................27
ESC { n.....................................................................................................................................................................28
GS ! n........................................................................................................................................................................29
GS B n ......................................................................................................................................................................30
FS ! n........................................................................................................................................................................30
FS &.........................................................................................................................................................................31
FS - n........................................................................................................................................................................31
FS . ...........................................................................................................................................................................32
FS 2 c1 c2 d1...dk.....................................................................................................................................................32
FS C n.......................................................................................................................................................................33
FS S n1 n2 ................................................................................................................................................................34
FS W n......................................................................................................................................................................35
2.4 BITMAP COMMAND ................................................................................................................................................. 35
ESC * m nL nH d1... dk............................................................................................................................................35
ESC # n.....................................................................................................................................................................37
GS * x y d1...d(x × y × 8).........................................................................................................................................37
GS / m.......................................................................................................................................................................38
GS v 0 m xL xH yL yH d1....dk .................................................................................................................................38
FS p n m ...................................................................................................................................................................39
FS q n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n..........................................................................................40
2.5 STATUS COMMAND .................................................................................................................................................. 42
DLE EOT n...............................................................................................................................................................42
GS a n.......................................................................................................................................................................44
GS r n .......................................................................................................................................................................45
2.6 BARCODE COMMAND............................................................................................................................................... 46
GS H n......................................................................................................................................................................46
GS f n........................................................................................................................................................................46
GS h n.......................................................................................................................................................................48
①
GS k m d1...dk NUL
②
GS k m n d1...dn................................................................................................................48
GS s n1 n2 n3 n4 n5 n6 n7 n8 Set barcode parameter of GS1..................................................................................53
GS o n.......................................................................................................................................................................55
GS p n.......................................................................................................................................................................55
GS q n.......................................................................................................................................................................55
GS w n ......................................................................................................................................................................55
2.7 BI-COLOUR COMMAND ............................................................................................................................................ 56

Confidential BTP-R880NP Programming Manual
- 5 -
ESC r n enter /exit bi-colour print mode..................................................................................................................56
ESC C n select print colour......................................................................................................................................57
2.8 INVERT PRINT COMMAND......................................................................................................................................... 57
GS ( z nL nH 0 S enter upside-down printing mode .................................................................................................57
GS ( z nL nH 0 E print sample data and exit upside-down printing mode ...............................................................59
2.9 WATER PRINT COMMAND ......................................................................................................................................... 59
GS { w f n1 n2 n3 n4 n5 water print bitmap parameter setting................................................................................59
GS { w n enter\exit water print mode .......................................................................................................................60
2.10 GREYSCALE PRINTING COMMANND ....................................................................................................................... 60
FS r n xl xh yl yh zl zh d1 d2 d3...d(k) FLASH grayscale bitmap download ............................................................60
ESC c 6 n yl yh zl zh d1 d2 d3 ...d(k) RAM grayscale bitmap download..................................................................62
ESC c 7 n print RAM grayscale bitmap....................................................................................................................63
2.11 OTHER COMMANDS ............................................................................................................................................... 64
DLE ENQ n ..............................................................................................................................................................64
DLE DC4 n m t.........................................................................................................................................................64
ESC 2........................................................................................................................................................................65
ESC 3 n.....................................................................................................................................................................65
ESC = n....................................................................................................................................................................65
ESC @......................................................................................................................................................................66
ESC L .......................................................................................................................................................................66
ESC S........................................................................................................................................................................67
ESC c 0 n..................................................................................................................................................................68
ESC c 3 n..................................................................................................................................................................68
ESC c 4 n..................................................................................................................................................................69
ESC c 5 n..................................................................................................................................................................70
ESC p m t1 t2............................................................................................................................................................70
[Reference] DLE DC4...........................................................................................................................................70

Confidential BTP-R880NP Programming Manual
- 1 -
1 Overview
This manual classifies the printer commands into several kinds based on its functions, and also
describes the applications of relative commands in detail depending on its sorts. We hope that it is
helpful for programmers to get known of those commands.
1.1 Commands classification
This label printer commands are classified as below:
Print commands: used for printing and feeding paper;
Position commands: to control the print position;
Character commands: to set characters property;
Bitmap commands: to download bitmap and print, including NV and RAM bitmap;
Status commands: used for printer status query;
Barcode commands: barcode print and property settings;
Other commands: used for periphery control, Micro-definition and initialization;
Command instruction refers to the detailed function of relative commands.
1.2 Key terms
Real-time commands – These commands are acted on immediately upon being received by the
printer.
Print buffers – used to store figure data to be printed;
Page mode –Under this mode, the printer possesses all data in specified memory and thinks of this
as a virtual page. The page is printed when the printer receives print command either FF or ESC FF;
Standard mode – Standard mode is the default mode of printer, namely line mode. Under this mode,
the printer prints data and feeds paper upon print line buffer full (data is enough for one print line) or
receiving print command like LF;
HRI character – Human Readable Interface;
NV – Non-volatile memory in which data stored does not loss when power off. NV: Non-volatile
RAM –Random Access Memory;
DPI – Print dots per inch (one inch equals to 25.4mm). It is used to identify the resolution of a printer.
Example, 203DPI means 203 print dots per inch.
Baseline – The standard position where character data in print buffers are stored. The figure shows
the position of ordinary characters in standard mode and page mode:

Confidential BTP-R880NP Programming Manual
- 2 -
1.3 Command format
[Function] The name and function summary of commands;
[Format] The command expressed in ASCII, Hex and Decimal separately. If not specified, the
value in “range” part is decimal. For instance, in range” 1 ≤n≤4”, ‘1’ is not an ASCII
code but a decimal number;
[Range] The value range of parameter in the command;
[Note] Explain the main features and application notices of commands;
[Default] The initial value used after the printer initialized;
[Relative] Other commands related to current commend;
[Example] Example used for current or relative commands.
All command data in programming Demo use HEX. All normal font/characters are data.
There is no explanation for the data of command such as 42 43 which is data. The
font/character underlined and emphasized is a command such as 1B 40. All the data
inside parentheses after all commands in Demo is used to explain the meanings of this
command. The parentheses and data inside it is not the command to be transmitted to
the printer.

Confidential BTP-R880NP Programming Manual
- 3 -
2 Command Description
2.1 Print command
LF
[Function] Print and line feed
[Format] ASCII LF
Hex 0A
Decimal 10
[Note] This command sets the print position to the beginning of the line.
[Relevant command] ESC 2, ESC 3
FF
[Function] Print all data in the print buffers and return to the standard mode.
[Format] ASCII FF
Hex 0C
Decimal 12
[Notes] · This command is valid only in page mode.
· The buffer data is deleted after being printed.
· The printer does not execute paper cutting.
· This command sets the print position to the beginning of the line.
[Relevant command] ESC FF, ESC L, ESC S
CR
[Function] When the command is enabled, it equals to LF; it is ignored when disabled,
[Format] ASCII CR
Hex 0D
Decimal 13
[Notes] · Sets the print starting position to the beginning of the line.
· This command is set according to the printer configuration.
[Relevant command] LF
ESC FF
[Function] Print data in page mode
[Format] ASCII ESC FF
Hex 1B 0C
Decimal 27 12

Confidential BTP-R880NP Programming Manual
- 4 -
[Notes] · This command is enabled only in page mode.
· After printing, the printer does not clear the buffered data, setting values for ESC T and
ESC W, and the position for buffering character data.
[Relevant command] FF, ESC L, ESC S
[Relative] FF, ESC L, ESC S
ESC J n
[Function] Print and feed paper
[Format] ASCII ESC J n
Hex 1B 4A n
Decimal 27 74 n
[Range] 0 ≤n ≤255
[Notes] · After printing is completed, this command sets the print starting position to the beginning
of the line.
· The paper feed amount set by this command does not affect the values set by ESC 2 or
ESC 3.
· The horizontal and vertical motion unit are specified by GS P.
· In standard mode, the printer uses the vertical motion unit (y).
· In page mode, this command functions as follows, depending on the starting position of
the printable area:
1) When the starting position is set to the upper left or lower right of the printable area
using ESC T, the vertical motion unit (y) is used.
2) When the starting position is set to the upper right or lower left of the print able area
using ESC T, the horizontal motion unit (x) is used.
· The maximum line spacing is 1016mm (40 inches). When the setting value exceeds the
maximum, it is converted to the maximum automatically.
[Relevant command] GS P
[example] 1B 40 (initialize printer)
1D 50 CB CB (set the resolution 203×203)
41 41 41 41 41 41 41(datas waiting for printing)
1B 4A 50 (print and feed paper 80/203 inches)
42 42 42 42 42 42 42 0A (datas waiting for printing)
Results:

Confidential BTP-R880NP Programming Manual
- 5 -
ESC d n
[Function] Print and feed n lines
[Format] ASCII ESC d n
Hex 1B 64 n
Decimal 27 100 n
[Range] 0 ≤n ≤255
[Notes] · This command sets the print starting position to the beginning of the line.
· This command does not affect the line spacing set by ESC 2 or ESC 3.
· The maximum paper feed amount is 1016 mm (40 inches). If the paper feed amount (n x line
spacing) of more than 1016 mm (40 inches) is specified, the printer feeds the paper only 1016 mm
(40 inches).
[relevant command] ESC 2, ESC 3
[example] 1B 40(initialize printer)
41 41 41 41 41 41 41(datas waiting for printing)
1B 64 02(print and feed 2 characters line spacing, 2/6 inches)
42 42 42 42 42 42 42 0A(datas waiting for printing)
Results:
2.2 Location command
HT
[Function] Moves the print position to the next horizontal tab position.
[Format] ASCII HT
Hex 09
Decimal 9
[Notes] • This command is ignored unless the next horizontal tab position has been set.
• If the next horizontal tab position exceeds the printing area, the printer sets the printing
position to [Printing area width + 1].
• Horizontal tab positions are set with ESC D.
• If this command is received when the printing position is at [printing area width + 1], the
printer executes print buffer-full printing of the current line and horizontal tab processing
from the beginning of the next line.
• The default setting of the horizontal tab position for the paper roll is font A (12×24) every
8th character.

Confidential BTP-R880NP Programming Manual
- 6 -
• When current buffer is full, the printer shall execute the actions as below:
In standard mode, the printer shall print current line and set the print position to the
beginning of next line;
• In page mode, the printer shall shift the line and set the print position to the beginning of
next line.
[Reference] ESC D
[Example] 0A (set the print start position to the beginning of the ling)
1B40
(initialize printer)
1B53
(enter standard mode)
33 33 33 33 33 33
1B 44 08 10 1C 00(set the horizontal tab position)
09(move the print position to the next tab)
33 33 33 33
09(the same as above)
33 33 33 33
09(the same as above)
33 33 33 33
0A(print)
33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
0A(print)
Results:
ESC $ nL nH
[Function] Sets the distance from the beginning of the line to the position at which subsequent
characters are to be printed.
· The distance from the beginning of the line to the print position is [(nL + nH × 256) ×
(vertical or horizontal motion unit)] inches.
[Format] ASCII ESC $ nL nH
Hex 1B 24 nL nH
Decimal 27 36 nL nH
[Range] 0≤nL ≤255
0 ≤nH≤255
[Notes] · Settings outside the specified printable area are ignored.
· The horizontal and vertical motion units are specified by GS P.
· In standard mode, the horizontal motion unit (x) is used.
· In page mode, horizontal or vertical motion unit differs depending on the starting position

Confidential BTP-R880NP Programming Manual
- 7 -
of the printable area as follows:
1) When the starting position is set to the upper left or lower right of the printable area
using ESC T, the horizontal motion unit (x) is used.
2) When the starting position is set to the upper right or lower left of the printable area
using ESC T, the vertical motion unit (y) is used.
[Reference] ESC \, GS $, GS \, GS P
[Example] Refer to ESC W
ESC D n1...nk NUL
[Function] Set horizontal tab positions
[Format] ASCII ESC D n1...nk NUL
Hex 1B 44 n1...nk 00
Decimal 27 68 n1...nk 0
[Range] 1 ≤n ≤255
1 ≤k ≤32
[Notes] · The horizontal tab position is stored as a value of [character width × n] measured from
the beginning of the line. The character width includes the right-side character spacing,
and double-width characters are set with twice the width of normal characters.
· This command cancels the previous horizontal tab settings.
·When setting n = 8, the print position is moved to column 9 by sending HT.
·Up to 32 tab positions (k = 32) can be set. Data exceeding 32 tab positions is processed
as normal data.
·Transmit [n] k in ascending order and place a NUL code 0 at the end.
·When [n] k is less than or equal to the preceding value [n] k-1, tab setting is finished and
the following data is processed as normal data.
· ESC D NUL cancels all horizontal tab positions.
·The previously specified horizontal tab positions do not change, even if the character
width changes.
·The character width is memorized for each standard and page mode.
[Default] The default tab positions are at intervals of 8 characters (columns 9, 17, 25...) for font A
(12 × 24).
[Reference] HT
[Example] Refer to HT
ESC T n
[Function] Selects the print direction and starting position in page mode.
[Format] ASCII ESC T n
Hex 1B 54 n
Decimal 27 84 n

Confidential BTP-R880NP Programming Manual
- 8 -
[Range] 0 ≤n ≤3 48 ≤n ≤51
n print direction and starting position:
[Notes] · When the command is input in standard mode, the printer executes only
internal flag operation. This command does not affect printing in standard mode.
· This command sets the position where data is buffered within the printing area.
· Parameters for horizontal or vertical motion units (x or y) differ as follows, depending on
the starting position of the printing area:
1) If the starting position is the upper left or lower right of the printing area, data is
buffered in the direction perpendicular to the paper feed direction:
Commands using horizontal motion units: ESC SP, ESC $, ESC \
Commands using vertical motion units: ESC 3, ESC J, GS $, GS \
2) If the starting position is the upper right or lower left of the printing area, data is
buffered in the paper feed direction:
Commands using horizontal motion units: ESC 3, ESC J, GS $, GS \
Commands using vertical motion units: ESC SP, ESC $, ESC \
[Default] n = 0
[Reference] ESC $, ESC L, ESC W, ESC \, GS $, GS P, GS \
[Example] 1B 4C
(enter page mode)
1D 50 CB CB(set printer resolution)
1B 57 20 00 00 00 40 02 90 02 (set the print area in page mode)
1B 54 00(select the print area direction in page mode)
30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0A
(newline)
1B 54 01(select the print area direction in page mode)
31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 0A
(newline)
1B 54 02(select the print area direction in page mode)
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 0A
(newline)

Confidential BTP-R880NP Programming Manual
- 9 -
1B 54 03 (select the print area direction in page mode)
33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 0A(print)
50 72 69 6E 74 20 45 6E 64
0C(print)
Results:
ESC W xL xH yL yH dxL dxH dyL dyH
[Function] · Define the horizontal starting position, vertical starting position, printing area width, and
printing area height.
[Format] ASCII ESC W xL xH yL yH dxL dxH dyL dyH
Hex 1B 57 xL xH yL yH dxL dxH dyL dyH
Decimal 27 87 xL xH yL yH dxL dxH dyL dyH
[Range] 0 ≤xL, xH, yL, yH, dxL, dxH, dyL, dyH ≤255 (except dxL= dxH=0 or dyL= dyH=0)
[Notes] · If this command is input in standard mode, the printer executes only internal flag Each
the horizontal starting position, vertical starting position, printing area width, and printing
area height are defined as x0、y0、dx、dy setting for the printing area is calculated as
follows:
x0 = [( xL + xH × 256) × (horizontal motion unit)]
y0 = [( yL + yH × 256) × (vertical motion unit)]
dx = [ dxL + dxH × 256) × (horizontal motion unit)]
dy = [ dyL + dyH × 256) × (vertical motion unit)]
The printing area is set as shown in the figure below.
This command does not affect printing in standard mode.
· If the horizontal or vertical starting position is set outside the printable area, the printer
stops command processing and processes the following data as normal data.
· If the printing area width or height is set to 0, the printer stops command processing and
processes the following data as normal data.
· This command sets the position where data is buffered to the position specified by ESC
T within the printing area.
· If (horizontal starting position + printing area width) exceeds the printable area, the

Confidential BTP-R880NP Programming Manual
- 10 -
printing area width is automatically set to (horizontal printable area horizontal starting
position).
· If (vertical starting position + printing area height) exceeds the printable area, the printing
area height is automatically set to (vertical printable area – vertical starting position).
· The horizontal and vertical motion unit are specified by GS P. Changing the horizontal or
vertical motion unit does not affect the current printing area.
· Use the horizontal motion unit (x) for setting the horizontal starting position and printing
area width, and use the vertical motion unit ( y) for setting the vertical starting position
and printing area height.
· When the horizontal starting position, vertical starting position, printing area width, and
printing area height are defined as X, Y, Dx, and Dy respectively, the printing area is set
as shown in the figure below.
[Default] Decided by printer configuration
[Reference] CAN, ESC L, ESC T, GS P
[Example] 0A
1D 50 CB CB(set printer solution 203×203)
1B 4C (enter page mode)
1B 57 20 00 00 00 40 01 90 01 (set print area in page mode)
1B 24 00 00(set absolute honzontal starting position to be starting point)
41
1B 24 32 00(set absolute honzontal starting position to be 50/203 inches)
42
1B 24 64 00(set absolute honzontal starting position to be 100/203 inches)
43
0A(newline)
1B 24 00 00(set absolute honzontal starting position to be starting point)
41
1B 5C 32 00(set absolute honzontal starting position to be 50/203 inches)
1B 5C 64 00(set relative honzontal starting position to be 100/203 inches)
43
0A(newline)
0C(print in page mode)
Results:

Confidential BTP-R880NP Programming Manual
- 11 -
ESC \ nL nH
[Function] Sets the print starting position based on the current position by using the horizontal or
vertical motion unit.
· This command sets the distance from the current position to [(nL + nH × 256) ×
horizontal or vertical motion unit]
[Format] ASCII ESC \ nL nH
Hex 1B 5C nL nH
Decimal 27 92 nL nH
[Range] 0 ≤nL ≤255
0 ≤nH ≤255
[Notes] · Any setting that exceeds the printable area is ignored.
· When pitch N is specified to the right: nL+ nH × 256 = N
When pitch N is specified to the left (the negative direction), use the complement of
65536.
When pitch N is specified to the left: nL+ nH × 256 = 65536 - N
· The print starting position moves from the current position to [N × horizontal or vertical
motion unit]
· The horizontal and vertical motion units are specified by GS P.
· In standard mode, the horizontal motion unit is used.
· In page mode, the horizontal or vertical motion unit differs as follows, depending on the
starting point of the printing area:
1) When the starting position is set to the upper left or lower right of the printable area
using ESC T, the horizontal motion unit (x) is used.
2) When the starting position is set to the upper right or lower left of the printable area
using ESC T, the vertical motion unit (y) is used.
[Reference] ESC $, GS P
ESC a n
[Function] Aligns all the data in one line to the specified position
[Format] ASCII ESC a n
Hex 1B 61 n
Decimal 27 97 n

Confidential BTP-R880NP Programming Manual
- 12 -
[Range] 0≤n ≤2, 48 ≤n ≤50
n selects the justification as follows:
n Justification
Left justification
Centering
Right justification
[Notes] • This command is enable only when processed at the beginning of the
line in the standard mode.
• If this command is input in page mode, the printer performs only internal flag
operations.
• This command justifies the space area according to HT, ESC $ or ESC\.
[Default] n=0
[Example] 0A(Entering line mode)
1B 40(Initialization)
1B 61 00(Setting left justification)
41 42 43 0A
41 42 43 44 0A
41 42 43 44 45 0A
1B 61 01(Setting centering )
41 42 43 0A
41 42 43 44 0A
41 42 43 44 45 0A
1B 61 02(Setting right justification)
41 42 43 0A
41 42 43 44 0A
41 42 43 44 45 0A
Results:

Confidential BTP-R880NP Programming Manual
- 13 -
GS $ nL nH
[Function] This command sets the absolute print position to [( nL + nH × 256) ×
(vertical or horizontal motion unit)] inches.
[Format] ASCII GS $ nL nH
Hex 1D 24 nL nH
Decimal 29 36 nL nH
[Range] 0 ≤nL ≤255, 0 ≤nH ≤255
[Notes] • This command is effective only in page mode.
• If the [( nL + nH × 256) × (vertical or horizontal motion unit)] exceeds the specified
printing area, this command is ignored.
• The horizontal starting buffer position does not move after run this command.
Relative starting position is that specified by ESC T.
• This command operates as follows, depending on the starting position of the printing
area specified by ESC T:
1) When the starting position is set to the upper left or lower right, this command
sets the absolute position in the horizontal direction.
2) When the starting position is set to the upper right or lower left, this command
sets the absolute position in the vertical direction.
• The horizontal and vertical motion units are specified by GS P.
[Reference]ESC $, ESC T, ESC W, ESC \, GS P, GS \
[Example] See ESC W
GS L nL nH
[Function] Set left margin to [( nL + nH × 256) × horizontal motion unit)] inches
[Format] ASCII GS L nL nH
Hex 1D 4C nL nH
Decimal 29 76 nL nH
[Range] 0 ≤nL ≤255
0 ≤nH ≤255
[Notes] • This command is effective only processed at the beginning of the line in
standard mode.
• If this command is input in page mode, this command is not effective and the printer
regard this command as normal character to dispose.

Confidential BTP-R880NP Programming Manual
- 14 -
• This command does not affect printing in page mode.
• If the setting exceeds the printable area, the maximum value of the printable area is
used.
• The horizontal and vertical motion units are specified by GS P. Changing the
horizontal and vertical motion unit does not affect the current left margin.
[Default] nL = 0, nH = 0
[Reference] GS P, GS W
[Exmple] 0A(Sets printing position at the begin of the line)
1B 40(Initialization)
30 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36
37 38 39 0A
1D 4C 30 00(Sets left margin to 48/203 inch)
30 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36
37 38 39 0A
1D 57 C8 00(Sets printing width to 200/203 inch)
30 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36 37 38 39 30 31 32 33 34 35 36
37 38 39 0A
Results:
GS P x y
[Function] Sets the horizontal and vertical motion units to approximately 25.4/ x mm
{ 1/ x inches} and approximately 25.4/ y mm {1/ y inches}, respectively.
[Format] ASCII GS P x y
Hex 1D 50 x y
Decimal 29 80 x y
[Range] 0 ≤x ≤255
0 ≤y ≤255
[Notes] • When x and y are set to 0, the default setting of each value is used.
• The horizontal direction is perpendicular to the paper feed direction and the vertical
direction is the paper feed direction.
• In standard mode, the following commands use x or y, regardless of character
rotation (upside-down or 90° clockwise rotation):
1) Commands using x :ESC SP, ESC $, ESC \, FS S, GS L, GS W
2) Commands using y:ESC 3, ESC J, GS V
• In page mode, the following command use x or y, depending on character
orientation:
1) When the print starting position is set to the upper left (Printing direction from left to
right)or lower right(Printing direction from right to left) of the printing area using ESC
Other manuals for BTP-R880NP
1
Table of contents
Other SNBC Printer manuals

SNBC
SNBC BTP-R180II Owner's manual

SNBC
SNBC BTP-M300 User manual

SNBC
SNBC BTP-2002NP User manual

SNBC
SNBC BTP-R880NP User manual

SNBC
SNBC BTP-M280 User manual

SNBC
SNBC BT-UC056III User manual

SNBC
SNBC BT-T080R User manual

SNBC
SNBC BTP-R880NPI User manual

SNBC
SNBC BTP-R580II Owner's manual

SNBC
SNBC BTP-P33 User manual