From: Talukdar, N. <nip...@di...> - 2003-01-16 11:31:50
|
LPR/LPD problem $$$$$$$$$$$$$$$$$$$$$ I have a problem. The lpd on a HP LaserJet 8150 keeps on sending reply of one octet of 0 or a -1. Now suppose somebody presses the CANCEL JOB button on the printer , then how will the LPR program will know that the PRINTER is cancelling the jobs. I saw that in such a case the connection to the LPD of the PRINTER doesn't get closed and the LPR in the local system keeps sending the data happily and the LPD of printer also keeps on accepting the data. While with port 9100 of the printer we can actually know the physical state of the printer like PAPER JAM , CANCEL JOB BUTTON PRESSED etc , there is no way to know it through LPR/LPD as far as I know. @@ @@@@ How can LPR know "CANCEL JOB BUTTON" is pressed in the printer ??? If somebody helps me , I will be sincerely grateful to him all my life and may be even after death when I will be in paradise. PLEASE HELP ME .... PLEASE HELP ME .... PLEASE HELP ME .... Nipun |