This is a reply to everyone who responded.
Hugh Senior wrote/ schreef:
> Sjoerd wrote:
>
>> I was thinking of another solution: Making a table with two columns of 50%
>> width. I know, this only guaranties that both columns are of the same width,
>> but still...
> All Browsers support tables, of course, but writing a
> parsing routine to convert tabs to HTMLtables is a pain.
>
> What about writing your data to a temp.doc and using EXT.dll to print it?
My idea was indeed to write the HTML to a temporary file, and print it using
EXT.dll. I only don't understand what's the 'pain' here, it's as easy as
this:
function tableEncode htmlCode
return "<TABLE BORDER=0><TR><TD>" &
replaceText(replaceText(htmlCode,"<P>","</TD></TR><TR><TD>"),"	","</TD><T
D>") & "</TD></TR></TABLE>"
end tableEncode
Bruce Lewis wrote/ schreef:
> Could you use RTF and print in Word?
> <snip>
> This was a tabular table. I think you wanted continuous text. I don't
> know if the same principle would work, but I think it would.
Well, actually I don't. I'm going to use this all to print numerous reports
which all should have approximately the same layout, so...
I still have a question: when printing a temporary HTML file with EXT.dll, I
find all kinds of unwanted headers and footers (file path, print date and
'Page x of y' instead of 'Pagina x van y' (Dutch)).
Being able to set these headers and footers in a way (by setting a .inf
files or a registry entry) would be optimal, but being able to disable
headers and footers would be also nice.
Thanks to everyone who responded and hoping for a final reply,
Sjoerd
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.