![Brother HL-1250 Скачать руководство пользователя страница 196](http://html.mh-extra.com/html/brother/hl-1250/hl-1250_technical-reference-manual_53605196.webp)
2001/10/02
CHAPTER 4 HP-GL/2 - 48
DV - Define variable text path
DV [
path
[,
line
]] [;]
path
: text printing path - horizontal or vertical, and left to right, right to left, upwards or downwards.
line
: the effect of a line feed.
•
This command determines the printing direction for labels and the carriage return point.
•
Permissible values of
path
are 0, 1, 2 and 3. If
path
= 0 labels are printed horizontally and left to right -
normal printing. If
path
= 1 labels are printed vertically downwards - characters appear in a vertical
column. If
path
= 2 labels are printed horizontally and right to left - words appear backwards. If
path
=
3 labels are printed vertically upwards - characters appear in a vertical column, reading from bottom to
top.
•
The value of
line
must be either 0 or 1. If
line
= 0, each time a line feed is encountered the current pen
position is moved at an angle of 90° to the path in a clockwise direction. Hence, if
path
= 1 the second
line of text is printed to the left of the first line. If
line
= 1 each time a line feed is encountered the
current pen position is moved at an angle of 90° to the path in an anticlockwise direction. Hence, if
path
= 2 the second line of text is printed below the first line.
•
If you do not use a DV command the default text path is horizontal, left to right: line feeds will move the
pen position at 90° to the text clockwise. This is equivalent to using the command DV0,0;
•
If you omit both parameters the text path is horizontal, left to right.
CP - Relative character movement
CP [ spaces [,lines]] [;]
spaces
; the number of text spaces the pen position is moved.
lines
; the number of text lines the pen position is moved.
•
Use this command to re-position the pen. The command moves the pen the specified number of lines
and spaces corresponding to the currently selected font's pitch and line spacing. (For proportionally
spaced fonts the width of the space character is used to determine the distance moved horizontally). All
movement is relative to the current label printing direction.
•
spaces
is the number of spaces that the pen moves. A positive value of
spaces
moves the pen right
from the current pen location: a negative value moves it to the left.
•
lines
is the number of lines that the pen moves. A negative value offset moves the pen down from the
current pen location: a positive value moves it upwards.
•
Values for
spaces
and
lines
are clamped real numbers.
•
The command only moves the pen and does not draw lines, irrespective of whether the pen is currently
up or down.
•
On completion of the command, the previous pen status (up or down) is restored.
•
The height of text lines (the vertical distance that a line feed moves the pen position) is fixed for every
font. However, it can be adjusted using the ES instruction.
•
If you omit all parameters, the pen position moves to the carriage return point and then down one line -
hence CP; is equivalent to a carriage return followed by a line feed.
10 '-Character Plot -
20 WIDTH "LPT1:", 255
30 LPRINT CHR$(27); "E";
40 LPRINT CHR$(27); "%0B";
50 LPRINT "IN;SP1;";
60 LPRINT "PA1000,5000;";
70 LPRINT "PD;PR2000,0;PU;";
80 LPRINT "CP-15,1;";
90 LPRINT "LBAbove the line"; CHR$(3);
100 LPRINT "CP-14,-2;";
110 LPRINT "LBBelow the line"; CHR$(3);
120 LPRINT CHR$(27); "%0A";
130 LPRINT CHR$(27); "E";
140 END
<Sample 55>
Содержание HL-1250
Страница 15: ...2001 10 02 CHAPTER 1 INTRODUCTION 1 CHAPTER 1 INTRODUCTION ...
Страница 20: ...2001 10 02 CHAPTER 1 INTRODUCTION 6 ...
Страница 21: ...2001 10 02 CHAPTER 2 PCL 1 CHAPTER 2 PCL PRINTER CONTROL LANGUAGE ...
Страница 59: ...2001 10 02 CHAPTER 2 PCL 39 ...
Страница 76: ...2001 10 02 CHAPTER 2 PCL 56 ...
Страница 104: ...2001 10 02 CHAPTER 2 PCL 84 71 71 Lines picture Same as above ...
Страница 109: ...2001 10 02 CHAPTER 2 PCL 89 ...
Страница 123: ...2001 10 02 CHAPTER 2 PCL 103 ...
Страница 131: ...2001 10 02 CHAPTER 3 PCL5C 1 CHAPTER 3 PCL5C ...
Страница 149: ...2001 10 02 CHAPTER 4 HP GL 2 1 CHAPTER 4 HP GL 2 GRAPHICS LANGUAGE ...
Страница 185: ...2001 10 02 CHAPTER 4 HP GL 2 37 150 LPRINT TR0 PA3900 4900 PM0 PA5100 4900 4500 6100 PM1 160 LPRINT PM2 FP ...
Страница 199: ...2001 10 02 CHAPTER 4 HP GL 2 51 ...
Страница 204: ...2001 10 02 CHAPTER 4 HP GL 2 56 ...
Страница 205: ...2001 10 02 CHAPTER 5 PJL 1 CHAPTER 5 PJL PRINTER JOB LANGUAGE ...
Страница 232: ...2001 10 02 CHAPTER 5 PJL 28 AUTOLF Sets AUTO LF ON or OFF AUTOMASK Sets AUTO MASK ON or OFF SELREADOUT ON or OFF ...
Страница 248: ...2001 10 02 CHAPTER 5 PJL 44 ...
Страница 263: ...2001 10 02 CHAPTER 5 PJL 59 ...
Страница 264: ...2001 10 02 CHAPTER 6 EPSON 1 CHAPTER 6 EPSON FX 850 ...
Страница 286: ...2001 10 02 CHAPTER 6 EPSON 23 LPRINT CHR 27 CHR 37 CHR 1 CHR 0 Select downloaded characters ...
Страница 290: ...2001 10 02 CHAPTER 6 EPSON 27 Sample 12 ...
Страница 292: ...2001 10 02 CHAPTER 6 EPSON 29 Sample 14 ...
Страница 294: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 1 CHAPTER 7 IBM PROPRINTER XL ...
Страница 315: ...2001 10 02 CHAPTER 7 IBM PROPRINTER 22 ...
Страница 316: ...2001 10 02 CHAPTER 8 BAR CODE CONTROL 1 CHAPTER 8 BAR CODE CONTROL ...
Страница 326: ...2001 10 02 CHAPTER 9 HP GL 1 CHAPTER 9 HP GL GRAPHICS LANGUAGE ...
Страница 353: ...10 5 2001 APPENDIX A COMPARISON LIST 1 APPENDIX A COMPARISON LIST ...
Страница 391: ...10 5 2001 APPENDIX A COMPARISON LIST 39 AUTOSKIP ON OFF ON OFF ON OFF ON OFF ...
Страница 413: ...2001 10 02 APPENDIX C HBP MODE COMMANDS 1 APPENDIX C HBP MODE COMMANDS For HL 820 1020 1040 Only ...
Страница 426: ...2001 10 02 APPENDIX C HBP MODE COMMANDS 14 ...