Re: printing from php

From: Date: Fri, 28 Oct 2005 11:19:31 +0000
Subject: Re: printing from php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-224767@lists.php.net to get a copy of this message
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


« previous php.general (#224767) next »