Search found 51 matches

by loulou2522
Sat Dec 10, 2022 1:53 pm
Forum: Showcase
Topic: PDF generator (jsPDF)
Replies: 22
Views: 28146

Re: PDF generator (jsPDF)

Is-it possible to control row height with doc.table ? It looks like jsPDF doesn't support CSS. For this reason, different row heights are not possible out of the box. With the module jsPDF-AutoTable it might work, but I don't have time at the moment to write a corresponding example code in SB. Can ...
by loulou2522
Thu Sep 29, 2022 6:59 am
Forum: Coding Questions
Topic: Creating PDF like in Purebasic
Replies: 3
Views: 864

Re: Creating PDF like in Purebasic

Hi all
What i want to do is creating a pdf with htmltable function and downloading he result. Can someone have an example to do that ?
Thanks in advance
by loulou2522
Wed Sep 28, 2022 1:42 pm
Forum: Coding Questions
Topic: Creating PDF like in Purebasic
Replies: 3
Views: 864

Creating PDF like in Purebasic

Hi all,
Is it possible to create PDF like in purebasic with pbPDFModule.pbi ?
If it's possible can i have n example ? thanks in advance
Have a nice day
by loulou2522
Sun Dec 05, 2021 2:16 pm
Forum: Coding Questions
Topic: how to call a PHP script?
Replies: 3
Views: 1361

Re: how to call a PHP script?

Yes then formular is good, but take care bexause with post request and according to Browser the length of the request including the url is limited. I don't know the exact limit but it vary from 2048 ko to 4096 ko
by loulou2522
Tue Nov 09, 2021 4:32 pm
Forum: Coding Questions
Topic: Sending a file to server with httprequest
Replies: 1
Views: 1172

Sending a file to server with httprequest

How can I send an xml file generated on the client to the server? When I use httprequest, I get an error message Procedure HttpGetEvent1(Success, Result$, UserData) If Success debug result$ Debug "Successful connection for PDF file calculation". Else debug result$ Debug "Error: No Con...
by loulou2522
Fri Oct 22, 2021 5:47 am
Forum: Coding Questions
Topic: Docautotable Help
Replies: 1
Views: 1398

Re: Docautotable Help

No one can help me ?
by loulou2522
Mon Oct 18, 2021 11:42 am
Forum: Coding Questions
Topic: Docautotable Help
Replies: 1
Views: 1398

Docautotable Help

Hi all, What is wrong in my programm ? I don't arrive to anything Procedure Main() !function generate() { ! var doc = new jsPDF('p', 'pt', 'letter'); ! var htmlstring = ''; ! var tempVarToCheckPageHeight = 0; ! var pageHeight = 0; ! pageHeight = doc.internal.pageSize.height; ! specialElementHandlers...
by loulou2522
Sat Oct 16, 2021 2:36 pm
Forum: Coding Questions
Topic: Help with jspdf
Replies: 2
Views: 1247

Re: Help with jspdf

Right Peter,
I have deleted the duplicate Post.Thnaks that's work now
Have a good wek end
by loulou2522
Sat Oct 16, 2021 12:16 pm
Forum: Coding Questions
Topic: Help with jspdf
Replies: 2
Views: 1247

Help with jspdf

HI all I try to implement directly JSPDF but it dosen't work; can someone Help me ? ! require(["https://unpkg.com/jspdf@latest/dist/jspdf.umd.min.js"], function(jsPDF) { ! window.jsPDF = jsPDF.jsPDF; ! }); !var doc = new jsPDF( 'p', 'mm','a4'); !doc.setFont("arial narrow"); !doc....
by loulou2522
Tue Oct 05, 2021 8:23 am
Forum: Coding Questions
Topic: Httprequest and downloading XML FileHow to ?
Replies: 9
Views: 2480

Re: Httprequest and downloading XML FileHow to ?

Thanks Paul that'work perfectly. But i have a problem with PDF File the file arrive corrupt localy and can't be view. I try a lot of things but noone works here is my programm Procedure HttpGetEvent(Success, Result$, UserData) If Success Debug Result$ Createfile(0,"result.pdf",@toto(),#PB_...