Go to advanced search

by upgrade9909
Mon Nov 03, 2014 9:10 pm
Forum: Python
Topic: ็Help me! Thai font in esc/pos
Replies: 4
Views: 4177

Re: ็Help me! Thai font in esc/pos

Thank , scruss
And do you know how to change a font size and image size in python-esc/pos ?
by upgrade9909
Mon Nov 03, 2014 11:21 am
Forum: Python
Topic: ็Help me! Thai font in esc/pos
Replies: 4
Views: 4177

็Help me! Thai font in esc/pos

Now I use Tsp650 and using esc/pos version 1.0.9 https://pypi.python.org/pypi/python-escpos/1.0.9 this is my code #!/usr/bin/env python # -*- coding: utf-8 -*- from escpos import * import qrcode Epson = printer.Usb(0x0519,0x0001) Epson.set(font='a', codepage='cp874', size='2x', align='center') s = u...
by upgrade9909
Mon Nov 03, 2014 2:14 am
Forum: Python
Topic: Python + CUPS printing success but a paper not out
Replies: 3
Views: 6689

Re: Python + CUPS printing success but a paper not out

Thank you for you code, mattius But the problem is not solved I also check in cups web page. state of a printing job is already completed.It like printer cannot print paper out some time paper out complete.some time paper not out.some time only print half of a page. and when run code again it also p...
by upgrade9909
Sat Nov 01, 2014 2:15 pm
Forum: Python
Topic: teach me pleasePython+adafruit thermal printer thai encoding
Replies: 2
Views: 982

teach me pleasePython+adafruit thermal printer thai encoding

I want to use adafruit thermal printer with thai language but I don't knew how to encoding thai font can someone teach me please
http://www.adafruit.com/product/597
by upgrade9909
Fri Oct 31, 2014 10:02 am
Forum: Python
Topic: Python + CUPS printing success but a paper not out
Replies: 3
Views: 6689

Python + CUPS printing success but a paper not out

Hi. I want to print Pdf file with python script.I use Thermal Printer Star TSP650II. This is my code #! /usr/bin/env python import cups import time import subprocess main = 1 while main == 1: conn = cups.Connection() #------Check Printer------------ printers = conn.getPrinters() for printer in print...
by upgrade9909
Wed Sep 17, 2014 11:23 am
Forum: Python
Topic: How to Start GPIO Python Script with out "sudo su"
Replies: 1
Views: 696

How to Start GPIO Python Script with out "sudo su"

Hi .
Im use RPI.GPIO and I have to 'sudo su' to be root.Have anyway to auto root when run GPIO Script.because Im want to autostart python script.
Thankyou
by upgrade9909
Wed Sep 10, 2014 6:46 am
Forum: Beginners
Topic: How Raspberry pi install openERP ?
Replies: 4
Views: 1908

How Raspberry pi install openERP ?

I want to install OpenERP 7.0 on a Raspberry Pi.Like this like http://tsdesignz.de/?p=47 sudo su echo "deb http://nightly.openerp.com/7.0/nightly/deb/ ./" >> /etc/apt/sources.list apt-get install openerp but when I enter echo "deb http://nightly.openerp.com/7.0/nightly/deb/ ./" >> /etc/apt/sources.l...

Go to advanced search