don't post a new question to an existing thread - it lessens your exposure! Tom Cruickshank wrote:
Hello, I've been reading up on printing out documents using PHP (using Printer functions calls in the php manual) I'm using a Linux and/or FreeBSD operating system to run my php code on (in apache). However, I am surfing these pages using a Windows XP machine. Has anyone ever tried having a print button (or link) in php that would make Whatever page is being displayed being printed with the above scenario? How might you of gone about it to make it work? (the Linux or FreeBSD box is not configured to have a printer on it, shared or local, does that make a difference? )
either you let the client (browser) print the page - this has nothing to do with php OR you let the server print 'something' (based on a specific request from the user - i.e. he clicked on 'print' link or something) in which case you will _need_ to have access to a printer from the server (i.e. it needs to have a printer configured) basically if the server 'has' no printer it can't print.
Would appreciate any feedback. Thanks! Tom
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php