>> I need to convert an Abacus spreadsheet into HTML, preferably as a
>> table or monospaced HTML text.
>Hi Dilwyn,
>You could try 'DBF2HTM' (Per Witte website) which converts Archive
>DBF-files to HTLM tables.
>Export your ABACUS file, import it in ARCHIVE and use DBF2HTM
>
>François Van Emelen
My best idea so far has been to create an HTML-generating printer_dat
for Xchange, which I hope to put on my website tonight.

Following Marcel's reminder recently, Xchange Abacus can have 3
different named drivers:

1. Task name
2. abba_dat (for Abacus, or archv_dat for Archive or quil_dat for
Quill)
3. Xchange_dat.

Xchange finds them in the help drive (usually the PROG_USE default
drive). My approach was to create a printer_dat file called html_dat
which is placed in the Xchange directory. It has to be Xchange, the
original Quill, Abacus etc don't allow long enough strings in the
printer_dat. In fact, you have to use the uncompiled pedit_bas program
to avoid string input length problems, then make a printer_dat called
html_dat containing the following (I hope these tags survive email,
I'm trying to send as plain text!):

preamble: <HTML><HEAD><TITLE><Xch2Html></TITLE></HEAD><BODY><PRE>
postamble: <</PRE></BODY></HTML>

bold on: <b>
bold off: </b>

underline on: <u>
underline off: </u>

subscript on: <sub>
subscript off: </sub>

superscript on: <sup>
superscript off: </sup>

translates: as required, e.g. £ to 163.

In Xchange's openign Task Control screen, start a copy of Abacus and 
give it the task name html. This prints using the printer driver 
html_dat, print to file and voila! You get a fairly basic html file 
direct from Abacus. Although I haven't tried it, I think it should 
work with Quill or Archive if suitably renamed (quill_dat for Quill, 
archv_dat for Archive).

-- 
Dilwyn Jones



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.0.0/268 - Release Date: 23/02/2006

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to