Assuming the target machine(s) have MS Word installed, you could create the
required, properly-formatted Word document and via MapBasic, invoke MS Word
in its Print mode (syntax is available from the Word manual, or by looking
at the Windows Explorer's Folder Options > File Types pane). You could
totally password-protect the DOC if you want.

Ian Thomas
GeoSciSoft - Perth, Australia

> -----Original Message-----
> From: Bill Thoen [mailto:[EMAIL PROTECTED]
> Sent: Friday, 8 October 2004 4:50 AM
> To: MapInfo-L
> Subject: MI-L Printing Text Documents with MapInfo
> 
> I've got to modify an MBX application to print a page of legal fineprint
> following the output of one to many maps. The maps are easy, but how do
> you produce a neatly-formatted page of text? This page has about 1000
> words of boilerplate text and I've got to add some run-time generated
> summary text as well.
> 
> The output goes directly to the printer on the client machines, and I
> can't assume they have MS Word, Adobe PDF, or even a web browser.
> 
> The only thing I can think of is to paste the boilerplate text into a
> layout window, line by line (because strings can't be longer than 255
> chars), and then save it as a workspace. At run time, I could then open
> this layout, drop in my additional text at the top of the page, and print
> the page. But the prospect of manually laying out the fixed text seems a
> bit daunting.
> 
> Does anyone know if there is a better way, or a tool that can move a Word
> document into a frame that could be dropped on a layout?
> 
> - Bill Thoen
> 
> 
> 
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 13640



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 13644

Reply via email to