Reference Guide :
The PRINTER unit.

Michaël Van Canneyt

Abstract:

This document describes the PRINTER unit for FPK Pascal. It was written for LINUX by Michaël Van Canneyt. It works only on LINUX systems.

The document is divided in 2 sections:

Types, Constants and variables :

Lst : this is the standard printing device.
Lst is set up using AssignLst('/tmp/PID.lst'). You can change this behaviour at compile time, setting the DefFile constant.

Procedures and functions

AssignLst

   

Declaration:

Procedure AssignLst ( Var F : text; ToFile : string[255]) ;

Description:

Assigns to F a printing device. ToFile is a string with the following form:

Errors:

Errors are reported in Linuxerror.

See also:

lpr(1)


Michael Van Canneyt
Thu Dec 12 15:47:48 MET 1996