Print..

This is a discussion on Print.. within the PHP forums in Programming Languages category; works only on windows and you must have the printer extension installed and configured in your php.ini file At 13:02 27/08/01, * R&zE: wrote: ><Original message> >From: Daniel Antonio de Lima <daniel.lima @ campinet.sp.gov.br> >Date: Tue, Aug 27, 2019 at 07:55:33AM -0300 >Message-ID: <001d01d55cc5$f38cc7a0$8f0010ac @ campinet.sp.gov.br > >Subject: [php] Print.. > > > Good Morning.... > > > > I am working with PHP 4.0.6, and I do not obtain to send given of thepage > > for the printer. I use function " PRINTER_OPEN() ", I make the manual in > > accordance with, exactly thus it gives an ...

Go Back   Application Development Forum > Programming Languages > PHP

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-27-2001, 06:17 AM
hassan el forkani
Guest
 
Default Re: [PHP] Print..

works only on windows and you must have the printer extension installed and
configured in your php.ini file



At 13:02 27/08/01, * R&zE: wrote:
><Original message>
>From: Daniel Antonio de Lima <daniel.lima@campinet.sp.gov.br>
>Date: Tue, Aug 27, 2019 at 07:55:33AM -0300
>Message-ID: <001d01d55cc5$f38cc7a0$8f0010ac@campinet.sp.gov.br >
>Subject: [php] Print..
>
> > Good Morning....
> >
> > I am working with PHP 4.0.6, and I do not obtain to send given of thepage
> > for the printer. I use function " PRINTER_OPEN() ", I make the manual in
> > accordance with, exactly thus it gives an error to me of indefinite
> > function. What it can be?
> > Fatal error: Call you undefined functionrinter_open()
> >
> > $print = printer_open();
> > $print = printer_open("LPT1 ");
> > printer_write($print, " Test of printer ");
> > printer_write($print, " Test of printer ");
> > printer_write($print, " Test of printer ");
> > $print = printer_close();
> >
> > e this error it even gives to me with function " PRINTER_WRITE() ",could
> > give tips of that he can be happening.
> >
> > Yours truly.
> >
> > Daniel
> >
> >

>
></Original message>
>
><Reply>
>
>Don't know which OS you're using, but the printer-functions only
>work with Windows:
>
>http://www.php.net/manual/en/ref.printer.php
>
></Reply>
>
>--
>
>* R&zE:
>
>
>-- »»»»»»»»»»»»»»»»»»»»»»»»
>-- Renze Munnik
>-- DataLink BV
>--
>-- E: renze@datalink.nl
>-- W: +31 23 5326162
>-- F: +31 23 5322144
>-- M: +31 6 21811143
>--
>-- Stationsplein 82
>-- 2011 LM HAARLEM
>-- Netherlands
>--
>-- http://www.datalink.nl
>-- ««««««««««««««««««««««««
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net



Reply With Quote
  #2  
Old 08-27-2001, 07:02 AM
* R&zE:
Guest
 
Default Re: [PHP] Print..

<Original message>
From: Daniel Antonio de Lima <daniel.lima@campinet.sp.gov.br>
Date: Tue, Aug 27, 2019 at 07:55:33AM -0300
Message-ID: <001d01d55cc5$f38cc7a0$8f0010ac@campinet.sp.gov.br >
Subject: [php] Print..

> Good Morning....
>
> I am working with PHP 4.0.6, and I do not obtain to send given of the page
> for the printer. I use function " PRINTER_OPEN() ", I make the manual in
> accordance with, exactly thus it gives an error to me of indefinite
> function. What it can be?
> Fatal error: Call you undefined functionrinter_open()
>
> $print = printer_open();
> $print = printer_open("LPT1 ");
> printer_write($print, " Test of printer ");
> printer_write($print, " Test of printer ");
> printer_write($print, " Test of printer ");
> $print = printer_close();
>
> e this error it even gives to me with function " PRINTER_WRITE() ", could
> give tips of that he can be happening.
>
> Yours truly.
>
> Daniel
>
>


</Original message>

<Reply>

Don't know which OS you're using, but the printer-functions only
work with Windows:

http://www.php.net/manual/en/ref.printer.php

</Reply>

--

* R&zE:


-- »»»»»»»»»»»»»»»»»»»»»»»»
-- Renze Munnik
-- DataLink BV
--
-- E: renze@datalink.nl
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
--
-- Stationsplein 82
-- 2011 LM HAARLEM
-- Netherlands
--
-- http://www.datalink.nl
-- ««««««««««««««««««««««««
Reply With Quote
  #3  
Old 08-27-2001, 07:11 AM
hassan el forkani
Guest
 
Default Re: [PHP] Print..

hi
check this out before posting: http://php.net/manual/en/ref.printer.php
windows specific functions
regards

At 13:59 27/08/01, MBK wrote:
>the function printer_open() or printer_write() doesn't exist in php.
>I don't know where you saw those functions.
>
>----- Original Message -----
>From: "Daniel Antonio de Lima" <daniel.lima@campinet.sp.gov.br>
>To: <php-general@lists.php.net>
>Sent: Tuesday, August 27, 2019 12:55 PM
>Subject: [php] Print..
>
>
>Good Morning....
>
>I am working with PHP 4.0.6, and I do not obtain to send given of the page
>for the printer. I use function " PRINTER_OPEN() ", I make the manual in
>accordance with, exactly thus it gives an error to me of indefinite
>function. What it can be?
>Fatal error: Call you undefined functionrinter_open()
>
>$print = printer_open();
>$print = printer_open("LPT1 ");
>printer_write($print, " Test of printer ");
>printer_write($print, " Test of printer ");
>printer_write($print, " Test of printer ");
>$print = printer_close();
>
>e this error it even gives to me with function " PRINTER_WRITE() ", could
>give tips of that he can be happening.
>
>Yours truly.
>
>Daniel
>
>
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net



