???

From Recital Documentation Wiki
Revision as of 14:07, 27 April 2009 by Yvonnemilne (Talk | contribs)

Jump to: navigation, search

Class

Printing


Purpose

Evaluate expression and output result to printer


Syntax

??? <expC>


See Also

?, ??, CHR(), CTRL(), PRINT, SET CONSOLE, SET DEVICE, SET MAPCHAR, SET PRINT, SET PRINTER, SET SCREENMAP


Description

The ??? command evaluates the specified expression and sends the output to the printer. This command is particularly useful for sending initialization strings to a printer. Initialization strings contain control characters that prescribe certain printing attributes. If your printer driver does not support a certain printing capability, the ??? command can be used to circumvent the driver and send printer control codes directly to the printer. Your printer manual contains a table of control codes and the correct use of each. Printer control codes may contain any printable character with the exception of the double quote mark "". Printable character codes may be expressed in a variety of ways, however strings that name non-printable characters must include curly braces {}. The <expC> can contain directives that are translated from the following table:


ASCII Code Control Character Specification
0 {NULL} or {CTRL @}
1 {CTRL-A}
2 {CTRL-B}
3 {CTRL-C}
4 {CTRL-D}
5 {CTRL-E}
6 {CTRL-F}
7 {BELL} or {CTRL-G}
8 {BACKSPACE} go {CTRL-H}
9 {TAB} or {CTRL-I}
10 {LINEFEED} or {CTRL-J}
11 {CTRL-K}
12 {CTRL-L}
13 {RETURN} or {CTRL-M}
14 {CTRL-N}
15 {CTRL-O}
16 {CTRL-P}
17 {CTRL-Q}
18 {CTRL-R}
19 {CTRL-S}
20 {CTRL-T}
21 {CTRL-U}
22 {CTRL-V}
23 {CTRL-W}
24 {CTRL-X}
25 {CTRL-Y}
26 {CTRL-Z}
27 {ESCAPE} or {ESC} or {CTRL-[}
28 {CTRL-}
29 {CTRL-]}
30 {CTRL-^}
31 {CTRL-_}
32 {DEL} or {DELETE}


Example

??? "{ESCAPE}24"


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer