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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Initialize a printer after printing a page

sysmatics

IS-IT--Management
Apr 30, 2009
3
IN
We are using a dot matrix printer. We require printer codes that will automatically bring it (like initializing after a print) to the top of the page after printing a copy.

After a print, it scrolls a little further, which enables us to tear. On giving a print again, it prints with lots of empty space, and due to this, paper is wasted. We need printer control codes that will be used in our Delphi 7 code.

The printer image is attached.

Thanks,
Sridhar
 

Attachments

  • Printer.jpeg
    Printer.jpeg
    3.6 KB · Views: 2
I would suggest your using one of two methods:

1. If your dot matrix printer offers a 'tear off' feature, enable it. This will advance the paper so that it can be torn off. When printing resumes, the printer will automatically roll the paper backwards before beginning the new page;

or,

2. Send one or more 'Reverse Line Feed' characters at the beginning of the page (after tearing off) This will either be Unicode character U+008D or perhaps an escape sequence.

As I could not tell from your picture what brand or model of printer you are using, my answer is general.
 
Hi

Thanks for your reply.

I will try that. My customer is using theWipro dx 800 printer.
 

Part and Inventory Search

Sponsor

Back
Top