Trillium Custom Software, Inc. Magic Tips
Overview
This page is intended to serve as an area where Magic programmers can come to learn
just a few of our tips and tricks! However, contributions from the worldwide Magic
community are welcome at any time. To post a contribution, send an email to tipmaster.
Subject: Printing Long Reports
(excerpts from a posting made by Dale Schuppenhauer to the Magic User Forum)
This is a solution for printing long reports.
We use Adobe's Acrobat Distiller version 3.01.
This is a very nice tool that runs either on your local PC or on an NT server. We
configure Distiller to watch a shared network folder. Users print their Magic or
other documents as postscript files into the shared network directory. The distiller
automatically converts the postscript files into Acrobat PDF files, which are view able
from Adobe's free PDF viewer, and moves the results into a shared output directory. The
process is fast and automatic. A 10,000 page report is converted in 5 minutes or so,
smaller reports only take a few seconds to convert. Printing via postscript drivers to a
file is fast from Magic's perspective. We have not seen any slow down in reports printed
this way.
From Magic we simply use the shared network folder as a print to file location. We use a
generic HP Postscript print driver configured to print to a file as the print destination
from Magic.
This works very well for us and is easy for our users as well. The users gain several
benefits using this technique. Among which is easy access to review reports printed
electronically. Reports may be
publish to the Web since Acrobat reader is a plug in for all major browsers. And the
reports may be searched using the Acrobat Reader for anything the end users wants to find.
Also only those pages of
specific interest need be printed to paper at the end users discretion.
We have found that virtually all of the large reports that previously (prior to converting
the reports to Magic) needed to be printed on reams of paper for archival purposes are now
paper less. The reports are kept either on the network or published onto CD. This has
really helped our clients reduce the time and efforts previously spent dealing with huge
paper reports.
This has the added benefit to Magic programmers in that it keeps the implementation
outside of the Magic control file. I do not have to configure my magic reports any
differently than if the report was
going to an attached printer. The user at report time simply selects the print driver to
be used from the print dialog offered as the report runs. This dialog is available for
Graphic Printer I/O
definitions by setting PDlg to Yes. This does require that each machine that will print
using this method have an installed print driver for either a postscript file output or
distiller assistant for
local distiller installations.