weetat wrote:
Hi all ,
I am using PHP 4.3.2 and MYSQL .
I need to do printing function in php .
Basically , in my client web page , it will display the list of items
on the html page. And i have a print button , so that the user can print
the html page to their local printer
weetat wrote:
Hi all ,
I am using PHP 4.3.2 and MYSQL .
I need to do printing function in php .
Basically , in my client web page , it will display the list of items
on the html page. And i have a print button , so that the user can print
the html page to their local printer.
Any way
Hi all ,
I am using PHP 4.3.2 and MYSQL .
I need to do printing function in php .
Basically , in my client web page , it will display the list of items
on the html page. And i have a print button , so that the user can print
the html page to their local printer.
Any way how to do
weetat wrote:
Hi all ,
I am using PHP 4.3.2 and MYSQL .
I need to do printing function in php .
Basically , in my client web page , it will display the list of items
on the html page. And i have a print button , so that the user can print
the html page to their local printer.
Any way
On Mon, July 3, 2006 3:53 am, weetat wrote:
I am using PHP 4.3.2 and MYSQL .
I need to do printing function in php .
Basically , in my client web page , it will display the list of
items
on the html page. And i have a print button , so that the user can
print
the html page
Hi
I am working on a project that creates invoices. It will allow the
client to print out these invoices after they have been created.
Something that I have always noticed is that when you print form the
internet you always get the site address and other info on the print out.
Is there a
On 5/3/06, Mace Eliason [EMAIL PROTECTED] wrote:
Hi
I am working on a project that creates invoices. It will allow the
client to print out these invoices after they have been created.
Something that I have always noticed is that when you print form the
internet you always get the site address
Couple of things you can try..
1. If you have control of the browsers being used, there may be a setting to
turn off the address printing (I seem to remember something like that.. but
don't remember what browser it was).
2. CSS2 has some print control functionality that might help
3. (more
On Fri, October 28, 2005 6:17 am, Tom Cruickshank wrote:
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
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
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
Vern wrote:
I get:
# wget -O -q http://www.comp-wiz.com/index.html | lpr -P hp1300n
What I wrote was
wget -O -q - http://www.domain.com/file.php | lpr -P hp1300n
You forgot -
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I hate to keep beating a dead horse, but this horse is not quite dead yet.
I need to print a php script from a web site using CRON. I'm thinking
something like this should work but I don't know enough about it to say that
it would. I know that I can run a php script using CRON as such:
lynx
[snip]
I hate to keep beating a dead horse, but this horse is not quite dead
yet.
I need to print a php script from a web site using CRON. I'm thinking
something like this should work but I don't know enough about it to say
that
it would. I know that I can run a php script using CRON as such:
If you have a printer attached to the server from where the cron is
running you might try
lynx --dump http://yoursite.com/cronjob.php lpt1
or something similar. Not tested.
Actually it's a netwotl printer and in order to print the job I need to type
the following on the box:
lpr -P
On Tuesday 27 July 2004 20:33, Vern wrote:
If you have a printer attached to the server from where the cron is
running you might try
lynx --dump http://yoursite.com/cronjob.php lpt1
or something similar. Not tested.
Actually it's a netwotl printer and in order to print the job I need to
On Tuesday 27 July 2004 08:33 am, Vern wrote:
Actually it's a netwotl printer and in order to print the job I need to
type the following on the box:
lpr -P hp1300n myfilename.txt
So I'm not exctaly sure how I can do that
This works great for me. Except that I use lp -d printername
One would think this should be really simple but it's not.
I need to retrieve the file somewhere on the internet. I read somewhere in
order to read a php script's output you need to add the php command in
front, as such:
php http://yoursite.com/cronjob.php | lpr -P hp1300n
however I am getting
[snip]
One would think this should be really simple but it's not.
I need to retrieve the file somewhere on the internet. I read somewhere
in
order to read a php script's output you need to add the php command in
front, as such:
php http://yoursite.com/cronjob.php | lpr -P hp1300n
however I am
I feel like I taking a hammer and well I'm sure you all know the
feeling.
cURL does help me to get the file and save the file somewhere locally,
however printing a page like this gives me all the html code (i.e. html,
etc) and I need the report that is being displayed to the browser in all
You could try this:
http://marginalhacks.com/Hacks/html2jpg/
Save the page as an image, and then run it through the printer. It does
have some overhead though to get it done.
Hope it helps,
Ed
On Tue, 27 Jul 2004, Vern wrote:
I feel like I taking a hammer and well I'm sure you all know
Seems to me that this needs XWindows or something install, am I incorrect?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Vern wrote:
One would think this should be really simple but it's not.
wget -O -q - http://www.domain.com/file.php | lpr -P hp1300n
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I get:
# wget -O -q http://www.comp-wiz.com/index.html | lpr -P hp1300n
--16:49:59-- http://www.comp-wiz.com/index.html
= `-q'
Resolving www.comp-wiz.com... done.
Connecting to www.comp-wiz.com[207.234.154.95]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length:
On Wednesday 28 July 2004 04:51, Vern wrote:
I get:
# wget -O -q http://www.comp-wiz.com/index.html | lpr -P hp1300n
--16:49:59-- http://www.comp-wiz.com/index.html
= `-q'
Resolving www.comp-wiz.com... done.
Connecting to www.comp-wiz.com[207.234.154.95]:80... connected.
HTTP
Is it possible to have a php a script that will run on my server but let me
print to my client network printer?
What I am doing is using php to generate html for a report from a data base
which is displayed on the clients screen. I would like to offer the client
the option of printing this
Depends on how your overall network is configured. If the server on
which PHP is running is on the same internal network as the printer,
then the short answer is yes--the way you implement it depends on which
OS your system is running. If PHP is running on Windows, there is a
subset of
Peter Goggin wrote:
Is it possible to have a php a script that will run on my server but let me
print to my client network printer?
No. PHP is server side, printing is client side.
If php will not support access to a client printer is there any way of
embedding a Form Feed in the display so
PHPers,
In a genaology application, where I add individuals to
an array:
$everyone[] = new Individual($id);
I'd like to print the indiviuals' attributes. Some of these are
in array's themselves: like a list of event's in one's life.
My problem is:
when printing the Class Variables
[snip]
My question is:
How does one print out the Array?
[/snip]
Try print_r
http://www.php.net/manual/en/function.print-r.php
HTH!
Jay
I took a pain pill, why are you still here?
***
* *
* Texas PHP Developers
Use is_array() to see if it's an array. If it is, then loop through it and
display the contents...
---John Holmes...
- Original Message -
From: Marty McGowan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 31, 2002 4:15 PM
Subject: [PHP] Printing a PHP Class
PHPers
Maybe code will help...
My problem is:
when printing the Class Variables using the standard approach:
=
function print_vars($obj) {
$arr = get_object_vars($obj);
while (list($prop, $val) = each($arr))
{
echo $prop\t$val\n;
}
}
=
Try this:
function
Also, you could use print_r($obj);
to look at everything in the class, with arrays already expanded for you.
http://www.php.net/manual/en/function.print-r.php
jerome
From: Marty McGowan [EMAIL PROTECTED]
PHPers,
In a genaology application, where I add individuals to
an array:
If I had a mixed html/php page, i.e. where some of the strings had html
in them, other than setting the header to be of mime type 'text', how
could I process this page to display it exactly like it was seen in a
text editor, in html to the browser?
--
PHP General Mailing List
Usually, it should be enough to rename the file extension to .phps and the browser
should handle it
correctly, if the web server (i.e. apache) is properly configured.
Michael.
If I had a mixed html/php page, i.e. where some of the strings had html
in them, other than setting the header to be
35 matches
Mail list logo