colttaylor
Programmer
When printing to a laserjet from DOS, there are occasions when a previously running program will have left a few lines of text in the printer's buffer. When I send my reports to the printer, those lines of text get pre-pended to my report, throwing the page breaks off.
Currently, I get around this by sending a form feed before I start my report. My customers however do not like the blank sheet of paper which results when there is nothing in the print buffer prior to my report.
When I use a printer reset command instead of a form feed, then they blame me for the "missing" page which is lost when the print buffer resets.
Is there a series of printer control codes which will tell the printer to print the contents of the print buffer if there are any or do nothing if the print buffer is empty?
Thanks in advance!
Colt.
Currently, I get around this by sending a form feed before I start my report. My customers however do not like the blank sheet of paper which results when there is nothing in the print buffer prior to my report.
When I use a printer reset command instead of a form feed, then they blame me for the "missing" page which is lost when the print buffer resets.
Is there a series of printer control codes which will tell the printer to print the contents of the print buffer if there are any or do nothing if the print buffer is empty?
Thanks in advance!
Colt.