Page 1 of 1

Printing text files

Posted: Fri Aug 07, 2009 2:11 pm
by ConvertFromOldNGs
by JADE News Administrator >> Thu, 29 Oct 1998 5:06:32 GMT

In Jade, how do I send a text file to a printer?

Re: Printing text files

Posted: Fri Aug 07, 2009 2:11 pm
by ConvertFromOldNGs
by JADE News Administrator >> Thu, 29 Oct 1998 5:07:19 GMT

I have setup the 'shellExecute' external function as described in another message in this newsgroup
(See "Query on Interface to Outlook Express E Mail")
The other option for this external call is use the "print" option thus

call shellExecute (hwnd, "print", "c:\printfile.name.txt", null, null, 1);

I have not tried it myself yet but the documentation says that it should work.

The third option for this call is the 'explore' option. Once again I have tried this either.

Good luck ... Arjan van Hasselt ( avanhasselt@cardinal.co.nz )