Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

Print graphic with 8051 + Fujitsu thermal printer FTP-629DCL

Status
Not open for further replies.

ZeRoN

Advanced Member level 4
Full Member level 1
Joined
Jun 28, 2001
Messages
104
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
1,184
fujitsu thermal printer

Dear all,

Does anyone can get work with subject?

Hardware is ok, just connect data[8],strobe[1],and busy[1]
I want to know escape control code to printout graphic.

It has just some escape control code compatibled with epson.
ESC *+m+n1+n2+d1+dN (Sets bit image mode)

Could anyone advise me?
Thanks in advance.

Regards,
ZeRoN
 

8051 thermal printer

Does anyone can help me?

How to use ESC+* and ESC+J ?

Regards,
 

fujÄ°tsÄ° termal prÄ°nter

Dear Zeron,
I would like to help you but I have not the documentation of this
printer neither any sample of this printer.
Where did you buy it ? Do you have a distributor?
personnally I intend to use a miniprinter aswell but not graphic.
for which I have full documentation and few samples (picked up
from Payment Terminal Equipments) if you are interested it is the
M-180 from EPSON SEIKO.
@+,regards,
MB.
PS I have samples of Minitel thermal Printers (large paper but text)
 

fujitsu printer escape codes

Dear BENOIT,

I bought from distributor, but however
Fujitsu has no their own manual!
They have some of spec. doc. :(
you can see, how they are at their website. hxxp://www.fujitsu.com/

They give only Driver for window and utility.

but now, I've found the point of problem.

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 a simple bitmap
graphic to a file, then see to output from the driver.

Thankyou.
 

uart code read putc c

hello der!!can you help me to interface ftp628mcl103 thermal printer with 8051??
 

m-180 epson printer manual

Yea,
What kind of interface you are using. I interfaced this printer serially with 8051 and it works fine. If you need code please use this:


Remember:

1. I made an additional serial port in 8051. You can get help from here https://www.8051projects.net/serial-communication/software-uart-8051.php
https://www.8051projects.net/serial-communication/
https://www.8051projects.net/forum-t11828.html for software uart.

2. putc function will send a character to serial second port and getc will read.


Please go through the code, make your own modifications according to your hardware and your application and use.


My code is here:


Code:
void main()
{	
	MSDelay(60000);MSDelay(60000);MSDelay(60000);
	putc(0x1B);putc(0x40);MSDelay(5000);//Reset

	putc(0x1B);putc(0x21);putc(0x10);MSDelay(5000); // Fond setting
	SerialPrint("FUJITSU Printer TESTING");MSDelay(500);MSDelay(5000);
	putc(0x0A);MSDelay(5000);	
	SerialPrint("INITILISATION COMPLETED");MSDelay(500);MSDelay(5000);
	putc(0x0A);MSDelay(5000);
	SerialPrint("     SUCCESSFULLY!");MSDelay(500);MSDelay(5000);
	putc(0x0A);MSDelay(5000);
	putc(0x0A);MSDelay(1000);putc(0x0A);MSDelay(1000);putc(0x0A);MSDelay(1000);putc(0x0A);MSDelay(1000);
	putc(0x1D);putc(0x56);putc(0x00);  //paper cut
	MSDelay(5000);	
	
	Print();
	
}

void Print(void)
{						
	putc(0x1B);putc(0x65);putc(0x03);MSDelay(5000);// Backward printing
	putc(0x1B);putc(0x40);MSDelay(1000);// Reset
	putc(0x1B);putc(0x21);putc(0xEF);MSDelay(5000); // Fond size setting
	SerialPrint("NAUSHAD");MSDelay(5000);	
	putc(0x0A);MSDelay(1000);
	putc(0x1B);putc(0x21);putc(0x10);MSDelay(5000);
	SerialPrint("JAIPUR");MSDelay(5000);
	putc(0x0A);MSDelay(5000);
	
	SerialPrint("Thank You!");MSDelay(5000);
	putc(0x0A);MSDelay(1000);putc(0x0A);MSDelay(1000);putc(0x0A);MSDelay(1000);putc(0x0A);MSDelay(1000);
	putc(0x1D);putc(0x56);putc(0x00);//paper cut
	MSDelay(5000); 									
}

void MSDelay(unsigned int u)
{
	int i;
	for(i=0;i<u;i++)
    {}
}
void SerialPrint(char* c)
{
	char p;
	for(p=0;p<strlen(c);p++)
		{
			putc(c[p]);
			MSDelay(20);
		}
}
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top