Does anyone know a way to print from php5 in macosx leopard similar to the windows approach using php_printer.dll?
I'm using macosx 10.5.7 and php 5.2.8.
Does anyone know a way to print from php5 in macosx leopard similar to the windows approach using php_printer.dll?
I'm using macosx 10.5.7 and php 5.2.8.
The only printer extension is windows-only, according to the list of PHP extensions.
i don't know mac os well enough to give you a definate answer but here are some ideas
if you only want plain text can you open a filehandle to a printer and echo/print text directly to the printer.
create a document like a PDF file (see fpdf), and then make a system call to print that document to the default printer. i know it can be done in windows, but i am not sure about mac
write a native application which will do the printing and call that application from php
hope that helps