>I develop a class to print in "native mode" in matrix dot printers because i need fast printing of some "massive" reports. I use a table with the command configuration for several printers, so when i create the object, i specify wich printer is. This class its based mainly in the use of the ??? operator to send codes to the printer. The class works fine except: a) in the windows 2000 the printing don´t start because i don´t know how to end the job (something like ENDDOC), b) some problems in the print queue management when i print with the windows driver.
>
>Any one have any suggestions???
Resetting the default printer has always worked, and I don't believe it would be broken now. Try to issue "Set Printer To" without parameters. It would close the current printjob. Also, try to send a formfeed to the printer in the end.
Alternatively, you could send all the printcodes to a file, and then use the Rawprint class (available here in the downloads,
http://www.levelextreme.com/wconnect/wc.dll?FournierTransformation~2,54,Forum=5,28,1069) to print that file.