Hi!!!
I solved the problem
using reportlab https://www.reportlab.com/docs/reportlab-userguide.pdf
Look at this
examples, http://www.web2pyslices.com/slice/show/1562/pdf-with-reportlab
http://www.web2pyslices.com/slice/show/1564/pdf-with-reportlab-ii
Regards.
El viernes, 12 de octubre de
Hi, I have the same error, I try to save a qr image and I have tried it in
many ways but it keeps giving me error. Please, if you solved it, it would
be very helpful for me.
El sábado, 23 de julio de 2016, 7:05:49 (UTC-5), isi_jca escribió:
>
>
> Hi!!!.
>>
>>
> When I try to print qrcode image
> Hi!!!.
>
>
When I try to print qrcode image to pdf using pyfpdf, I get the next error:
FPDF error: Unsupported image type:
pilimage object at 0x7f2e82f13a50>
Versión
web2py™ Version 2.14.5-stable+timestamp.2016.04.14.03.26.16
Python Python 2.7.6: /usr/bin/python (prefix: /usr)
Anyone
def qrpage():
#Install Python Modules: (Pillow,qrcode)
#https://github.com/lincolnloop/python-qrcode
ToQRData = auth.user.username + ' Likes MLP:FIM'
import qrcode
import StringIO
qr = qrcode.QRCode(
version=1,
Hi Niphlod,
I trying to generate qr code with built-in feature, for local use, mobile
for reading.
thx
2015-10-13 18:20 GMT-03:00 Niphlod :
> with any qrcode library or qrcode ondemand service out there ? What did
> you try ?
>
>
> On Tuesday, October 13, 2015 at 11:05:23 PM
Hi Michael,
With your example, return this:
Qrpage
> StringIO:
> ToQRData:Fabiano Likes MLP:FIMimg: 0x7f02d1c0a9d0>img_tag:
Hi Stifan
I installed the semanticwebexample and not found reference to qr code on it.
thx
2015-10-13 18:28 GMT-03:00 黄祥 :
> i think there is web2py appliances that create some thing like this before
> : semanticwebexample
>
> best regards,
> stifan
>
> --
>
Hi Richard,
elaphe worked! thank you!
How to show a text message with qrcode on same page?
Thx
2015-10-13 21:07 GMT-03:00 Richard Vézina :
> You can have a look on the side of elaphe :
> https://bitbucket.org/whosaysni/elaphe/
>
> For most type of code it works...
create a default/qrpage.html
insert this {{=XML(img_tag)}}
On Wednesday, October 14, 2015 at 10:59:25 AM UTC-7, Fabiano Almeida wrote:
>
> Hi Michael,
>
> With your example, return this:
>
> Qrpage
>> StringIO:
>> ToQRData:Fabiano Likes MLP:FIMimg:> 0x7f02d1c0a9d0>img_tag:>
Glad it worked for you!
I like the method that I found(just took three working pieces and pushed
together) because no static files are generated using StringIO memory and
encoding it with Base64. (as far as I know) ;)
On Wednesday, October 14, 2015 at 12:11:25 PM UTC-7, Fabiano Almeida
Hi Michael,
2015-10-14 16:00 GMT-03:00 Michael M :
> {{=XML(img_tag)}}
It worked! Grateful for all!
Fabiano.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
with any qrcode library or qrcode ondemand service out there ? What did you
try ?
On Tuesday, October 13, 2015 at 11:05:23 PM UTC+2, Fabiano Almeida wrote:
>
> Hi all!
>
> How to dynamically generate qr code in web2py?
>
> grateful,
>
> Fabiano.
>
--
Resources:
- http://web2py.com
-
i think there is web2py appliances that create some thing like this before
: semanticwebexample
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report
You can have a look on the side of elaphe :
https://bitbucket.org/whosaysni/elaphe/
For most type of code it works... But there were issue with bouding box for
some of them in the pass, hope it has been solve since then...
Richard
On Tue, Oct 13, 2015 at 5:28 PM, 黄祥
To generate qr, I've used qrcode:
https://pypi.python.org/pypi/qrcode/2.4.1
- Pure-python lib
- BSD license
- Requires PIL
- ver 2.4.2
Why it's still alpha with version 2.4.2?
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To
15 matches
Mail list logo