User guide
Emulations
147
How are escape
sequences used?
Escape sequences are transmitted to the printer by your computer
software via the printer driver. Experienced users and programmers
can also control the printer directly via control sequences, however
before you start working with escape sequences and control codes,
we recommend that you study the computer software manual.
To enter control codes the Ctrl key and an ASCII character must be
pressed simultaneously. For instance, by pressing Ctrl and J a line
feed is accomplished (it is required to output the character string on
the printer). More information concerning this topic is contained in
your computer software manual and the corresponding Program-
mer’s Application Manuals (see section
Programming manuals
page 177).
The selected emulation must correspond to the printer driver
of your application program. Settings caused by ESC
sequences remain valid, until they are switched off by another
control code. All settings are reset to the original menu, when
the printer is switched off.
MTPL
As the emulations do not cover the entire scope of your printer, a
new printer language, which is adapted to this printer model, has
been created. Using MTPL you are able to optimize operation and
handling.
MTPL can be used in connection with other emulations or can be
used alone.
Example in BASIC
open “LPT1:” as #1
width #1,255
Text1$ = “10 characters/inch”
Text2$ = “15 characters/inch”
ESC$ = chr$(27)
print
#1,ESC$;"[4w";Text1$;ESC$;"[6w";Text2$;ESC$;"[4w";Text1$
end
Example in Pascal
program cpi_example;
uses printer;
const ESC = #27;
Text1 = “10 characters/inch”;
Text2 = “15 characters/inch”;
begin
wri-
teln(lst,Esc,"[4w",Text1,ESC,"[6w",Text2,Esc,"[4w",Text1);
end.
Printout
After the program has been completed the following text will be
printed out:
10 characters/inch
15 characters/inch
10 characters/inch
Summary of Contents for FP5000 series
Page 1: ...User guide FormsPro 5000 Series Printers...
Page 2: ......
Page 17: ...Printer at a glance User guide 4 Printer in tractor mode Tractors...
Page 19: ......
Page 37: ...Printer drivers User guide 24 This page left intentionally blank...
Page 38: ...User guide Printer drivers 25 This page left intentionally blank...
Page 39: ...Printer drivers User guide 26 This page left intentionally blank...
Page 42: ...User guide Printer drivers 29 This page left intentionally blank...
Page 43: ......
Page 51: ......
Page 62: ...User guide 49 This page left intentionally blank...
Page 63: ...User guide 50 This page left intentionally blank...
Page 64: ...User guide 51 This page left intentionally blank...
Page 65: ...User guide 52 This page left intentionally blank...
Page 66: ...User guide 53 This page left intentionally blank...
Page 67: ......
Page 106: ...User guide The Menu 93 Menu settings example...
Page 107: ...The Menu User guide 94...
Page 129: ......
Page 179: ......
Page 191: ......
Page 199: ......