Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random characters printed #16

Closed
GoogleCodeExporter opened this issue Mar 17, 2015 · 2 comments
Closed

Random characters printed #16

GoogleCodeExporter opened this issue Mar 17, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Hi everyone,

I'm trying to print some text with an Epson TM-H6000iii on my raspberry pi.
The problem is that I only have a sequence of "Ç?Ç?Ç°" no matters what I 
write.

Here is my code :

#!/usr/bin/env python
from escpos import *

#Bus 001 Device 006: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port

Epson = printer.Serial("/dev/ttyUSB0",9600,8,2)
Epson.text("Hello world !!!")
Epson.text("0920192")
Epson.cut()

As you can see I'm using a serial adapter.

Original issue reported on code.google.com by marcel.a...@gmail.com on 12 Oct 2013 at 1:33

@GoogleCodeExporter
Copy link
Author

Actually I was wrong with my parameters for Serial function :
printer.Serial("/dev/ttyUSB0",38400,8,1)

It now works correctly !

Original comment by marcel.a...@gmail.com on 12 Oct 2013 at 3:08

@GoogleCodeExporter
Copy link
Author

Original comment by manpaz on 14 Oct 2013 at 6:56

  • Changed state: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant