The SCML RTF Printer is an ActiveX DLL that allows Visual Basic
programmers to print and preview RichTextBoxes on ink-jet and
laser printers. It has been made with VB6 (sp3).
The SCML RTF Printer has the following features:·
FULLY LICENSED PRICE:
149 $ (US)

Click on picture to
have a full view
To register:
Download the HELP file in HTML format (14K)
| PROPERTIES: | |
| AlignPageNumbering | obj.AlignPageNumbering[= long] |
| AlignLeft_Page = 1 | |
| AlignCenter_Page = 2 | |
| AlignRight_Page = 3 | |
| AlignLeft_Margins = 4 | |
| AlignCenter_Margins = 5 | |
| AlignRight_Margins = 6 | |
| example: | |
| obj.AlignPageNumbering = AlignCenter_Margins | |
| AlignTitle | obj.AlignTitle[= long] |
| AlignLeft_Page = 1 | |
| AlignCenter_Page = 2 | |
| AlignRight_Page = 3 | |
| AlignLeft_Margins = 4 | |
| AlignCenter_Margins = 5 | |
| AlignRight_Margins = 6 | |
| example: | |
| obj.AlignTitle = AlignLeft_Page | |
| Orientation | obj.Orientation[= long] |
| Portrait = 1 | |
| Landscape = 2 | |
| example: | |
| obj.Orientation = Portrait | |
| PageBreakTrigger | obj.PageBreakTrigger[= string] |
| examples: | |
| obj.PageBreakTrigger = "<page break>" | |
| obj.PageBreakTrigger = "/ppp/" | |
| obj.PageBreakTrigger = "\##\" | |
| PageNumberFontBold | obj.PageNumberFontBold[= boolean] |
| example: | |
| obj.PageNumberFontBold = True | |
| PageNumberFontItalic | obj.PageNumberFontItalic[= boolean] |
| example: | |
| obj.PageNumberFontItalic[= boolean] | |
| PageNumberFontName | obj.PageNumberFontName[= string] |
| example: | |
| obj.PageNumberFontName = "Arial" | |
| PageNumberFontSize | obj.PageNumberFontSize[= single] |
| example: | |
| obj.PageNumberFontSize = 12 | |
| PageNumbering | obj.PageNumbering[= boolean] |
| example: | |
| obj.PageNumbering = True | |
| PageNumberingText | obj.PageNumberingText[= string] |
| examples: | |
| obj.PageNumberingText = "Page " | |
| obj.PageNumberingText = "Page " + "ofTotal" | |
| The "ofTotal" string is a constant for displaying the | |
| total number of pages. | |
| PaperSize | obj.PaperSize[= long] |
| Letter = 1 | |
| Legal = 5 | |
| A4 = 9 | |
| A3 = 8 | |
| example: | |
| obj.PaperSize = Letter | |
| PreviewCaption | obj.PreviewCaption[= string] |
| example: | |
| obj.PreviewCaption = "PREVIEW" | |
| PreviewICONpath | obj.PreviewICONpath[= string] |
| example: | |
| obj.PreviewICONpath = "C:\myicons\prog.ico" | |
| ShowPreview | obj.ShowPreview[= boolean] |
| example: | |
| obj.ShowPreview = True | |
| If False then printing will start without showing the | |
| preview form. | |
| ShowPrinterDialog | obj.ShowPrinterDialog[= boolean] |
| example: | |
| obj.ShowPrinterDialog = True | |
| If True then the printer dialog will be displayed, allowing | |
| the user to select the printer and the pages to be printed | |
| TextFrame | obj.TextFrame[= long] |
| Simple_Line = 1 | |
| Double_Line = 2 | |
| example: | |
| obj.TextFrame = Simple_Line | |
| This will draw a single lined border around the text, while | |
| a zero value will not. | |
| Title | obj.Title[= boolean] |
| example: | |
| obj.Title = True | |
| TitleFontBold | obj.TitleFontBold[= boolean] |
| example: | |
| obj.TitleFontBold = True | |
| TitleFontItalic | obj.TitleFontItalic[= boolean] |
| example: | |
| obj.TitleFontItalic = True | |
| TitleFontName | obj.TitleFontName[= string] |
| example: | |
| obj.TitleFontName = "Times New Roman" | |
| TitleFontSize | obj.TitleFontSize[= single] |
| example: | |
| obj.TitleFontSize = 14 | |
| TitleText | obj.TitleText[= string] |
| example: | |
| obj.TitleText = "Document Title" | |
| TitleTop | obj.TitleTop[= single] |
| example: | |
| obj.TitleTop = .25 | |
| Vertical position of the title. Value in inches. | |
| TranslateWordOF | obj.TranslateWordOF[= string] |
| example: | |
| obj.TranslateWordOF = "de" | |
| For languages other than English, this will replace the | |
| word "of" with the specified word. | |
| TranslateWordPAGE | obj.TranslateWordPAGE[= string] |
| example: | |
| obj.TranslateWordPAGE = "Pagina" | |
| For languages other than English, this will replace the | |
| word "Page" with the specified word. | |
| METHODS: | |
| PrintRTF | object.PrintRTF(RTF As Object, _ |
| LeftMarginWidth As Single, _ | |
| TopMarginHeight As Single, _ | |
| RightMarginWidth As Single, _ | |
| BottomMarginHeight As Single) |
example:
objPrint.PrintRTF RichTextBox1, 1.25, 1.5, 1, 1.25
This is the method that actually prints the specified RichTextBox with the margins settings.
All margin arguments must be in inches.
For webmasters of shareware sites: SCML RTF
Printer supports PAD.
The SCML RTF Printer PAD file can be found here.
© SCMLsoftware 2001