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/classes/librabries/whatever-you-call-it 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
HELP!!! Programmers Unite.
Moderator: General Moderators
Hi,bznutz wrote:This should not be a problem. However, you may end up having to write little dll's to get some of the info you want. In linux it is even easier. Everything is open source, so you can just look up what you need to know.
first, allow me to thank you for replying..
hmm.. i am totally new to Unix/Linux platform, so i don't really know how to go about doing what you said.. can you elaborate further?
-writing the dlls
-Everything is open source, so you can just look up what you need to know = ??
sorry, for troubling you..