Odp: [PHP-DB] Newbie printing reports
| From: | Jarek Zgoda | Date: | Tue, 16 Oct 2001 06:55:17 +0000 |
| Subject: | Odp: [PHP-DB] Newbie printing reports | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-13350@lists.php.net to get a copy of this message | ||
Od: "Samios" <psamios@primus.com.au>
Temat: [PHP-DB] Newbie printing reports
> As each sale is entered, we have to print out a report (docket) to give to
> the customer - and a copy of this report for internal use.
> i.e. 2 copies of the same report.
> I have toyed with the Javascript print() method, but it always brings up a
> print dialog box.
> This really slows the process down - especially when the print dialog box
> appears with each call to print().
> In the past, I have used reporting tools (such as Crystal Reports) which
can
> send print jobs directly to the printer.
>
> Have any other intranet/database developers faced, and solved, this
problem?
Yes, i did, and i found no reasonable solution for this problem, so i had to
dig into unreasonable...
This was a problem with printing invoices for brokers. I decided to use PDF
document creation routines. It was a horrible work, but - as for now - it
works fine and the invoice looks great.
Our brokers use various browsers, even old ones, so this makes possible to
just download the document and print it locally from within Acrobat Reader.
Cheers
Jarek Zgoda