Source language: Translate to:

NeoPrintHTML Plugin Released

Questions about NeoBook PlugIns

Moderator: Neosoft Support

NeoPrintHTML Plugin Released

Postby David de Argentina » Tue Aug 31, 2010 2:54 pm

Hi all,

If you need print a HTML file without open it into a WebBrowser Object, this plugin could be usefull for you.

Plugin has one Function:

ae_PrintHTML "[file]" "[ShowPreviewDialog]" "[ShowPrinterDialog]"

Where:

[File] is the (FullPath or URL) selected File to print
[ShowPreviewDialog] Opens the Preview Dialog. Could be "True" or "False"
[ShowPrinterDialog] Opens the Printer Select Dialog. Could be "True" or "False". This parameter works when the Preview Dialog is setted to "False" only.

Returns: Nothing

Example:

ae_PrintHTML "[file]" "True" "False"

Plugin could be downloaded at:

http://www.mediafire.com/file/72cby2ene ... ntHTML.zip

Plugin is Freeware for Private use Only.

Enjoy it !
David de Argentina
User avatar
David de Argentina
 
Posts: 1553
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Postby David de Argentina » Wed Sep 01, 2010 3:09 am

Program updated.

There was a bug releasing the print object from memory.

Now, plugin has 3 Functions:

ae_PrintHTML_Init

Purpose: Init Print Engine.
Usage:
ae_PrintHTML_Init
No arguments.
Return: Nothing
This function must be used on the start program Actions or on the start page Actions


ae_PrintHTML_End

Purpose: End Print Engine
Usage:
ae_PrintHTML_End
No Arguments
Return: Nothing
This function must be used on the End Program Actions or on End Page Actions


ae_PrintHTML_Print

Purpose: Print selected HTML file
Usage:
ae_PrintHTML_Print "[file]" "[ShowPreviewDialog]" "[ShowPrinterDialog]"
Where:
[File] is the (FullPath or URL) selected File to print
[ShowPreviewDialog] Opens the Preview Dialog. Could be "True" or "False"
[ShowPrinterDialog] Opens the Printer Select Dialog. Could be "True" or "False". This parameter works when the Preview Dialog is setted to "False" only.
Returns: Nothing
Example:
ae_PrintHTML_Print "[file]" "True" "False"

Plugin must be re-downloaded at:

http://www.mediafire.com/file/8eqm1qc8e ... ntHTML.zip

Thanks again,
David de Argentina
User avatar
David de Argentina
 
Posts: 1553
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Postby asawyer13 » Mon May 02, 2011 12:17 pm

David,
Any chance this could be updated to allow me to decide page orientation like portrait or landscape when I open my html file without requiring the user to do it, and things like that?

Also if this works, I would probably want to include this in an app I am thinking of writing, so what would cost be so I could include it?

Alan
Last edited by asawyer13 on Mon May 02, 2011 5:05 pm, edited 1 time in total.
asawyer13
 
Posts: 123
Joined: Sun Aug 22, 2010 6:13 pm

Postby David de Argentina » Mon May 02, 2011 2:41 pm

Hi Alan,

I'm sorry. The API I use to do this plugin, does not allow call the functions with user definded selections.

When [ShowPreviewDialog] is setted to True, you can set the print orientation, using the second and third button of the Preview dialog.

My devaluated cent,
David de Argentina
User avatar
David de Argentina
 
Posts: 1553
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Postby asawyer13 » Fri May 06, 2011 4:12 am

David,
Do you think it would be possible to set up some sort of hot key or something so that once I open the html I could send it so it would switch to landscape?

I am thinking that it's going to be a pain all the time switching it to landscape since most of my reports will be landscape.

Alan
asawyer13
 
Posts: 123
Joined: Sun Aug 22, 2010 6:13 pm

Postby David de Argentina » Fri May 06, 2011 11:58 am

Sorry Alan,

The COM object does not support this feature.

see:

http://support.microsoft.com/default.as ... -us;313723

My devaluated cent,
David de Argentina
User avatar
David de Argentina
 
Posts: 1553
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina


Return to PlugIn Discussions

Who is online

Users browsing this forum: No registered users and 1 guest