printing question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
cto1mac
Forum Commoner
Posts: 54
Joined: Tue Jan 27, 2004 6:11 am
Location: Virginia Beach, VA

printing question

Post by cto1mac »

I know this is probobly better handled by javascript but I cannot find an answer anywhere. I have a text file that gets built dynamically by PHP at the end of the day I want to print that text file from my browser. I can make the browser print the existing page but not my text file. Please help.

Thanks
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

why not display the text file in the broswer then print or look at these functions

http://se.php.net/manual/en/ref.printer.php

Mark
Post Reply