Printing text files

Forums for specific tips, techniques and example code
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Printing text files

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:11 pm

by JADE News Administrator >> Thu, 29 Oct 1998 5:06:32 GMT

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

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Printing text files

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:11 pm

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 )


Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 0 guests