Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clearing the buffer of printer using a C program

Status
Not open for further replies.

murki

Programmer
Jul 9, 2008
1
US
I was able to interact with printer using interrupt call 21
and using int86 function but i'm not able to clear the printer buffer.Is there any way that we can clear printer buffer using C language
 
Pl. check the printer manual for the code to be sent to the printer. Each printer normally follows ESC/P (EPSON sequence, for the Dot Matrix printers, or the HP sequence for laserjet/deskjet series.

They will contain a code to initialise the printer which needs to be invoked thru the program to clear the print buffer.



icici

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top