Newbie Printing Reports

From: Date: Wed, 10 Oct 2001 04:13:18 +0000
Subject: Newbie Printing Reports
Groups: php.db 
Request: Send a blank email to php-db+get-13177@lists.php.net to get a copy of this message
I am developing a point-of-sale (intranet) application with a browser front end. The server is running Linux/Apache/mySQL/PHP. The client browser is Mozilla 0.9.4, but I could change this if required. I need to print the current browser page as each sale is finished. Is there a way to print the page without getting the browser's Print Dialog box to pop up? The Javascript I've seen still seems to open the Print Dialog box. I've considered using a mySQL enabled report writer. Just pass the variables and generate a report - like Crystal reports. Unfortunately, I have not found a suitable tool for Linux. Once the report is printed, the system has to open a cash register draw. This is done by sending a signal to the serial port. Can a browser send this signal - eg by Javascript? Any help would be greatly appreciated.

« previous php.db (#13177) next »