SETPRC()

From Recital Documentation Wiki
Revision as of 15:41, 20 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SETPRC()

Class

Printing


Purpose

Function to set the internal PROW() and PCOL() values


Syntax

SETPRC(<expN1>, <expN2>)


See Also

SET DEVICE, @...SAY, SET PRINT, SET PRINTER, PROW(), PCOL(), ROW(), COL()


Description

The SETPRC() function will set the internal PROW() and PCOL() values to the specified values. The <expN1> is the printer row position; <expN2> is the printer column position. This function can be useful when sending setup strings to the printer without changing the print head coordinates. It can also be used to suppress page ejects.


Example

set device to print
set print on
@0,0 say "printer setup string"
setprc(0,0) && does not send page eject 
set print off
set device to screen


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer