SP_SL_OVERCOL

SL_OVERCOL()

  Short:
  ------
  SL_OVERCOL() Move the printer cursor right/left # columns
  relative to position

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

  Syntax:
  -------
  SL_OVERCOL(nColumns)

  Description:
  ------------
  Move print head left/right <nColumns>. A negative
  number means move left, a positive number means move right.

  Actual end position will depend on CHARACTERS PER
  INCH settings.

  Examples:
  ---------
   ?SL_OVERCOL(10)

   ??"Hello world"

   ?SL_DOWNROW(-1)    // moves to prior row

   ?SL_OVERCOL(-11)   // and back to starting column

   ??"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


 

SP_SL_GOTO

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

SP_SL_DOWNROW

SL_DOWNROW()

  Short:
  ------
  SL_DOWNROW() Move the printer cursor up/down by # rows,
  relative to position

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

  Syntax:
  -------
  SL_DOWNROW(nRows)

  Description:
  ------------
  Move print head down <nRows>. A negative number means
  move UP.

  Actual end position will depend on both LINES PER
  INCH settings.

  Examples:
  ---------
   ?SL_DOWNROW(10)

   ??"Hello world"

   ?SL_DOWNROW(-1)    // moves to prior row

   ?SL_OVERCOL(-11)   // and back to starting column

   ??"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