cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with countinuous paper printing in dot matrix printer

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

aidan_black
Active Contributor
0 Kudos

Hi Vishnu,

Above you have the following commands:

  1. set line spacing 6 LPI

\e\0x32

  1. set page length 86 lines

\e\0x43\0x46

46 HEX = 70

So the above settings mean 70 lines at 6 LPI = 11.66 inches.

So is the paper length 11.66 inches? If not, you should adjust the settings accordingly.

Regards,

Aidan

Former Member
0 Kudos

Hi Aidan,

how are you.

i am having the similiar issue with dot matrix printer with the continuous paper printing.

i am using "OKI341" Device type for the printer. in the printer initialization we have the below mentioned commands.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

  # reset
\e\0x40
# select codepage multilingual 850
\e\0x52\0x1A
# disable skip perforation mode
\e\0x4F
# select 6 LPI
\e\0x32
# set page size 70 lines (70=Hex $46)
\e\0x43\0x46

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Can you please check this and suggest me to avoid printing 5 lines up in the 2nd page if we do continuous printing with Dot matrix printer ?

Please do the needful..

Thanks and regards

Krishna Mohan