Download Print this page

Star Micronics NP-345 Product Specifications page 32

Advertisement

34) Download bit image print
Code
Description
* Modes to be assigned by m are as follows.
m
00
Normal mode
01
Double width
02
Vertical double
03
Quadruple
* If there are some data left in the print buffer, this command is neglected.
* If "download bit image" is not defined yet, this command is neglected.
* "Download bit image" data exceeding 1 line cannot be printed.
* "Download bit image" cannot be defined at the same time with "download
character" or "external characters"
35) Macro definition, start and end
Code
Description
Macro is up to 1,024 bytes. Exceeding to 1,024 byte cannot be defined.
* Defined Macros cannot be cleared by "Printer initialization". Therefore "printer
initialization" can be included in the Macro definition.
* During the Macro definition, printing can proceed.
* Once Macro is defined, the contents become effective until software is reset,
power is set off, or INIT signal is input.
36) Macro execution
Code
Description
* The definitions of n1, n2 and n3 are:
n1 : times of Macro execution
n2 : wait time of Macro execution
n3 : Macro execution mode
n3
00
Consecutive execution
01
Execution by FEED switch
* Consecutive execution: Executes "n1" times with a wait time specified at n2.
* FEED switch execute: After a time specified at n2, waits for PE LED blinks and
the FEED switch depressed. After FEED switch is pressed, it executes Macro
once. This action is repeated by n1 times.
* If the printer receives this command during Macro definition, it stops Macro
definition. If it occurs, defined Macros are cleared.
* Nothing occurs if Macro is not defined or n1 = [00]h.
* During Macro execution with n3 = 1, line feed by FEED switch is disabled.
:<< GS / m >>
: < 1D >h + < 2F >h + m
: Prints "download bit image" in a mode assigned by "m".
Modes
Vertical
203 dpi
203 dpi
101 dpi
101 dpi
: < 1D >h + < 3A >h
: Assigns Macro definition start and end. The size of data defined by
:<< GS ^ n1 n2 n3 >>
: < 1D >h + < 5E >h + n1 + n2 + n3
: Executes Macros being defined
At every execution, there is a wait time of n2 x 100msec.
Mode
* < 00≤m≤03 >h
Dot density
Horizontal
203 dpi
101 dpi
203 dpi
101 dpi
:<< GS : >>
27
* < 0≤n1≤FF >h
* < 00≤n2≤FF >h
* < 00≤n3≤01 >h

Advertisement

loading