Ok, Thank´s!! I write a text file in "Notepad" and send to print to file in a PCL5 Printer Driver. Then, I execute the program for count pages pcl and it does not work.
Thank´s but, I don´t found this FAQ "How can I determine the status of the printer programmatically?" here. "now rest you have to make loop which check printer at regular interval". Please, you have some example?? Thank you!!