Difference between revisions of "SETPRC()"

From Recital Documentation Wiki
Jump to: navigation, search
(Products)
 
Line 27: Line 27:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital, Recital Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Printing]]
 
[[Category:Printing]]
 
[[Category:Printing Functions]]
 
[[Category:Printing Functions]]

Latest revision as of 16:21, 7 December 2009

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