You are here: Re: [PHP] printing from php « PHP « IT news, forums, messages
Re: [PHP] printing from php

Posted by Jochem Maas on 10/02/71 11:30

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
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация