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_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

 

SP_SL_ITALIC

SL_ITALIC()

  Short:
  ------
  SL_ITALIC() Sets font style to italic

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

  Syntax:
  -------
  SL_ITALIC()

  Description:
  ------------
  Sets font style to 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

 

SP_SL_HLINE

SL_HLINE()

  Short:
  ------
  SL_HLINE() Draws a horizontal line from row,col to row,endcol

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

  Syntax:
  -------
  SL_HLINE(nTop,nLeft,nBottom,nRight,[cShade],[nDPIThick],[nCpi])

  Description:
  ------------
  Draws a horizontal line from <nTop,nLeft> to
  <nBottom,nRight>. Based on rows and columns.

  [cShade] refers to the density of the line.

  The shading percentages are (default "100" - black) :

         "1 thru 2" = 2% shade
        "3 thru 10" = 10% shade
       "11 thru 20" = 20% shade
       "21 thru 35" = 30% shade
       "36 thru 55" = 45% shade
       "56 thru 80" = 70% shade
       "81 thru 99" = 90% shade
              "100" = 100% shade

  [nDPIThick] is the thickness in DotsPerInch of the
  line. Default is 2.

  [nCpi] is the characters per inch, and defaults to 10.

  Examples:
  ---------
   ??SL_HLINE(10,10,10,20,"50")  // draws a line 10,10 to 20,20 with
                                 //50%  shading

  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_FILL

SL_FILL()

  Short:
  ------
  SL_FILL() Fills a rectangle with shading or a pattern.

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

  Syntax:
  -------
  SL_FILL(nTop,nLeft,nBottom,nRight,[cShade],[cFill],[nCpi],[nLpi])

  Description:
  ------------
  Fills a rectangle based on rows and columns at
  <nTop,nLeft> to <nBottom,nRight>. The area may be shaded
  [cShade] or filled with a pattern [cFill] :

  The shading percentages are (default "20") :

         "1 thru 2" = 2% shade
        "3 thru 10" = 10% shade
       "11 thru 20" = 20% shade
       "21 thru 35" = 30% shade
       "36 thru 55" = 45% shade
       "56 thru 80" = 70% shade
       "81 thru 99" = 90% shade
              "100" = 100% shade

  The pattern fills are (default "6"):

       "1" = horizontal lines
       "2" = vertical lines
       "3" = diagonal lines top right to bottom left
       "4" = diagonal lines top left to bottom right
       "5" = #1 and # 2 combined
       "6" = #3 and # 4 combined

  <nCpi> is the characters per inch, and defaults to
  10. <nLpi> is the lines per inch, and defaults to 6.

  Examples:
  ---------
   SL_FILL(10,10,20,20,"50")
    // fills from 10,10 to 20 20 with 50% shading

  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_BOX

SL_BOX()

  Short:
  ------
  SL_BOX() Draws a box line from row,col to endrow,endcol

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

  Syntax:
  -------
  SL_BOX(nTop,nLeft,nBottom,nRight,[cShade],[nDPIThick],[nCpi],[nLpi])

  Description:
  ------------
  Draws a box from nTop,nLeft to nBottom,nRight. Based
  on rows and columns.

  [cShade] refers to the density of the line.

  The shading percentages are (default "100" - black) :

         "1 thru 2" = 2% shade
        "3 thru 10" = 10% shade
       "11 thru 20" = 20% shade
       "21 thru 35" = 30% shade
       "36 thru 55" = 45% shade
       "56 thru 80" = 70% shade
       "81 thru 99" = 90% shade
              "100" = 100% shade

  [nDPIThick] is the thickness in DotsPerInch of the
  line. Default is 2.

  [nCpi] is the characters per inch, and defaults to 10.

  [nLpi] is the lines per inch, and defaults to 6.

  Examples:
  ---------
   SL_BOX(10,10,20,20,"50",10)
                     // draws a box 10,10 to 20 20 with 50%
                        //shading and 10 DPI thick

  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().

  QOUT() or QQOUT().

  For HP and compatible(PCL) Laserjet printers.

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

 

SP_SL_BOLD

SL_BOLD()

  Short:
  ------
  SL_BOLD() Sets font stroke weight to BOLD (ultra black)

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

  Syntax:
  -------
  SL_BOLD()

  Description:
  ------------
  Sets font stroke weight to BOLD (ultra black)

  Examples:
  ---------
   ?"Now I am "+SL_BOLD()+"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