If all you want to do is print, then a simple JavaScript code should do
  the trick.

example:

 //use php to send the report to a new browser
 //in this case, report.php has the code to generate the reports.

  <a href=report.php?option=xy target=new>XY Report</a>

 //in the new window (or at the end of report.php) generate this link

 <a href=# onclick="window.print()"> Print This Report</a>

//this would open the print dialog box, to allow users to select the
  target printer.

 The key would be to program 'report.php' to generate a clean, printer
 friendly, report.


__________John Monfort_________________
_+-----------------------------------+_
     P E P I E  D E S I G N S
       www.pepiedesigns.com
"The world is waiting, are you ready?"
-+___________________________________+-

On Tue, 27 Nov 2001, Dan Koken wrote:

> There are so many reports.
> The system I have is a manufacturing system, and currently contains some
> 400 programs.
> Some examples of reports are:
>   Bill of Lading with bar codes
>   Production reports
>   Management and analysis
>   Labels for lab analysis with bar codes
>   Planning reports
>   Quality assurance
>   Preventative maintenance work orders
>   Warehouse Planning
>   Billing
>   And others
>
> Some of these are reports long, but I guess most are less than 20 pages.
>
> Most of the sites that use the system are small and usually have from
> 200 to 500 terminals and have systems that manage multiple printers. So
> they would like to direct the printed output.
>
> Like just about everyone, I'd like them to use more interactive stuff on
> the system. But users want their reports...
>
> HTH.
> Thanks again for the help.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to