0

I want to send text files to the print directly from PHP script (for example print a receipt after I have inserted records to my DB).

Is this possible using php_printer.dll?

I have tried to install this extension (in php.ini), but I get errors. Is this extension available with PHP 5.3.x?

Is any other way?

hakre
  • 193,403
  • 52
  • 435
  • 836

1 Answers1

0

I have tried to install this extension (in php.ini), but I get errors. Is this extension available with PHP 5.3.x?

I can not tell you that, but even if it is, that information is probably useless for you because you did not manage to install it in the first place. So how should answering that question make a difference? You can find out more if something is available here: Where to find php_printer.dll?

Is any other way?

Generate a PDF. Store it. Pipe it to a program that turns it into a postscript file. Pipe that postscript to a postscript capable printer. Job done.

Community
  • 1
  • 1
hakre
  • 193,403
  • 52
  • 435
  • 836