Is it possible to edit a report template (need to reset printer properties) without installing and running Delphi? I need to do this on a client's machine.
If the template is stored in a DB Blob field, I would recommend creating a stand-alone app similar to the example I posted below. This example connects to your database, retrieves a template and displays the template in ASCII text form. Then you can edit the template and save it back to the database. Once you find exactly which code you need to change (i.e. PrinterSetup), you could probably automate the entire process.
Comments
9.02
If the template is stored in a DB Blob field, I would recommend creating a
stand-alone app similar to the example I posted below. This example
connects to your database, retrieves a template and displays the template in
ASCII text form. Then you can edit the template and save it back to the
database. Once you find exactly which code you need to change (i.e.
PrinterSetup), you could probably automate the entire process.
http://www.digital-metaphors.com/tips/EditTemplatesAsText.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com