J
Jagadish
Hi Friends,
Recently I have been assaigned the task to write a program to
check the status of a 3rd party USB printer before issuing a print
job. The application should find all the statuses like printer
ofline, out of paper, paper jam etc.,. The vendor is not installing
Language Monitor dll during installation.
When I did some research I found that we have to use PJL language and
a Language monitor. I also found that the printer we are targeting
supports PJL and Microsoft provides a sample PJLMON Language monitor
in DDK.
Following is the mechanism I want to use to achieve this goal:
Modify the PJLMON sample and install on the machine by modifying the
printer vendor supplied .INF file. In PJLMON sample add logic to
notify a UI application about the status changes( really I don't know
whether using Named pipes will work here, But I will try Named pipes.)
The UI application will listen for the status changes and update UI
accordingly.
Is this logic going to work? Am I going in a right direction? someone
please help me. Please direct me to some useful resources , books or
samples.
I appreciate you all for taking some time to read this message .
Thanks,
Jagadish.
Recently I have been assaigned the task to write a program to
check the status of a 3rd party USB printer before issuing a print
job. The application should find all the statuses like printer
ofline, out of paper, paper jam etc.,. The vendor is not installing
Language Monitor dll during installation.
When I did some research I found that we have to use PJL language and
a Language monitor. I also found that the printer we are targeting
supports PJL and Microsoft provides a sample PJLMON Language monitor
in DDK.
Following is the mechanism I want to use to achieve this goal:
Modify the PJLMON sample and install on the machine by modifying the
printer vendor supplied .INF file. In PJLMON sample add logic to
notify a UI application about the status changes( really I don't know
whether using Named pipes will work here, But I will try Named pipes.)
The UI application will listen for the status changes and update UI
accordingly.
Is this logic going to work? Am I going in a right direction? someone
please help me. Please direct me to some useful resources , books or
samples.
I appreciate you all for taking some time to read this message .
Thanks,
Jagadish.