A795 User Guide: Programming Supplement
Chapter 4: Programming commands
40
Select cut mode and cut paper
ASCII
GS V m
GS V m n
Hexadecimal
1D 56 m
1D 56 m n
Decimal
29 86 m
29 86 m n
Value of m:
Selects the mode as shown in the table.
Value of n:
Determines cutting position only if m is
65 or 66.
m
Feed and cut mode
0, 48
Full cut (no extra feed).
1, 49
Partial cut (no extra feed).
65
Feeds paper to cutting po (n times vertical
motion unit), and cuts the paper completely.
66
Feeds paper to cutting po (n times vertical
motion unit), and performs a partial cut.
Range of m:
0, 48; 1, 49
65, 66 (when used with n)
Range of n:
0 – 255
Default of m, n: 0
Selects a mode for cutting paper and cuts the paper. There
are two formats for this command, one requiring one
parameter m, the other requiring two parameters m and n.
The format is indicated by the parameter m.
Formulas
n times the vertical motion unit is used to determine the
cutting position to which the paper is fed.
Set current color
ASCII
ESC r m
Hexadecimal
1B 72 m
Decimal
27 114 m
Default of m:
0 (monochrome)
This command will set the current color to the color m for
all character data that may follow this command and all
graphic objects (bit images) that have not been explicitly
loaded as 2-color.
m= 0 (monochrome) is the initial value
m= 1 (2-color paper “primary color”, usually black)
m= 2 (second color available from 2-color paper)
The m values 0 and 1 will not have a distinguishable
effect; 0 is the initial value and provides parameter value
consistency with other commands.
Description
If the paper type value from initialization or most recent
setting of the set paper type command is 0 0, selecting
monochrome paper, then this command will set a
parameter that is remembered but has no effect as all
output will be in the one default monochrome color
(usually black) color.
When 2-color paper is loaded and specified by the set
paper type command, the effect of this command is to
designate which of the two colors will be used for
everything that does not have the explicit color selection
parameter(s) that are in commands such as color logos,
side bars, surround graphics, background watermarks and
color raster graphics. Its effect should mimic what happens
on a printer or typewriter loaded with 2-color ribbon when
the ribbon is shifted (to use the ribbon’s lower half color).
Exceptions
After a power loss or reset the initial value is m=0.
Содержание A795
Страница 1: ...A795 D100 PS UserGuide ProgrammingSupplement A795Two ColorThermalReceiptPrinter TM...
Страница 10: ...A795 User Guide Programming Supplement Chapter 1 About this Supplement 10...
Страница 110: ...A795 User Guide Programming Supplement Chapter 4 Programming commands 110...
Страница 118: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 118 Code page 737 Greek...
Страница 119: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 119 Code page 850 Multilingual...
Страница 120: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 120 Code page 852 Slavic...
Страница 121: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 121 Code page 858 with Eurosymbol...
Страница 122: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 122 Code page 860 Portuguese...
Страница 123: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 123 Code page 862 Hebrew...
Страница 124: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 124 Code page 863 French Canadian...
Страница 125: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 125 Code page 865 Nordic...
Страница 126: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 126 Code page 866 Cyrillic...
Страница 127: ...A795 User Guide Programming Supplement Appendix B Resident Character Sets 127 Code page 1252 Windows Latin 1...
Страница 128: ...189 9200281 E A795 D100 PS 05 01 TM...