SP_SL_RESET

SL_RESET()

  Short:
  ------
  SL_RESET() Resets the printer to user defaults

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

  Syntax:
  -------
  SL_RESET()

  Description:
  ------------
  Resets the printer to user defaults

  Examples:
  ---------
   ?SL_RESET()

  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_PUSHCURS

SL_PUSHCURS()

  Short:
  ------
  SL_PUSHCURS() Pushes the printer cursor position for later
  popping

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

  Syntax:
  -------
  SL_PUSHCURS()

  Description:
  ------------
  Pushes the current printer cursor position for later
  retrieval (popping) with SL_POPCURS(). Up to 20 positions may be pushed.

  Examples:
  ---------
   ?SL_PUSHCURS()

  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_PORT

SL_PORT()

  Short:
  ------
  SL_PORT() Sets the laserjet orientation to PORTRAIT

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

  Syntax:
  -------
  SL_PORT()

  Description:
  ------------
  Sets the laserject orientation to PORTRAIT

  Examples:
  ---------
   cSetup := SL_PORT()

   ?cSetup

  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_POPCURS

SL_POPCURS()

  Short:
  ------
  SL_POPCURS() Pops the printer cursor position for later popping

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

  Syntax:
  -------
  SL_POPCURS()

  Description:
  ------------
  Pops the current printer cursor position pushed by
  with SL_PUSHCURS(). Up to 20 positions may be POPed.

  Examples:
  ---------
   ?SL_POPCURS()

  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_PAGESIZE

SL_PAGESIZE()

  Short:
  ------
  SL_PAGESIZE() Sets the page size on the laserjet

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

  Syntax:
  -------
  SL_PAGESIZE(nSize)

  Description:
  ------------
  Sets the page size on the laserjet where <nSize> is
  one of the following:

       1 Executive          (7.25" x 10.5")
       2 Letter                 (8.5" x 11")
       3 Legal                  (8.5" x 14")
      26 A4                     (210mm x 297mm)
      80 Monarch Envelope   (3 7/8" x 7 1/2")
      90 COM-10 Envelope    (4 1/8" x 8 1/2")
      91 International C5   (162mm  x 229mm)

  Examples:
  ---------
   cCode := SL_PAGESIZE(2)  // letter size
   ?cCode
   cCode := SL_PAGESIZE(3)  // legal  size
   ?cCode
   cCode := SL_PAGESIZE(26)  // A4 size
   ?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_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_NORMAL

SL_NORMAL()

  Short:
  ------
  SL_NORMAL() Sets font stroke weight to NORMAL (non bold)

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

  Syntax:
  -------
  SL_NORMAL()

  Description:
  ------------
  Sets font stroke weight to NORMAL (non bold)

  Examples:
  ---------
   ?"Now I am "+SL_NORMAL()+"REALLY"+SL_NORMAL()+" mad!"

  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_LEFTMARG

SL_LEFTMARG()

  Short:
  ------
  SL_LEFTMARG() Sets the left margin to the left edge of the
  specified column

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

  Syntax:
  -------
  SL_LEFTMARG(nColumn)

  Description:
  ------------
  Sets the left margin to the left edge of the
  specified column in <nColumn>.

  Examples:
  ---------
   ?SL_LEFTMARG(3) // sets left margin to column3

  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_LANDS

SL_LANDS()

  Short:
  ------
  SL_LANDS() Sets laserjet orientation to LANDSCAPE

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

  Syntax:
  -------
  SL_LANDS()

  Description:
  ------------
  Sets laserjet orientation to LANDSCAPE

  Examples:
  ---------
   ?SL_LANDS()

  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_ITALICOFF

SL_ITALICOFF()

  Short:
  ------
  SL_ITALICOFF() Sets font style to upright (non italic)

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

  Syntax:
  -------
  SL_ITALICOFF()

  Description:
  ------------
  Sets font style to upright( non italic)

  Examples:
  ---------
   ?"Now I am "+SL_ITALIC()+"REALLY"+SL_ITALICOFF()+" mad!"

  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