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
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.
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: 22,
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
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
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
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. ,
etc) and I need the report that is being displayed to the browser in all
it's gl
[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
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
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
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
> 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 hp
[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:
lyn
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 --dum
14 matches
Mail list logo