Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

8051 print graphic on dot matrix printer

Status
Not open for further replies.

ZeRoN

Advanced Member level 4
Joined
Jun 28, 2001
Messages
104
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
1,184
epson dotetd matrix printer escp command

Does anyone do something like to post subject?
with escape command ESC+*, ESC+J

Please advise.
Regards,
 

ebenni

Advanced Member level 4
Joined
Jan 30, 2002
Messages
105
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Location
Turkey
Activity points
545
escape command epson lx-300

hi ZeRoN,
look at the EPE_Juli_2001 on MCU fleman.
 

Nick C.

Full Member level 5
Joined
Dec 19, 2002
Messages
281
Helped
33
Reputation
66
Reaction score
25
Trophy points
1,308
Activity points
2,213
print with microcontroler 8051

Do you have the manual for the printer? I haven't
done this in many years, but I remember finding
everything I needed to know in the printer manual.
Maybe they don't make manuals as helpful as they
used to. :(

If you don't have the manual, see if you can find an
old Epson dot matrix printer manual. Fascinating
reading - really!
 

stevenyouth

Member level 1
Joined
Sep 8, 2001
Messages
33
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
143
mcs51+print

Can someone use Epson 150-II ? I want to know more about it.
 

ZeRoN

Advanced Member level 4
Joined
Jun 28, 2001
Messages
104
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
1,184
esc dotmatrix mcu

I'm using Fujitsu FTP-609 series with controller board FTP-629DCL

They said, epson compatible ESC command,
ESC+*+m+n1+n2+d1+...+dN - print graphic
ESC+J+n - feed and print

I try but they printout japanese character.

I would like get some advise from someone who success with print graphic on epson printer.

Thanks.
 

ZeRoN

Advanced Member level 4
Joined
Jun 28, 2001
Messages
104
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
1,184
8051 dot matrix

ZeRoN said:
I'm using Fujitsu FTP-609 series with controller board FTP-629DCL

They said, epson compatible ESC command,
ESC+*+m+n1+n2+d1+...+dN - print graphic
ESC+J+n - feed and print

I try but they printout japanese character.

I would like get some advise from someone who success with print graphic on epson printer.

Thanks.
I found the point of problem now.

ESC * m n1 n2 d1 ... dN
EPSON -> dX is 8bits=8dots/column.
Fujitsu -> dX is 8bits=8dots in printing row.

used combination with GS E n, GS W n m

I know by download FTP629 driver for windows, print simple bitmap
graphic to a file, then see to output from driver.
 

dicemaster

Newbie level 6
Joined
Dec 20, 2002
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
26
dot matrix esc(27) chinese

ZeRoN said:
Does anyone do something like to post subject?
with escape command ESC+*, ESC+J

Please advise.
Regards,
Here is function for graphics printing on Epson LX-300 fo 8051:
PrintVideo:
mov A,#27 ;set height of the string 1/8" 20/180"
lcall PrintByte
mov A,#48 ;
lcall PrintByte

mov DPTR,#PrintRAM ;
mov R7,#NumStr ;number of strings to print

PVCycle1: mov R6,#StrWide ;begin new string
mov A,#10 ;LF
lcall PrintByte
mov A,#13 ;CR
lcall PrintByte
mov A,#9 ;TAB
lcall PrintByte
mov A,#27 ;960 points per line
lcall PrintByte
mov A,#76
lcall PrintByte
mov A,#Low(StrWide*2) ;length of the string
lcall PrintByte
mov A,#High(StrWide*2)
lcall PrintByte

PVCycle2: movx A,@DPTR
lcall PrintByte
lcall PrintByte
inc DPTR
djnz R6,PVCycle2
djnz R7,PVCycle1

mov A,#12 ;Form Feed
lcall PrintByte
ret
 

herlambang

Member level 4
Joined
Apr 20, 2009
Messages
74
Helped
10
Reputation
20
Reaction score
8
Trophy points
1,288
Location
Indonesia
Activity points
1,605
old epson matrix graphic printer

can you attach the complete documentation sir?
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top