b_include file |
The contents of file is inserted at the current
location without further processing by fdu. This command is useful to add a company
logo that may have been created by a scanner producing LaserJet compatible files. If the
filename contains special characters it has to be defined as string (i.e. enclosed in
quotes like "logo.mac"). |
box y, x |
Draws a rectangle of y vertical and x
horizontal points. The line width used defaults to one point and may be changed by the line_points
command. The cursor position remains unchanged. |
charset id |
Changes the character set to be used for text output to id.
The available character sets are defined in /usr/lib/css/fdu/charset:
ansi_ascii |
ISO 6 ANSI ASCII |
french_25 |
ISO 25 French |
german |
HP German |
german_21 |
ISO 21 German |
ibm_pc |
IBM-PC USA |
ibm_norw |
IBM Norwegian |
roman_8 |
Roman-8 |
The corresponding alternate character sets have the prefix s_ (for secondary,
e.g. s_ibm_pc).
|
copys #
copies # |
Sets the number of copies that have to be printed of each
page. |
cpi id |
Sets the character pitch (character per inch) to id. The available values of id are defined in /usr/lib/css/fdu/charpitch: 8 |
8.3 CPI |
10 |
10 CPI |
12 |
12 CPI |
16 |
16.66 CPI |
|
c_move [[{+|-}]y][,[{+|-}]x] |
Moves the imaginary cursor to the character position with the
coordinates y vertical and x horizontal (character position move). Relative
moves may be performed by signed values. A negative sign moves y lines up or x
characters left and a positive sign moves y lines down or x characters to
the right. Missing values are substituted by the current coordinate and thus do not move
in the corresponding direction. All other fdu positioning commands take typographic
points (300x300) as arguments. |
data d [[,] d]... |
This command is intended to define output data. The available
parameter types for d are:
'abc' |
Text string abc. Strings follow the syntax of the C language to
define special characters:
\a, \b, \f, \n, \r, \t, \v, \\, \', \", \xXXX, \OOO
where
XXX = 1..3 Hex-Zahlen
OOO = 1..3 Oktal-Zahlen |
"abc" |
Same as 'abc'. |
123 |
Byte (decimal 0..255) |
0123 |
Byte (octal 0..377) |
0x12 |
Byte (hex 0..ff) |
ctl |
ASCII control character synonym: Synonym |
hex |
Ctl |
nul |
00 |
^@ |
soh |
01 |
^A |
stx |
02 |
^B |
etx |
03 |
^C |
eot |
04 |
^D |
enq |
05 |
^E |
ack |
06 |
^F |
bel |
07 |
^G |
bs |
08 |
^H |
ht |
09 |
^I |
lf |
0a |
^J |
nl |
0a |
^J |
vt |
0b |
^K |
ff |
0c |
^L |
cr |
0d |
^M |
so |
0e |
^N |
si |
0f |
^O |
dle |
10 |
^P |
dc1 |
11 |
^Q |
dc2 |
12 |
^R |
dc3 |
13 |
^S |
dc4 |
14 |
^T |
nak |
15 |
^U |
syn |
16 |
^V |
etb |
17 |
^W |
can |
18 |
^X |
em |
19 |
^Y |
sub |
1a |
^Z |
e |
1b |
^[ |
esc |
1b |
^[ |
fs |
1c |
^\ |
gs |
1d |
^] |
rs |
1e |
^^ |
us |
1f |
^_ |
sp |
20 |
^` |
del |
7f |
|
|
The commas that separate data arguments are optional. The position of the
imaginary cursor is moved to the end of the text generated by the data command.
|
eject |
Perform a formfeed. |
end_macro |
Concludes the definition of a macro that has been initiated
by a macro command. |
font id |
Set the font for subsequent text to id. The available values of id are defined in /usr/lib/css/fdu/font: i1 .. i18 |
internal fonts 1 to 18 |
l1 .. l5 |
left cartridge font 1 to 5 |
r1 .. r5 |
right cartridge font 1 to 5 |
p1 .. p5 |
download fonts 1 to 5 |
The corresponding secondary fonts have the prefix s_ (e.g. s_il).
|
gray id |
Selects the gray scale value to be used by the gray_box command. The available values of id are defined in /usr/lib/css/fdu/grayscale: 1 |
2% |
2 |
10% |
3 |
15% |
4 |
30% |
5 |
45% |
6 |
70% |
7 |
90% |
8 |
100% (solid black) |
light |
10% |
medium |
30% |
dark |
70% |
|
gray_box y,x |
Draws a filled rectangle of y vertical and x
horizontal points. The default gray scale value is 2%, it may however be changed by the gray
command. Unlike the box command, gray_box does not draw a surrounding
border. The cursor position remains unchanged. |
h_line x |
Draws a horizontal line with a length of x points. The
line width used defaults to one point and may be changed by the line_points
command. The cursor position remains unchanged. |
h_move [{+|-}]x |
Moves the imaginary cursor to the horizontal position x
(in points). Relative moves may be performed by signed values. A negative sign moves x
points left and a positive sign moves x points to the right. |
include file |
The contents of file is inserted at the current
location and interpreted by fdu. This command is useful to isolate often used
definitions in procedure files. If the filename contains special characters it has to be
defined as string (i.e. enclosed in quotes like "invoice.mac"). |
init |
Initialize printer and reset internal variables to their
default values. |
italic {on|off} |
Set italic font on or off. |
landscape |
Set printer to landscape format. |
left_margin # |
Defines the left margin in number of characters. The size of
the margin is dependent on the current character size at the time of the left_margin
command. |
line_pitch id |
Sets the line pitch (lines per inch) to id. The available values of id are defined in /usr/lib/css/fdu/linepitch: 1 |
1 LPI |
2 |
2 LPI |
3 |
3 LPI |
4 |
4 LPI |
6 |
6 LPI |
8 |
8 LPI |
12 |
12 LPI |
24 |
24 LPI |
48 |
48 LPI |
|
lpi id |
Synonym for the line_pitch statement. |
line_points # |
Sets the line width for the box-, h_line- and v_line
commands (in points). |
lines # |
Defines the page size in number of lines. The size of the
page area is dependent on the current line pitch at the time of the lines command. |
load # |
Activates the macro number # and starts macro overlay.
Load 0 terminates macro overlay and is identical with unload. |
macro # |
Start definition of macro number #. Each definition
must be terminated by a end_macro command. |
move [[{+|-}]y][,[{+|-}]x] |
Moves the imaginary cursor to the point position with the
coordinates y vertical and x horizontal. Relative moves may be performed by
signed values. A negative sign moves y points up or x points left and a
positive sign moves y points down or x points to the right. Missing values
are substituted by the current coordinate and thus do not move in the corresponding
direction. |
page_size # |
Synonym for the lines command. |
pattern id |
Selects the pattern to be used by the pat_box command. The available values of id are defined in /usr/lib/css/fdu/pattern: 1 |
horizontal lines |
2 |
vertical lines |
3 |
diagonal lines 1 |
4 |
diagonal lines 2 |
5 |
square grid |
6 |
diagonal grid |
|
pat_box y, x |
Draws a pattern filled rectangle of y vertical and x
horizontal points. The current pattern has to be set by the pattern command. Unlike
the box command, pat_box does not draw a surrounding border. |
pitch id |
Synonym for the cpi command. |
points # |
Sets the character size in points. |
portrait |
Set printer to portrait format. |
pop |
Moves the imaginary cursor to the location most recently
added to the stack by a push command. |
primary |
Sets the primary character set for text output (default). |
proportional {on|off} |
Set proportional font on or off. |
push |
Save the current position of the imaginary cursor in a stack.
Pushed addresses may be used in subsequent pop commands. The stack should not be
overused. A maximum of about 10 save locations will ensure portability. |
right_margin # |
Defines the right margin in number of characters. The size of
the margin is dependent on the current character size at the time of the right_margin
command. |
secondary |
Sets the secondary character set for text output. |
stroke id |
Selects the stroke weight to be used for text output. The
available values of id are defined in /usr/lib/css/fdu/strokeweight:
light |
light |
medium |
medium |
bold |
bold |
|
stop |
Stop the macro translation by fdu. |
text d [[,] d]... |
Synonym for the Data command. |
text_lines # |
Defines the size of the text area in number of lines. The
size of the text area is dependent on the current line pitch at the time of the text_lines
command. |
top_margin # |
Defines the top margin in number of lines. The size of the
top margin is dependent on the current line pitch at the time of the top_margin
command. |
typeface id |
Selects the typeface to be used for text output. The
available values of id are defined in /usr/lib/css/fdu/typeface: caslon,
courier, dutch, elite, gothic, helvetic, lp (line printer), orator, pica, present
(presentation), prestige, roman, times roman, script, swiss
The corresponding secondary typefaces have the prefix s_ (e.g. s_pica). |
underline {on|off} |
Set underline mode on or off. |
unload |
Deactivates the macro overlay of a previous load
command. |
v_line y |
Draws a vertical line with a length of y points. The
line width used defaults to one point and may be changed by the line_points
command. The cursor position remains unchanged. |
v_move [{+|-}]y |
Moves the imaginary cursor to the vertical position y
(in points). Relative moves may be performed by signed values. A negative sign moves y
points up and a positive sign moves y points down. |
x_line x |
Synonym for the h_line command. |
x_move [{+|-}]x |
Synonym for the h_move command. |
y_line y |
Synonym for the v_line command. |
y_move [{+|-}]y |
Synonym for the v_move command. |
# comment |
Comment up to the end of the line. |