Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Faxual II for CA-Clipper - faxheader http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FaxHeader
 Get/set page header
------------------------------------------------------------------------------
 Syntax

    FaxHeader(<nDev>, [<cNewHeader>]) -> cOldHeader

 Parameters

    <nDev> is a fax device number.

    <cNewHeader> is the new page header.

 Returns

    Old page header.

 Description

    The page header is a string that Faxual II will add, in small type, to
    the top of each page of a fax during transmission.

    The page header can contain these codes:

    Page Header Codes
    ----------------------------------------------------------------------
    Code    Substitution
    ----------------------------------------------------------------------
     %A     "A" if before noon, "P" if after.
     %d     Day of month (01-31).
     %h     Hour, 12-hour format (01-12).
     %H     Hour, 24-hour format (01-24).
     %i     Local station ID (from FaxLocalId()).
     %m     Month (01-12).
     %M     Minute (00-59).
     %p     Page number.
     %P     Total number of pages in fax.
     %y     Year, two digits (00-99).
     %Y     Year, four digits (19xx, 20xx).
     %%     The character "%".
     %;     The character ";".
    ----------------------------------------------------------------------

    A semicolon in the string is a tab separator.  Everything before the
    first semicolon is left-justified on the page.  Everything between the
    first and second semicolon is centered, and the remaining text is
    right-justified.  If you want to print a semicolon, use "%;".

    The default FaxHeader() is

        "%m/%d/%y %h:%M %AM;%i;%p of %P"

    which will produce a page header like

        01/31/95 12:40 PM          +1 818 986 5411                    1 of 4

 Example

    FaxHeader(1, "%m/%d/%y %h:%M %AM;%i - Extrasensory Software;%p of %P")

See Also:

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson