Skip to Content
0
Former Member
Oct 11, 2011 at 12:38 PM

Problem with countinuous paper printing in dot matrix printer

664 Views

Hi All,

I have problem with dot matrix printer (Devise Type EPESCP) while printing continuos printing. If i am printing 2 or more than that prints at a time, 2nd page is printing 5 lines up.

I have developed one smartform for this and i have used A4 size page format.

I have tried to change the Printer initialization code to 86 lines for DINA4. Still no change in continuous printing.

Printer initialization

Reset after exit

Cover page

First Page

Start of even page

Start of odd page

Start of page

End of first page

End of even page

End of odd page

End of page

Start of line on an even page

Start of line on an odd page

Start of line

End of line on an even page

End of line on odd page

End of line

 Printer initialization
# reset
\e\0x40
# select character table 3 -> PC 437 character set
\e\0x74\0x03
# set line spacing 6 LPI
\e\0x32
# set page length 86 lines
\e\0x43\0x46
# cancel bottom margin
\e\0x4F
# set left margin to 0
\e\0x6C\0x00
# select LQ quality
\e\0x78\0x01
# select non-proportional spacing
\e\0x70\0x00

Can any one help me.

Thanks,

Vishnu