|
Home
|
Contacts |
![]() |
Print HTML ActiveX DLL 1.0.0.11 for WindowsPublished by Power JS Software |
|
| Easy to code for printing HTML. Can be used in the program languages which support COM object. |
|
|
Sample Code for
Visual Basic 6
set PS = CreateObject("PowerJS.clsPrintHTML")
PS.LicenseKey = "My Company/010101010101010" PS.PrinterName = "My Printer Name" PS.Orientation = 2 PS.Header = "My Header" PS.Footer = "&p of &P" PS.BackGround = True PS.LeftMargin = 1 PS.TopMargin = 1 PS.RightMargin = 1 PS.ButtomMargin = 1 PS.PrintURL = "http://www.powerjs.com" PS.Copies = 2 PS.PrintHTML
Sample Code for
VB Script
Set PS = CreateObject("PowerJS.clsPrintHTML")
PS.BackGround = true PS.Header = "Hello World" PS.Footer = "Here is my test" PS.LeftMargin = 0 PS.RightMargin = 0 PS.TopMargin = 0 PS.ButtomMargin = 0 PS.PrintUrl = "http://www.powerjs.com" PS.PrinterName = "My Printer" PS.Copies = 2 PS.setMarginMeasure = 0 PS.Orientation = 2 PS.PrintHTML Set PS = Nothing
Sample Code for Java Script
PS = new ActiveXObject("PowerJS.clsPrintHTML");
PS.BackGround = true; PS.Header = "Hello World"; PS.Footer = "Here is my test"; PS.LeftMargin = 0; PS.RightMargin = 0; PS.TopMargin = 0; PS.ButtomMargin = 0; PS.PrintUrl = "http://www.powerjs.com"; PS.PrinterName = "My Printer"; PS.Copies = 2; PS.setMarginMeasure = 0; PS.Orientation = 2; PS.PrintHTML(); |
| Copyright ©right;2003 - 2012 PowerJS.com. All rights reserved. | Privacy Policy
|