Page 1 of 1

Preview, print and PDF creation program

Posted: Wed Nov 11, 2015 11:36 am
by nils_olle
I have developed a program that simplifies preview, create PDF and print from my own applications.
Below you get the link to the development folder. If you find any benefit with the program you are
welcome to freely use / adapt it to your needs. Publish freely enhancements / modifications,
so I can update my source code. I have been using the new features of PB 5:40 vector drawing for
preview, print but for PDF creation is it not yet available for Windows. For PDF Creation I use PurePDF.


https://dl.dropboxusercontent.com/u/223 ... ew_pdf.zip

Regards
Nils_olle

Re: Preview, print and PDF creation program

Posted: Wed Nov 11, 2015 11:36 pm
by swan
Chrome is telling me this is malware. Can anyone confirm if it is or isn't .... :)

Re: Preview, print and PDF creation program

Posted: Wed Nov 11, 2015 11:43 pm
by electrochrisso
Chrome now checks inside zip files and if it see an exe or dll it will flag it as a possible threat, it is up to you if you want to keep/trust it or not, if you look inside the zip you will see the source code as well, so you can look at it and compile for yourself if you are worried. :)

Re: Preview, print and PDF creation program

Posted: Wed Nov 11, 2015 11:53 pm
by swan
Thats true - thanx ....

Re: Preview, print and PDF creation program

Posted: Thu Nov 12, 2015 10:09 pm
by Pureabc
nils_olle,

The simplified PDF is a good idea, and I am able to run the SumartraPDF program just fine.
But when I tried to compile the pdf_preview.pb, I am getting errors saying the pdf_create() function is not defined.
when I tried compiling PurePDF, I am getting "Structure" errors.

I am using PB 5.40 x86 windows, do I need to use a different version? and is there additional file I need?

Thanks.

Re: Preview, print and PDF creation program

Posted: Thu Nov 12, 2015 11:53 pm
by normeus
@Pureabc

Nils_olle created an interface for "PurePDF.pb" & "sumatra"

the program you have to run is "preview_new_pdf.pb"

and as far as I could tell he used "PureBasic 5.40 LTS (Windows - x86)"

Re: Preview, print and PDF creation program

Posted: Sun Nov 15, 2015 7:01 am
by Pureabc
normeus,

OK, got "preview_new_pdf.pb" to compile just fine.

Thank you.