Hi,
I need to implement a system, which is now written in Clipper for DOS, using Php/MySQL on a Linux server. Windows workstations will be connected to this server and use the program.
The only part of the program I cannot resolve so far is the printing.
This is a management / invoicing application. They issue 2 kinds of invoices, A or B, depending on who the client is, as per the country regulations.
They have 2 dot-matrix printers connected to the workstation the prints the invoices. One is loaded with the forms to use when printing A invoices, the other is loaded with the forms to use when printing B invoices. Currently, the Clipper program just sends the output to one printer or the other (LPT1 and LPT2). User just presses a button and invoice gets printed on the right form.
I need to make the Php app send output to the right printer in an easy way as well. Since Php runs on the server, I don't see how I can do this, but maybe there is a way to solve this issue using some client side technology to work together with Php? Any help you can provide on this matter will be really appreciated.
Thanks!
Veronica