Previous Topic Next topic Print topic


PC_PRINTER_SET_POSITION

Move the logical printer position ready for the next PC_PRINTER_WRITE.

Syntax:

call "PC_PRINTER_SET_POSITION" using
                               by value printer-handle
                               by value set-options
                               by value new-x
                               by value new-y
end-call

Parameters:

  Using call prototype (see Key) Picture
printer-handle cblt-x4-comp5 pic x(4) comp-5.
set-options cblt-x4-comp5 pic x(4) comp-5.
new-x cblt-x4-comp5 pic x(4) comp-5.
new-y cblt-x4-comp5 pic x(4) comp-5.

On Entry:

printer-handle
The printer handle returned when the printer was opened.
set-options
Units of measurement. Can be one of:
0 use logical units
1 use char units
new-x
position on the x-axis.
new-y
position on the y-axis.

Comments:

If SET-OPTIONS-USE-CHAR-UNITS is used, ensure you have selected a fixed pitch/monospace font such as Courier New and Lucida Console.

Previous Topic Next topic Print topic