SETPRC()

From Recital Documentation Wiki
Revision as of 16:21, 7 December 2009 by Helengeorge (Talk | contribs)

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

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, Recital Server