Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: set button background with image of window background
Post: RE: set button background with image of window bac...
(Oct-12-2017, 10:41 AM)Larz60+ Wrote: Don't set a geometry, let it expand with whatever is placed inside.
I use grid, not pack but this is my choice, you should be able to make place work
a label c... |
|
gray |
GUI |
3 |
14,435 |
Oct-18-2017, 08:22 AM |
|
|
Thread: set button background with image of window background
Post: set button background with image of window backgro...
hello freinds
i have put an image (self.image) on my window background
now,
i need to put another image(mi_but1) on this window..
my problem:
image mi_but1 is put on window with a gray square behind... |
|
gray |
GUI |
3 |
14,435 |
Oct-12-2017, 07:29 AM |
|
|
Thread: remove recovery page from boot raspbian
Post: remove recovery page from boot raspbian
hello friends
how can i remove recovery page while booting raspbian(the page that has raspberry logo)???
i created a text file in the name of "autoboot.txt" on sd card in windows...
i writed just "boo... |
|
gray |
GUI |
1 |
2,701 |
Oct-10-2017, 12:20 PM |
|
|
Thread: print a persian file by thermal printer and python-escpos mnodule
Post: RE: print a persian file by thermal printer and py...
(Aug-13-2017, 11:49 AM)sparkz_alot Wrote: It is MagicEncode not MagicEncoder .
i again got the same error : "No module named 'ecspos'
" **cry** **huh** **undecided** |
|
gray |
General Coding Help |
12 |
12,577 |
Aug-14-2017, 03:54 AM |
|
|
Thread: print a persian file by thermal printer and python-escpos mnodule
Post: RE: print a persian file by thermal printer and py...
(Aug-12-2017, 11:27 PM)nilamo Wrote: It probably is installed, you just need to import it. import * might not import sub-modules, and isn't recommended for... any reason.
i used this code:
#from ... |
|
gray |
General Coding Help |
12 |
12,577 |
Aug-13-2017, 04:14 AM |
|
|
Thread: print a persian file by thermal printer and python-escpos mnodule
Post: RE: print a persian file by thermal printer and py...
(Aug-11-2017, 02:34 PM)nilamo Wrote: My guess would be:
p = Usb(0x04b8,0x0e15,0)
from ecspos.magicencode import MagicEncoder
encoder = MagicEncoder(p)
encoder.write("...something")
i used the abov... |
|
gray |
General Coding Help |
12 |
12,577 |
Aug-12-2017, 10:27 AM |
|
|
Thread: print a persian file by thermal printer and python-escpos mnodule
Post: RE: print a persian file by thermal printer and py...
(Aug-10-2017, 05:19 PM)nilamo Wrote: Have you tried using escpos' Magic Encoder to see if it can guess which codepage to use? https://python-escpos.readthedocs.io/en/...agicEncode
i haven't seen an... |
|
gray |
General Coding Help |
12 |
12,577 |
Aug-11-2017, 05:24 AM |
|
|
Thread: print a persian file by thermal printer and python-escpos mnodule
Post: print a persian file by thermal printer and python...
hello friends...
i want to print a persian file by thermal printer..
i can print an english file esily..but i face the proble while printing persian text..
i think i don't do some principles...i have ... |
|
gray |
General Coding Help |
12 |
12,577 |
Aug-10-2017, 05:12 AM |
|
|
Thread: printing a text file by python and thermal printer
Post: ERROR : USBPRINTER INSTANCE HAS NO ATTRIBUTE '_GEN...
hello friends...
i want to setup a thermal printer by python-printer-escpos module...
my code is :
from escpos.connections import getUSBPrinter printer = getUSBPrinter()(idVendor=0x0483, idProduct=0x5... |
|
gray |
General Coding Help |
6 |
20,590 |
Jul-30-2017, 03:58 AM |
|
|
Thread: printing a text file by python and thermal printer
Post: access denied error in python-printer-escpos
i have attached a thermal printer to my raspberry...i used usb port and found idproduct and idvendor and inputendpoint and outputendpoint by lsusb -D....
i used python-printer-escpos module
my code is... |
|
gray |
General Coding Help |
6 |
20,590 |
Jul-29-2017, 12:02 PM |
|
|
Thread: printing a text file by python and thermal printer
Post: RE: printing a text file by python and thermal pri...
(Jul-28-2017, 06:56 PM)nilamo Wrote: I have experience printing to Zebra thermal printers (though that was with Ruby), and I assume the process is very similar for Epson printers. These sorts of pr... |
|
gray |
General Coding Help |
6 |
20,590 |
Jul-29-2017, 03:54 AM |
|
|
Thread: printing a text file by python and thermal printer
Post: printing a text file by python and thermal printer
hello friends
i want to print a text file by a thermal printer(epson TM-T20) and by using python code...
i am going to use python-escpos or python-printer-escpos module for writing python code...
i ... |
|
gray |
General Coding Help |
6 |
20,590 |
Jul-28-2017, 12:39 PM |
|
|
Thread: 'OSError: [Errno 16] Device or resource busy' for ralationship with ds1307
Post: RE: 'OSError: [Errno 16] Device or resource busy' ...
(Jul-28-2017, 07:31 AM)jackbk Wrote: This thread was created some months ago. I do not know whether the author can solve the problem or not.
@gray: Have you solved the problem or not?
If you have n... |
|
gray |
General Coding Help |
4 |
9,036 |
Jul-28-2017, 11:32 AM |
|
|
Thread: a suitable bluetooth module for python3 for transfering file
Post: RE: a suitable bluetooth module for python3 for tr...
(Jul-21-2017, 12:52 PM)Larz60+ Wrote: light blue's last update was Feb 09 only 2 months after Python 3.0 was released.
There are many more bluetooth packages to choose from here: https://pypi.python... |
|
gray |
GUI |
3 |
4,123 |
Jul-22-2017, 08:36 AM |
|
|
Thread: a suitable bluetooth module for python3 for transfering file
Post: a suitable bluetooth module for python3 for transf...
i want to send a pdf file from raspberry to a mpbile phone by python3 code...
i couldn't install lightblue and pyobex on python3???
i coudn't find a code that sends a file by just pybluez too???...
i ... |
|
gray |
GUI |
3 |
4,123 |
Jul-21-2017, 12:20 PM |
|
|
Thread: install lightblue on python3
Post: RE: install lightblue on python3
(Jul-08-2017, 12:49 PM)Larz60+ Wrote: Quote: but it didn't work
please elaborate.
lightblue is one of the bluetooth modules in python
i can install it on python2...but i want to install it on python... |
|
gray |
GUI |
3 |
4,780 |
Jul-10-2017, 05:34 AM |
|
|
Thread: install lightblue on python3
Post: install lightblue on python3
helloooooooooooooooo
how can i install lightblue package on python3?
i downloaded its setup folder and unzipped it and then i used sudo python3 setup.py install .. but it didn't work
please a help
tha... |
|
gray |
GUI |
3 |
4,780 |
Jul-08-2017, 10:40 AM |
|
|
Thread: install cups on python3
Post: install cups on python3
hello friends
i installed cups...i wanted to install it on python3 but it was installed on python2
i used this link for downloading cups: download cups
i uninstalled it from python2 by deleting cups.... |
|
gray |
GUI |
2 |
8,185 |
Jun-10-2017, 08:24 AM |
|
|
Thread: setup epson lq350 dot matrix printer by python-printer-escpos
Post: RE: setup epson lq350 dot matrix printer by python...
(Jun-02-2017, 03:15 PM)Larz60+ Wrote: If it will do what you need, go for it!
does cups do without internet???? |
|
gray |
GUI |
10 |
8,944 |
Jun-05-2017, 06:26 AM |
|
|
Thread: setup epson lq350 dot matrix printer by python-printer-escpos
Post: RE: setup epson lq350 dot matrix printer by python...
(Jun-01-2017, 04:32 AM)Larz60+ Wrote: All devices need a driver. The most common ones are installed automatically (plug & play)
The odd ones have to be installed.
The application sends commands ... |
|
gray |
GUI |
10 |
8,944 |
Jun-02-2017, 01:57 PM |