Reply With Quote
  #4  
Old 08-27-2001, 07:18 AM
Tim
Guest
 
Default Re: [PHP] Print..

I'm not familiar with this module, which only works under Windows, but
an undefined function usually means an extension is not loaded or
available.

I notice in php.ini-dist that there is a line

extension=php_printer.dll

so you'll want to check that your php.ini file has that and it's not
commented out.

- Tim

On Tue, 2019-08-27 at 06:55, Daniel Antonio de Lima wrote:
> Fatal error: Call you undefined functionrinter_open()



Reply With Quote
  #5  
Old 08-27-2001, 07:59 AM
MBK
Guest
 
Default Re: [PHP] Print..

the function printer_open() or printer_write() doesn't exist in php.
I don't know where you saw those functions.

----- Original Message -----
From: "Daniel Antonio de Lima" <daniel.lima@campinet.sp.gov.br>
To: <php-general@lists.php.net>
Sent: Tuesday, August 27, 2019 12:55 PM
Subject: [php] Print..


Good Morning....

I am working with PHP 4.0.6, and I do not obtain to send given of the page
for the printer. I use function " PRINTER_OPEN() ", I make the manual in
accordance with, exactly thus it gives an error to me of indefinite
function. What it can be?
Fatal error: Call you undefined functionrinter_open()

$print = printer_open();
$print = printer_open("LPT1 ");
printer_write($print, " Test of printer ");
printer_write($print, " Test of printer ");
printer_write($print, " Test of printer ");
$print = printer_close();

e this error it even gives to me with function " PRINTER_WRITE() ", could
give tips of that he can be happening.

Yours truly.

Daniel





Reply With Quote
  #6  
Old 08-27-2001, 08:09 AM
* R&zE:
Guest
 
Default Re: [PHP] Print..

<Original message>
From: MBK <mbk@cable.a2000.nl>
Date: Mon, Aug 27, 2001 at 01:59:10PM +0200
Message-ID: <008e01c12eef$ae7be0a0$3d1c8418@mbkomp>
Subject: Re: [php] Print..

> the function printer_open() or printer_write() doesn't exist in php.
> I don't know where you saw those functions.
>


</Original message>

<Reply>

Hello!!!!! Did you ever take the time to look at the manual? Or some
previous posts?

http://www.php.net/manual/en/ref.printer.php

</Reply>

--

* R&zE:


-- »»»»»»»»»»»»»»»»»»»»»»»»
-- Renze Munnik
-- DataLink BV
--
-- E: renze@datalink.nl
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
--
-- Stationsplein 82
-- 2011 LM HAARLEM
-- Netherlands
--
-- http://www.datalink.nl
-- ««««««««««««««««««««««««
Reply With Quote
  #7  
Old 08-27-2001, 09:18 AM
* R&zE:
Guest
 
Default Re: [PHP] Print..

<Original message>
From: Daniel Antonio de Lima <daniel.lima@campinet.sp.gov.br>
Date: Tue, Aug 27, 2019 at 10:03:31AM -0300
Message-ID: <00c001d55cd7$d37e6e20$8f0010ac@campinet.sp.gov.br >
Subject: Re: [php] Print..

> as I make to print of the page for the printer without using the button of
> the navigator, ito is, to print through a command php, could say which to me
> the command or function that I must use .
>
> Daniel


</Original message>

<Reply>

Where do you want to print, client-side or server-side? 'Cause if
you want to print client-side it's real easy; using PHP you can't
print client-side, you'll have to use JavaScript.

</Reply>

--

* R&zE:


-- »»»»»»»»»»»»»»»»»»»»»»»»
-- Renze Munnik
-- DataLink BV
--
-- E: renze@datalink.nl
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
--
-- Stationsplein 82
-- 2011 LM HAARLEM
-- Netherlands
--
-- http://www.datalink.nl
-- ««««««««««««««««««««««««
Reply With Quote
  #8  
Old 08-29-2001, 02:45 AM
Keith
Guest
 
Default Suse Apache

would like to build/compile php as a dso !
Linux version is Suse 7.2
apache is version 1.3.19 already compiled with mod.so.c
but I don't seem to have an apache/bin and I can't find apxs which should be
there ???

Is this a Suse problem or what ??
do I have to de-install apache and re-install a normal version ??

or how do I use dso's in this one ??
cause when i try "apxs -i -a -c mod_foo.c" i just get command not found !

Reply With Quote
  #9  
Old 01-16-2002, 11:31 PM
Floyd Baker
Guest
 
Default Passing vars w/refresh w/register globals off?



Hi..

Got 4.1.1 going and think it's going to work fine. Except for this.

A form calls itself and then uses the menu selection to route through
a switch to various refresh redirects...

'Hidden' isn't working and it's not post, get, cookie, etc. Can it be
done?

TIA

Floyd


--

Reply With Quote
  #10  
Old 01-17-2002, 12:06 AM
Bogdan Stancescu
Guest
 
Default Re: [PHP] Passing vars w/refresh w/register globals off?

What do you mean by 'hidden'? If you're talking about a hidden form input,
how can it not be post?

Bogdan

Floyd Baker wrote:

> Hi..
>
> Got 4.1.1 going and think it's going to work fine. Except for this.
>
> A form calls itself and then uses the menu selection to route through
> a switch to various refresh redirects...
>
> 'Hidden' isn't working and it's not post, get, cookie, etc. Can it be
> done?
>
> TIA
>
> Floyd
>
> --
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 10:33 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.