Python Forum
Requirements for html5print module
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Requirements for html5print module
#1
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.

[Image: 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
Reply


Messages In This Thread
Requirements for html5print module - by KipCarter - Mar-11-2020, 10:24 AM
RE: Requirements for html5print module - by buran - Mar-11-2020, 04:29 PM
looking for web print module - by KipCarter - Mar-16-2020, 03:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem with code / audio is playing randomly, not matching csv requirements Daniel_kcr 2 644 Sep-07-2023, 05:09 PM
Last Post: deanhystad
  when package built, requirements not installed sabuzaki 1 749 Apr-07-2023, 09:01 AM
Last Post: sabuzaki
  What to do when the requirements.txt file does not work Led_Zeppelin 2 6,455 Nov-04-2021, 06:51 PM
Last Post: snippsat
  Examples of Customer requirements ComputerAstronaut 1 1,855 Dec-08-2020, 03:22 AM
Last Post: Larz60+
  requirements file tdwinfre 7 2,801 Nov-06-2020, 06:01 AM
Last Post: tdwinfre
  How to allow user input only if certain requirements are met vininhosts 3 2,361 May-28-2020, 06:15 PM
Last Post: micseydel
  google-auth requirements.txt strange behavior randalpinto 3 3,759 Dec-21-2018, 02:03 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020