Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

PRN_CODE( _code, _to_prn )

Purpose

Send the named code to the printer, or return the code identified
by its name.

Arguments

     _code -- printer control string in the PRINTER table.

     _to_prn -- Pass .F. to return the printer code rather than send it
                    to the printer.

Setup

PRINTER.DBF is open and indexed. This function is called from SET_PRN().

Example

     PRN_CODE( "Bold", .F. )

Returns

.T. or .F. if _to_prn was not passed: .T. if the printer is on-line and
selected, etc., else .F.. If _to_prn is passed, the function returns
the actual printer control string (from the PRINTER table).

Side Effects

Crash if PRINTER.DBF is not open and indexed.

Artful Calls

STRINT

Source File

AA_LISTM.PRG

Notes

This is one of several printer administration functions.

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