Overlay files and cover sheets
company name and :RECNAME: where you want to have the name, faxsr is called up in the following way:
#faxsr ETCDIR/cover.icab "REC=Infoflex Connect AB" "RECNAME=Ste- fan Norlin" >cover.final
Note that the result is written to “standard out” in the example above and that above the field names are arbitrary.
At the end of a file which is created with a printout in Windows, a page feed (hex 0x0c) and Esc E (hex 0x1b 0x45) is always added to restore the printer after the
Summary:
!Produce the document in a suitable application in Windows.
!Choose HP Laserjet Plus as the printer.
!Choose the font cassette Z: Microsoft 1A for the printer.
!Remember that document codes should exist with some of the
!Print the document.
For each fax that is to be sent, the template is “mixed” with the variable data with the aid of the command faxsr.
Some special field codes:
:MESSAGE:
Replaced with the contents in the file which is indicated as an argument. E.g. “MESSAGE=/tmp/message” insert the file /tmp/message instead of the code.
:DATE:
The current date is inserted. The format is
:TIME:
The current time is inserted. The format is tt:mm.
Note that the script xfax automatically searches for a file cover under
There are some things you may need to change in the PCL file, namely:
The symbol set up, XFAX wants to have
If the MESSAGE codes lie before the screen data in the PCL file you obtain the following scenario. Where you set in the MESSAGE field, the files given are set in during the operation. If the files are more than one page long so that a page break is set in, the screen data (logotype, graphics, etc.) is set in on the page. Therefore, this code must be set in last in the document.
XFAX - User’s Guide 4.3a | 26 |