Preview, print and PDF creation program

Share your advanced PureBasic knowledge/code with the community.
nils_olle
New User
New User
Posts: 4
Joined: Tue May 27, 2014 4:03 pm

Preview, print and PDF creation program

Post 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
swan
Enthusiast
Enthusiast
Posts: 226
Joined: Sat Jul 03, 2004 9:04 am
Location: Sydney Australia
Contact:

Re: Preview, print and PDF creation program

Post by swan »

Chrome is telling me this is malware. Can anyone confirm if it is or isn't .... :)
User avatar
electrochrisso
Addict
Addict
Posts: 989
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Re: Preview, print and PDF creation program

Post 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. :)
PureBasic! Purely the best 8)
swan
Enthusiast
Enthusiast
Posts: 226
Joined: Sat Jul 03, 2004 9:04 am
Location: Sydney Australia
Contact:

Re: Preview, print and PDF creation program

Post by swan »

Thats true - thanx ....
Pureabc
User
User
Posts: 76
Joined: Mon Jan 16, 2006 1:11 am

Re: Preview, print and PDF creation program

Post 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.
normeus
Enthusiast
Enthusiast
Posts: 472
Joined: Fri Apr 20, 2012 8:09 pm
Contact:

Re: Preview, print and PDF creation program

Post 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)"
google Translate;Makes my jokes fall flat- Fait mes blagues tombent à plat- Machte meine Witze verpuffen- Eh cumpari ci vo sunari
Pureabc
User
User
Posts: 76
Joined: Mon Jan 16, 2006 1:11 am

Re: Preview, print and PDF creation program

Post by Pureabc »

normeus,

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

Thank you.
Post Reply