SP_SL_SETLPI

SL_SETLPI()

  Short:
  ------
  SL_SETLPI() Sets the lines per inch for the laserjet

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

  Syntax:
  -------
  SL_SETLPI(nLPI)

  Description:
  ------------
  Sets the lines per inch for the laserjet to <nLpi>
  which  can be:

  1 - 1 line/inch
  2 - 2 line/inch
  3 - 3 line/inch
  4 - 4 line/inch
  6 - 6 line/inch
  8 - 8 line/inch
  12-12 line/inch
  16-16 line/inch
  24-24 line/inch
  48-48 line/inch

  Examples:
  ---------
   cCode := SL_SETLPI(6)     // sets LPI to 6 - the default

   ?cCode

  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