Reports the x coordinate of the print cursor.
PrintX ( printjobnumber )
Argument |
Description |
---|---|
printjobnumber |
The number the PrintOpen function assigned to the print job |
Integer. Returns the x coordinate of the print cursor if it succeeds and -1 if an error occurs. If any argument’s value is null, PrintX returns null.
These statements set LocX to
the x coordinate of the cursor and print End
of Report
an inch beyond that location:
integer LocX
long Job
Job = PrintOpen()
... //Print statements
LocX = PrintX(Job)
Print(LocX+1000, "End of Report")