[PHP] Re: Printing Reports

2001-11-27 Thread Dan Koken

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]




Re: [PHP] Re: Printing Reports

2001-11-27 Thread Miles Thompson


So, is this a system that's being moved from workstations, a desktop 
interface, to a web-based interface?

Do you want a web interface to select printers?

Do you want tight formatting control over the report? There are big 
differences between a 20 pg mfg report, a bill of lading with bar code, and 
label for lab analysis. We're spoiled by all the top quality report 
generators out there, which work on the desktop.

Or, using the  lab analysis example, would it work like this:

User brings up the page
Fills in the form
Presses Submit and the request gets written to the database.
Confirmation comes back, displaying the submitted information with:
  1. list of available printers
  2. field for # of copies
  3. Submit button.

Here's the guess ...

Click on submit, and the script makes an exec() calling the appropriate 
function in the application to print the report on a given printer with the 
selected set of parameters. Or bypasses the application altogether to have 
the report writer do the same thing.

What about checking MSFT's BizTalk stuff? There may be some XML stuff there 
which does that?

Regards - Miles Thompson


At 06:04 AM 11/27/2001 -0800, 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]




[PHP] Re: Printing Reports

2001-11-27 Thread Dan Koken


Well I guess it's like most applications. Every print job has it's own 
special requirements.

For example the lab analysis report. When the manufacturing process 
starts on a liquid process, they request certain samples. Samples 
consist of lab analysis they should take and how often they should take 
a sample. Most samples consist of about 10 to 12 analysis and are 
usually taken every 20 minutes to 1/2 hr. A process may last a couple 
days. So if they take a sample every 1/2 hour for 2 days that's 96 
samples at 10 analysis each or around 1000 lab analysis. So the system 
will print 96 labels with 10 bar coded analysis on it. The labels are 
sent to the operations area. As they take a sample they affix a label to 
the bottle and send it to the lab. The lab does the analysis, enters the 
result and wands the proper analysis bar code on the bottle. The bottle 
then goes to the next lab analysis area. Most lab work is automated and 
a dry lab such as gas chromatography and automatic absorption units. The 
bottle enters a conveyor, the analysis is done and the bar code scanned 
as it passes the scan area. The data is then sent automatically with the 
bar code information to the system. Since the bar code scanner can't 
know exactly what bar code to read a bar code to the bar code is also on 
the sample.

This report is not as complicated as most, but it may help give you some 
idea of what is needed.

Some reports need fairly exact font and line control and others are just 
text files.

Thanks again for all the help..
Dan


-- 
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]




Re: [PHP] Re: Printing Reports

2001-11-27 Thread John Monfort



  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=newXY 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]