Re: Re: Printing Reports

From: Date: Tue, 27 Nov 2001 22:56:34 +0000
Subject: Re: Re: Printing Reports
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-75820@lists.php.net to get a copy of this message
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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#75820) next »