Hi,
I found informations about this library. I know, this is outdated info from 2015year, but how I searching some library like this for direct creating PDFs without any installation PDF Creator,Bullzip,.... for simple installation my app for many clients who do not know, how configure profiles, printers,...
I use PDF Creator, but problems was with several versions who users have on his PC. My program test registry keys, and is configured for PDF Creator 1.7.1. But some clients have version 2.x there was different keys in registry, and I do not wand complicated analyze which version they have, and which keys I need set. Also users can have own profiles .
Can anyone some tips how create PDF simpliest way without need installation other programs, utilities etc ?
Edit :
I found info about XBPPDF, after examine demo version can works, I found some problem with spaces between letters, but maybe this is configurable , problem is when use east european characters with diacritics like CP 1250.
So , class cost 150US$
Pagescript from Abeelabs
Re: Pagescript from Abeelabs
i use Windows 10 PDF Printer.Victorio wrote:Can anyone some tips how create PDF simpliest way without need installation other programs, utilities etc ?
greetings by OHR
Jimmy
Jimmy
Re: Pagescript from Abeelabs
Hi ,
Microsoft print to PDF I can use only for users with W10, but most users have W7 or WXP.
I still play with PDF Creator and his automatic configure profile and printer when user start my application.
For PDF Creator I have solution, I can add or modify registry keys, or use saved reg file to other users.
Now I try use same way for newest version 2.5.3 but here is problem , because this use other keys by user SID, or some number sign in profiles, than I do not know what system sign , see here
PDFCRE_printer:=DC_Regquery(HKEY_CURRENT_USER,"Software\pdfforge\PDFCreator\Settings\ApplicationSettings\PrinterMappings\1","PrinterName")
here number 1 is first added printer, but when user has more profiles and printer, I do not know his number,
way is scan number like 1 to 10 ...
PDFCRE_cesta:=DC_Regquery(HKEY_CURRENT_USER,"Software\pdfforge\PDFCreator\Settings\ConversionProfiles\8\Autosave","TargetDirectory")
here is also number 8 for sign user profile, when user has own profiles, this can be number 9,10,....
And main problem is with set profile for printer,
key
[HKEY_CURRENT_USER\Software\pdfforge\PDFCreator\Settings\ApplicationSettings\PrinterMappings\1]
"PrinterName"="InfokatReport"
"ProfileGuid"="9a651068-f2ed-47e2-822d-0ef484e3b7d6"
where I do not know identify ProfileGuid.
I know, this is assigment profile InfokatReport for printer InfokatReport, but here this is some "crypted" string...
Now I do not want any other software, utility etc. for create PDF, because this is next installation need on user side.
Only PDF Creator is acceptable, because most users have it preinstalled .
Best way will be include PDF Creating in application like using XBPPDF Class. But this need modify every reports in my program
Microsoft print to PDF I can use only for users with W10, but most users have W7 or WXP.
I still play with PDF Creator and his automatic configure profile and printer when user start my application.
For PDF Creator I have solution, I can add or modify registry keys, or use saved reg file to other users.
Now I try use same way for newest version 2.5.3 but here is problem , because this use other keys by user SID, or some number sign in profiles, than I do not know what system sign , see here
PDFCRE_printer:=DC_Regquery(HKEY_CURRENT_USER,"Software\pdfforge\PDFCreator\Settings\ApplicationSettings\PrinterMappings\1","PrinterName")
here number 1 is first added printer, but when user has more profiles and printer, I do not know his number,
way is scan number like 1 to 10 ...
PDFCRE_cesta:=DC_Regquery(HKEY_CURRENT_USER,"Software\pdfforge\PDFCreator\Settings\ConversionProfiles\8\Autosave","TargetDirectory")
here is also number 8 for sign user profile, when user has own profiles, this can be number 9,10,....
And main problem is with set profile for printer,
key
[HKEY_CURRENT_USER\Software\pdfforge\PDFCreator\Settings\ApplicationSettings\PrinterMappings\1]
"PrinterName"="InfokatReport"
"ProfileGuid"="9a651068-f2ed-47e2-822d-0ef484e3b7d6"
where I do not know identify ProfileGuid.
I know, this is assigment profile InfokatReport for printer InfokatReport, but here this is some "crypted" string...
Now I do not want any other software, utility etc. for create PDF, because this is next installation need on user side.
Only PDF Creator is acceptable, because most users have it preinstalled .
Best way will be include PDF Creating in application like using XBPPDF Class. But this need modify every reports in my program
Re: Pagescript from Abeelabs
Hi,
Did you try to use the API of PDF Creator? You can use it as an activeX control.
I tested some time ago with it. If you are interested, I can send you my test next week. I'm on vacation this week.
Did you try to use the API of PDF Creator? You can use it as an activeX control.
I tested some time ago with it. If you are interested, I can send you my test next week. I'm on vacation this week.
Re: Pagescript from Abeelabs
Hi, Chris,
I will be grateful for some example how use API PDF Creatorm you can send me.
Now I have problems with read registry on 64bit W10, when testing version, directory etc. to set for my own setting.
Viktor
I will be grateful for some example how use API PDF Creatorm you can send me.
Now I have problems with read registry on 64bit W10, when testing version, directory etc. to set for my own setting.
Viktor
Re: Pagescript from Abeelabs
Hi Victorio
attach pdfcreator.prg
best regard
hector
attach pdfcreator.prg
best regard
hector
- Attachments
-
- creator.zip
- (1.2 KiB) Downloaded 776 times
Re: Pagescript from Abeelabs
Thank you Patito !. I will look for this, in this moment do not know how this work, because with Activex I have not any experiences.