Mar-11-2020, 10:24 AM
In my quest to create QR Code based labels with text I have gotten to the point now where I can display the intended label in a web browser.
Don't let the left and right tire designations confuse the issue. The label is rendering what I want it too on in html.
I would have preferred to render to a label printer and bypass the displaying of the image to the screen but at this point the cleanest way for me to format these labels in the manner I desire is to pop the QR Code into some html code and pull it up in a browser.
My next step I was trying to find a way to take the small image of the label from the browser and send that composite image of both text and graphics to the printer... enter html5print! (or so I thought)
The problem is that I wrestled for about 4 hours yesterday, fulfilling all known (and undocumented) requirements to html5print, but the module doesn't build properly. Below is my last output from running: python setup.py install.
My best guess is that this is the last piece of the puzzle for getting html5print up and going. At that point I think i will be able to pragmatically direct the output to the printer.
Your thoughts?
![[Image: 2020-03-11-5-00-31.png]](https://i.ibb.co/mHDGQYj/2020-03-11-5-00-31.png)
Don't let the left and right tire designations confuse the issue. The label is rendering what I want it too on in html.
I would have preferred to render to a label printer and bypass the displaying of the image to the screen but at this point the cleanest way for me to format these labels in the manner I desire is to pop the QR Code into some html code and pull it up in a browser.
My next step I was trying to find a way to take the small image of the label from the browser and send that composite image of both text and graphics to the printer... enter html5print! (or so I thought)
The problem is that I wrestled for about 4 hours yesterday, fulfilling all known (and undocumented) requirements to html5print, but the module doesn't build properly. Below is my last output from running: python setup.py install.
Error:copying html5print.egg-info\SOURCES.txt -> build\bdist.win32\egg\EGG-INFO
copying html5print.egg-info\dependency_links.txt -> build\bdist.win32\egg\EGG-INFO
copying html5print.egg-info\requires.txt -> build\bdist.win32\egg\EGG-INFO
copying html5print.egg-info\top_level.txt -> build\bdist.win32\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist\html5print-0.1.2-py3.6.egg' and adding 'build\bdist.win32\egg' to it
removing 'build\bdist.win32\egg' (and everything under it)
Processing html5print-0.1.2-py3.6.egg
Removing c:\python\lib\site-packages\html5print-0.1.2-py3.6.egg
Copying html5print-0.1.2-py3.6.egg to c:\python\lib\site-packages
html5print 0.1.2 is already the active version in easy-install.pth
Installing html5-print script to C:\Python\Scripts
Installed c:\python\lib\site-packages\html5print-0.1.2-py3.6.egg
Processing dependencies for html5print==0.1.2
Searching for ply==3.4
Reading https://pypi.org/simple/ply/
Download error on https://pypi.org/simple/ply/: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond -- Some packages may not be found!
Couldn't retrieve index page for 'ply'
Scanning index of all packages (this may take a while)
Reading https://pypi.org/simple/
Download error on https://pypi.org/simple/: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond -- Some packages may not be found!
No local packages or working download links found for ply==3.4
error: Could not find suitable distribution for Requirement.parse('ply==3.4')
This appears to me to be insisting on phy == 3.4. I have installed 3.11 and 3.9 which I thought would cover me. but it doesn't. the install finishes without completing either the command line syntax or the python module. My best guess is that this is the last piece of the puzzle for getting html5print up and going. At that point I think i will be able to pragmatically direct the output to the printer.
Your thoughts?
Through a cloudy window,
Kip...
“Progress means getting nearer to the place you want to be. And if you have taken a wrong turn, then to go forward does not get you any nearer.
If you are on the wrong road, progress means doing an about-turn and walking back to the right road; and in that case the man who turns back soonest is the most progressive man.” ― C.S. Lewis
Kip...
“Progress means getting nearer to the place you want to be. And if you have taken a wrong turn, then to go forward does not get you any nearer.
If you are on the wrong road, progress means doing an about-turn and walking back to the right road; and in that case the man who turns back soonest is the most progressive man.” ― C.S. Lewis