Pagescript from Abeelabs

This forum is for eXpress++ general support.
Post Reply
Message
Author
Victorio
Posts: 633
Joined: Sun Jan 18, 2015 11:43 am
Location: Slovakia

Pagescript from Abeelabs

#1 Post by Victorio »

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$ ;)

User avatar
Auge_Ohr
Posts: 1421
Joined: Wed Feb 24, 2010 3:44 pm

Re: Pagescript from Abeelabs

#2 Post by Auge_Ohr »

Victorio wrote:Can anyone some tips how create PDF simpliest way without need installation other programs, utilities etc ?
i use Windows 10 PDF Printer.
greetings by OHR
Jimmy

Victorio
Posts: 633
Joined: Sun Jan 18, 2015 11:43 am
Location: Slovakia

Re: Pagescript from Abeelabs

#3 Post by Victorio »

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 :roll:

skiman
Posts: 1194
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: Pagescript from Abeelabs

#4 Post by skiman »

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.
Best regards,

Chris.
www.aboservice.be

Victorio
Posts: 633
Joined: Sun Jan 18, 2015 11:43 am
Location: Slovakia

Re: Pagescript from Abeelabs

#5 Post by Victorio »

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

patito
Posts: 121
Joined: Tue Aug 31, 2010 9:01 pm

Re: Pagescript from Abeelabs

#6 Post by patito »

Hi Victorio

attach pdfcreator.prg

best regard
hector
Attachments
creator.zip
(1.2 KiB) Downloaded 776 times

Victorio
Posts: 633
Joined: Sun Jan 18, 2015 11:43 am
Location: Slovakia

Re: Pagescript from Abeelabs

#7 Post by Victorio »

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.

Post Reply