How to communicate from Printer Driver on Client Host to own Printer Monitor on Print
I have developed a printer driver on postscript base. This printer uses a own port monitor. In this monitor i configure some values. This values are stored in registry than by windows. If i share my printer from my print server the client is able to connect to the Printer. The Printer driver is installed on client system well and i can use the printer. But i need the values form the port. The port does not is installed on the client. So how to get the information from the port?
My port implementation has a Monitor2 struct initalisation with a wonderfull GetPrinterDataFromPort Function. But how to call this function from driver?
In the driver i have no PortHandle. I need it in DocumentsEvents when iEsc == DOCUMENTEVENT_STARTDOCPOST.
Thanks for all ideas to solve my problem.
Re: How to communicate from Printer Driver on Client Host to own Printer Monitor on P
Well you could always map some user mode memory and feed the info back and fourth there.
Can't tell you the API calls anymore. Look the up at OSR website.