Re: Printing Problem
| From: | Miguel Cruz | Date: | Mon, 08 Jul 2002 01:28:31 +0000 |
| Subject: | Re: Printing Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-105992@lists.php.net to get a copy of this message | ||
On Mon, 8 Jul 2002, Chris Kay wrote:
> I'll repeat my ealier question because some people can not think for
> themselves..
Why insult people who are trying to help you? Nobody gets paid to read
this list; they're doing it to be nice.
> I want to run a print job of 200+ invoices
>
> I have a javascript code to open a print dialog box and
> Then go to next invoice and do the loop..
>
> Problem I am having is that I want it to pause if the ok button on the
> dialog Box is not pressed..
> When I run the script it fly's throught and brings up a heap of printer
> Dialog boxes which causes me to ctrl+alt+del...
>
> Anyway or pausing the script untill ok is pressed?
You are running into client behavior that is out of your control. If I had
to print that much stuff, I'd generate one big document containing all of
them, and insert page breaks. Then it would go as a single print job. If
your operator is using IE, Try something like <p
style="page-break-before:always"> at the top of each new invoice.
Otherwise, generate RTF or PDF.
miguel