Hi all...
Developping an application to print customer's bills, I generate and print these using php printing functions, which are working only on Windows. Computers are running easyphp with printer.dll support, and it works perfectly if I use a local printer DIRECTLY connected to the computer.
Unfortunatly I can't print on shared printers, and don't understand why because nobodies seems to have trouble to do it (no posts on net's forums). I use a var_dump to find printers name, so I'm sure that they are recognized by php. It would be great for me to manage to use only a few printers because actually :
1. Each computer must have its own printer to print.
2. Each computer must run a local webserver (easyphp) so it takes 10megs of RAM on the MySQL server for database connection...
Another problem I have is for printing a BMP file using printer_draw_bmp (). It never works. I tried to print using black&white bitmaps, 8bits or 32 bits encoding, different paths, even the famous "c:\image.bmp" from the php manual π but no way, it doesn't work!
Finally I'm looking for a complete tutorial about printing using php printer_* functions (note the PHP manual thxπ) or people who have a solution to theses problems.
Thx in advance and... have a good day!