Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SuperLib 3.50 - function sl_goto() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FUNCTION SL_GOTO()

  Short:
  ------
  SL_GOTO() Move the printer cursor to row/col

  Returns:
  --------
  cCode => control string to send to the printer

  Syntax:
  -------
  SL_GOTO(nRow,nCol)

  Description:
  ------------
  Move print head to row <nRow> and column <nCol>.
  Actual end position will depend on both LINES PER INCH and
  CHARACTERS PER INCH settings.

  Examples:
  ---------
   ?SL_GOTO(10,10)

   ??"Hello world"

   ?SL_GOTO(9,10)

   ??"Attention:"

  Notes:
  -------
  Does not send anything to the printer - instead
  returns a control string that you send to the printer. String can be
  sent with ? or ?? or  QOUT() or QQOUT().

  For HP and compatible(PCL) Laserjet printers.

  Source:
  -------
  S_HPLAS.PRG


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson