 if lSuccess 
      START HPDFDOC
         SET HPDFDOC ENCODING TO "CP1253" // My intervention
         SET HPDFDOC ROOTOUTLINE TITLE "Index" NAME "IndexName"
         START HPDFPAGE
         SET HPDFDOC PAGEOUTLINE TITLE 'Page 1' PARENT "IndexName"
            @ 10, 60 HPDFPRINT '  ' //  My intervention
            @ 15, 20 HPDFPRINT '  ' color { 255, 0, 0 }   // My intervention
            @ 15, 100 HPDFPRINT '   ' font 'Times-Italic' size 14   // My intervention      
            @ 20, 60 HPDFPRINT 'This is sample Center Aligned' CENTER
            @ 25, 60 HPDFPRINT 'This is sample Right Aligned' RIGHT
            @ 30, 10 HPDFPRINT 'This is a small paragraph to be printed inside a rectangular area which is left aligned.' to 50, 60 
            @ 60, 10 HPDFPRINT 'This is a small paragraph to be printed inside a rectangular area which is center aligned.' to 80, 60 CENTER
            @ 90, 10 HPDFPRINT 'This is a small paragraph to be printed inside a rectangular area which is right aligned.' to 110, 60 RIGHT
            @ 120, 10 HPDFPRINT 'This is a small paragraph to be printed inside a rectangular area which is justify aligned.' to 140, 60 JUSTIFY
            @ 150, 10 HPDFPRINT line to 160, 10
            @ 150, 20 HPDFPRINT line to 160, 20 penwidth 0.5
            @ 150, 30 HPDFPRINT line to 160, 30 penwidth 1 color { 0, 255, 0 }
         END HPDFPAGE
         START HPDFPAGE
            SET HPDFDOC PAGEOUTLINE TITLE 'Page 2'
            @ 10, 60 HPDFPRINT 'This is Page 2' 
            @ 30, 20 HPDFPRINT rectangle to 60, 50
            @ 40, 30 HPDFPRINT rectangle to 50, 40 penwidth 1 color { 0, 255, 0 }
            @ 70, 20 HPDFPRINT rectangle to 90, 40 penwidth 1 color { 0, 255, 0 } filled
            @ 100, 10 HPDFPRINT 'This is text in BIG size' size 30
            @ 120, 10 HPDFPRINT '     This is in Times-Roman font' font 'Times-Roman' size 18
            @ 140, 10 HPDFPRINT '     This is in Courier-BoldOblique font' font 'Courier-BoldOblique' size 18
            @ 160, 10 HPDFPRINT '     This is in Times-Italic font' font 'Times-Italic' size 18
            @ 180, 10 HPDFPRINT '    This is in Helvetica-Bold font' font 'Helvetica-Bold' size 18
            @ 200, 10 HPDFPRINT '     This is in Courier font' font 'Courier' size 18
         END HPDFPAGE