Database Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesDatabase Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old February 18th, 2004, 12:18 PM
computerforce computerforce is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: somewhere, anywhere, there
Posts: 5 computerforce User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to computerforce
PHP/MySQL Reports to Printer

Problem is this:

- Apache/PHP/MySQL installed;
- Huge database in MySQL
- two tables in the database, first, main table is huge - and second table is small, just linked as foreign;

Using MySQL and PHP (PHP has some printer functions) - how to:
Make reports for printer output (MS Access like), with headers and footers (like in MS Access, but for MySQL), record numbers, with possibility to print "from-a-record to-a-record" (user can put both, from and to numbers into the form), user also can choose fields - he/she wants to print. User can see page example at browser, but not complete report (database is huge). Printer output should be system (windows) default printer.

Is there (already) a PHP (/MySQL) script capable to do this task?

Anybody had something like this to solve yet?

Thanks for any answer!


Reply With Quote
  #2  
Old February 19th, 2004, 05:47 PM
Ursus Ursus is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Maryland, USA
Posts: 398 Ursus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 8 sec
Reputation Power: 2
RE: PHP/MySQL Reports to Printer

I would avoid using the php printer functions becaues they are only available in Windows systems. Actually, I notice the manual says '...only available under Windows 9.x, ME, NT4 and 2000'. Anyone know if they work in XP?

I've been using the FPDF class www.fpdf.org to handle report generation in php. It generates a PDF file which the user can then save locally or print.

Doing the layout is a bit of a pain, but the quality and control you get is worth it to me.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesDatabase Help > PHP/MySQL Reports to Printer


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway