Hi fellow programmers,
I desperately need advice regarding the following, sorry if it is a bit lengthy :
In short, currently I have a program written in visual basic for windows that does the following :
- Get and holds detailed printer information and stores it in a pre-defined Structure
- Gets and holds print jobs¡¯ detailed information in the window printer queue in a pre-defined Structure
- Sends a print job from one printer queue to another
- Allows the above to be done on a local network
Note: the above program uses A LOT of pre-defined win32 APIS and the structures and most of the functions used are already defined by the language itself.
Now, I am given the task to transfer this program to PHP language and the program must be able to work on Windows & Linux platforms.
I¡¯ve did a bit of reading on PHP myself, but I can¡¯t seem to be able to find comprehensive functions for interacting between the platform & printer. Or maybe I missed it!
Does PHP has extensive pre-defined functions for interacting with the printer ? e.g.
Libraries in JAVA, Win32 APIs in VB
I¡¯m completely new to Linux, any advice would be appreciated.
If PHP isn¡¯t suitable for this task, can you guys recommend a language to me? The language must be able to get detailed print job/printer information on Windows & linux platform.
Thanks a zillion in advice!!
Druda