WampServer

Apache, PHP, MySQL on Windows 

 
  • Accueil forum
  • Retour à WampServer
  • presentation
  • Download
  • Addons
  • Formations
  • Alter Way

 
printer...........
Envoyé par: joe (---.tm.net.my)
Date: 17 December 2004 à 19:11

Dear Rom,

just want to ask u about printer function...........

is that any printer function for php 4.0.....

i have tried printer open function but it stated........

i try this
<?php
$handle = printer_open();
printer_write($handle, "Text to print"winking smiley;
printer_close($handle);
?>


Fatal error: Call to undefined function: printer_open() in c:\apache\htdocs\test\print.php on line 2


thanks

joe

Re: printer...........
Envoyé par: Romain Bourdon (---.w83-114.abo.wanadoo.fr)
Date: 21 December 2004 à 12:26

Hi,

you need to activate the printer extension by adding this line to your php.ini:

extension=php_printer.dll

Romain

Aller à : Liste des Forums•Liste des messages•Recherche•Connexion
Désolé, seuls les utilisateurs connectés peuvent envoyer des messages dans ce forum.
Cliquer ici pour se connecter

design by jidePowered by Alter Way get firefoxget PHP