on 10-11-2011 1:38 PM
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
Hi Vishnu,
Above you have the following commands:
set line spacing 6 LPI
\e\0x32
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.