SETPRC()

From Recital Documentation Wiki
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