Sir, these PDF generation videos are really helpful, please do more videos on this topic
@BrunoOliveira-vq1ek2 жыл бұрын
Congratulations for the video! It helped me a lot, keep it up!
@plus2net12 жыл бұрын
Glad it helped!
@ABsazerNer9 ай бұрын
Can I use f"" to pass some parameters?
@_adamalfath9 ай бұрын
Thanks for the tutorial One more thing I haven't figured out. If I allocate a multiline of paragraphs and only have 1 line of string, the text is drawn at the last line of the paragraph area. Is there an option to make it aligned to the first line?
@plus2net19 ай бұрын
c = canvas.Canvas(my_path,bottomup=1,pagesize=letter) Try this bottmup=0 or with 1 and see the result.
@_adamalfath8 ай бұрын
@@plus2net1 Unfortunately it's not it. bottomup just flip the whole canvas
@plus2net18 ай бұрын
@@_adamalfath Ok, should not be an issue. I am in some other topic now, I will back and explore more. Give me your detail requirments here so I can post the code.
@maheshnikange14702 жыл бұрын
Thank u so much, It is really Helpful
@plus2net12 жыл бұрын
Glad it helped
@artyomklimov3447 Жыл бұрын
Thx man)
@NicolasPL_ Жыл бұрын
5:05 how do you get the names of all the fonts? They are way different from what I can see in the Windows' fonts manager
@plus2net1 Жыл бұрын
l1=c.getAvailableFonts() # list of available fonts See the code in this page to get the list of fonts. www.plus2net.com/python/pdf.php
@NicolasPL_ Жыл бұрын
thank you so much! @@plus2net1
@paarhammerwindows2 жыл бұрын
MASSIVE HELP
@plus2net12 жыл бұрын
Glad it helped
@smosavalery30566 ай бұрын
good day, I have a question. How to make the next line of the text go down and not up? i am facing this issue when the page has been filled text moving up instead of moving down and create another page
@plus2net16 ай бұрын
Try by adding line for bottomup, it can be 0 or 1 c.bottomup = 0
@smosavalery30566 ай бұрын
@@plus2net1 if i want it to be added automatically once 1st page is filled then 2nd page comes
@gustavosilvacastillo63982 жыл бұрын
thanks!!!
@kingsukmajumdar2335 Жыл бұрын
How to make both side alignment in text e.g in book
@plus2net1 Жыл бұрын
p1.drawOn(c,width-450,height-350) Here width and height are full width and height of the page , we are adjusting the margins by deducting the values in pixel.
@davidrusca2 Жыл бұрын
I'm getting a 'Paragraph' has no attribute 'decode' error. Can't figure out why. 🤔
@plus2net1 Жыл бұрын
Where you are using 'decode' , can you show the full line. Or check the code here . www.plus2net.com/python/pdf-paragraph.php
@davidrusca2 Жыл бұрын
@@plus2net1 hi! sorry, I was swapping a regular drawString for a Paragraph and forgot to remove the drawString. Since the text was now a Paragraph instead of a string, the drawString method that I forgot to erase was going crazy 😂 I didn't realize the error was coming from the old extra drawString cause the error said the word "paragraph" and also I assumed the error had to be coming from the new thing I was trying to learn.
@viniciusnogueira5080 Жыл бұрын
I have a question. How to make the next line of the text go down and not up?