Currently I have a program that :
- Get and holds detailed local 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
This program makes extensive use of Win32 printer APIS
But the problem is all this can only done on a local printer(default).
The program sends jobs to the print queue by sending to the local printer port; Using the CopyFile() method.
I need to be able to send jobs from one PC¡¯s printer queue to another in a network.
So I can¡¯t just send it to a port because multiple printers would be using the same port number on their own PCs.
So I need to be able to :
- Get information about all the printers currently connected the to the network
- Find a way to send print jobs from my local queue to the chosen Pc¡¯s print queue(another in the network)
Which win32 APi s can help me achieve these? Any other advice would also be appreciated!
Thank you in advance !
Uniquex
- Get and holds detailed local 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
This program makes extensive use of Win32 printer APIS
But the problem is all this can only done on a local printer(default).
The program sends jobs to the print queue by sending to the local printer port; Using the CopyFile() method.
I need to be able to send jobs from one PC¡¯s printer queue to another in a network.
So I can¡¯t just send it to a port because multiple printers would be using the same port number on their own PCs.
So I need to be able to :
- Get information about all the printers currently connected the to the network
- Find a way to send print jobs from my local queue to the chosen Pc¡¯s print queue(another in the network)
Which win32 APi s can help me achieve these? Any other advice would also be appreciated!
Thank you in advance !
Uniquex