Appendix H - Commands in Spooled Files

The system contains a command interpreter. This means you have a possibility of inserting command lines as a part of the print out.

When InterForm400® identifies a command line, the system will execute the command instead of just printing it.

A command line is a line, where the first two positions contain a command specification.

The command recognition characters <&&’ are normally used. A special command can change these characters into something else.

The requirement for the commands in the spool file to take effect is that the spool file is merged with an InterForm400 overlay e.g. in Auto Forms Control. The overlay used for the merge, do not need to contain any format definitions, i.e. the line spacing, font selection, rotation etc. can be set to *INPUT.

INPEL is an abbreviation of Inches and Pels, and must be written with preceding zeros e.g. 03120 indicates 3½ inch.

G NOTE G

The only command line supported for PDF output is &&IMG. Refer to page 392.

Command line Overview :

Command

Position

Contents

Description

 

 

 

 

BOX

1 - 2

<&&’

Draws a frame of which the upper

 

3 - 5

<BOX’

and lower borders are defined

 

6 - 6

sign (+/-) top border

relatively to the top edge of the

 

7 - 11

upper border distance to edge INPEL

paper, and the left and right

 

12 - 12

sign (+/-) left border

borders are defined relatively to left

 

13 - 17

left border distance to edge INPEL

edge of the paper.

 

18 - 18

sign (+/-) right border

 

 

19 - 23

right side distance to edge INPEL

IN indicates measurement in

 

24 - 24

sign (+/-) bottom border

inches.

 

25 - 29

distance bottom border to edge INPEL

PEL indicates measurement in

 

31 - 33

line width PPP (0-31)

Pels.

 

35 - 35

round/sharp corners (R S)

Leading zeros must be filled in.

 

37 - 38

pattern for filling

 

 

39 - 39

sign (+/-) move right

If a distance is stated without a

 

40 - 44

move right INPEL

leading sign the distance is

 

45 - 45

sign (+/-) move down

calculated relative to the paper

 

46 - 50

move down INPEL

edge. If a sign (+/-) is stated, the

 

52 - 54

number of moves

distance will be calculated

 

 

 

according to the base line of the

 

 

 

current line.

 

 

 

If position 39-54 is filled in, the

 

 

 

frame will be repeated as many

 

 

 

times as stated in position 52-54.

 

 

 

 

390User’s Manual for InterForm400®

Page 390
Image 390
Intermate i5, AS/400, iSeries manual Appendix H Commands in Spooled Files, Command line Overview