Form/Label printing - stand alone

 

Using program Formout services via the command line to print form/labels

 

Use program: FORMOUT

 

This allows printing of form / labels. The command syntax is as follows:

 

FORMOUT.EXE <tlf filename> [<data source>] [/PRINT:<printername]

 

Arguments

<tlf filename> - the name of the form/label design file

 

data source  - the name of the file containing data to be printed. e.g. a part list filename when using a part list form.

 

The data source is either a part list/cutting list filename, a quote filename, a requirements filename or a batch filename (for cutting patterns and runs). If no batch filename is specified, the current batch is used.

 

printer name - the name of the printer

 

The /PRINT argument is used to specify a different printer, otherwise the default printer will be used.

 

FORMOUT.EXE can be called inside a batch file to do multiple form/label print requests.

 

e.g.  example.bat

 

@echo off

..\..\formout "part list form - 1d barcode_fp" "basic part list"

..\..\formout "board details_fn" "nesting - dxf"

 

Error handling

 

If the printer name specified is not found then the following error message will be added to the file formout.err:

 

Data not  found - printer name [35049]    <printername>

 

If the TLF filename specified does not exist then the following error message will be added to the file formout.err:

 

File not found [36008]     <filename>

 

The TLF extension specifies what type of data file is required:

 

e.g.

design_fp is a part list form so requires a part list  filename

design_fq is a quote form so requires quote filename

 

Here is the list of TLF extension types where _F* refers to forms and _L* refers to labels

 

P - Part list/Cutting list

Q - Quote/orders forms/labels

R - Product requirements

X - Product  explosion

N - Run

C - Cutting pattern

 

So in the example below, the required file is "basic part list.prl"

 

formout "part list form - 1d barcode_fp" "basic part list"

 

If the data file is not  found then the following error message will be added to the file formout.err:

 

File not found [36008]     <filename>

 

Note

 

- If any stand alone commands are to be run directly from the Auxiliary menu, Automatic command files, Saw transfer (program name) or Machining transfer (post transfer program) areas of the software then any equals sign "=" should be replaced with a colon ":".

 

See also