English
SDK-aide/ Tools

PDF-Builder-DLL

 

Jens-Arne
Reumschüssel
good afternoon,

i was since very langer Time on the Search after a Possibility, self PDF-Files produce to. and of course not, because one one the many Druckertreiber-Tools using, with them end simply a graphic herauskommt, separate so, that one really real PDF-Files with Textinhalt produce can, The then too durchsuchbar are.

thereby is me now a PureBasic-Library over the lane run, The very the can (PurePDF). she's of course quite old and created PDFs to the standard 1.5, means can z.B. no PDF/As produce, because it those not yet given. but otherwise remaining really no wish open.

The problem is only, that PureBasic-Libraries only very with the PureBasic-Version functions, for tappt im dunkeln made get. I had means a quite old Version install. so could I now but a Wrapper-DLL produce (what because of Freeware-status of PurePDF too goes). for these have I a XProfan-INC-File and a PH-File built, so one simply from XProfan out to Herzenslust PDF-Files with text, grafischen Elementen, Images and left produce can. moreover have I me The trouble made, a CHM-Helpfile To write, so really eachone so get by ought to.

before it suitable inquiries gives: I can on whom functions the DLL nothing Change, I The Sourcecodes to PureBasic-Library not have. its and remaining means so, what's it like. only if it Error into Profan-Files or of my Wrapper-DLL give ought to, can I on it something Change.

plenty Fun at try!

Jens-Arne

-----
12.03.2023:
PDF-Builder 2 is ready. these one weiterentwickeltes proposition, the on the ursprünglichen PureBasic-Variante aufbaut.
particularly are now ausfüllbare Formularfelder possible.
PDF-Builder 2 is because of vielfältiger internal Changes unfortunately not entire abwärtskompatibel To PDF-Builder. If one Program with the first Variante runs and no Formularfelder needed go, is it therefore not necessary and not recommendable, on the new Version umzusteigen.
The new DLL there now too as 64bit-Version. These is naturally not XProfan compatible, but for with others Programmiersprachen, The 64bit-code produce.
-----

HINWEISE:
- not working with XPSE, because therein yet no Singles famous are, The for DLL but needed go (Singles are 4-byte-"Floats")
- sofern not JRPC3 using becomes, must The ph-File to the inc-File eingebunden go
- Please not wonder: sowohl The ph-File as well as The inc-File having at the beginning integrally many Leerzeilen, I whom local have, that Scintilla within XProfEd then less often crashes, what moreover lead, that one nothing more change and particularly whom Source not Save can - the make I therefore always so (who wants, it can Leerzeilen naturally gladly delete)

169 kB
Bezeichnung:PDF-Builder
Version:1.02
Kurzbeschreibung: DLL to that produce of PDF-Files
Hochgeladen:01/30/22
Downloadcounter172
Download
691 kB
Bezeichnung:PDF-Builder 2
Version:1.01
Kurzbeschreibung: DLL to that produce of PDF-Files with Formularfeldern
Hochgeladen:03/12/23
Downloadcounter91
Download
 
XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM
PM: jreumsc@web.de
01/30/22  
 




Manfred
Barei
Hura, so what have I already The whole Time sought "Eine Freeware PDF.DLL" but nothing found.
will be I soon try sobalt I Time have.
 
XProfan X2
Zu wenig Wissen ist gefärlich, zu viel auch.(XProfan X4) | Win 10 Pro 64 | Win7 Ultimate 32/64 | AMD FX-8320, 16GB, GeForce GT 630 |
01/30/22  
 




Jens-Arne
Reumschüssel
I have now ENUM from the PH-File removes, so too people without JRPC3 these directly use can.
 
XProfan X4
XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM
PM: jreumsc@web.de
01/30/22  
 




Thomas
Freier
mandatory I absolutely test times.
having to years without printer only PDF-Files in the Schreibmaschinenstil hinbekommen. Reichte but.

3 kB
Hochgeladen:01/31/22
Downloadcounter129
Download
 
Gruß Thomas
Windows XP SP2, XProfan X2
01/31/22  
 




Sven
Bader
Vielen Thanks for these nice DLL!

In Web-Projekten have I often with the PDF-Generierung To do, under windows had against it always The Druckfunktion herhalten.

I had first Problems with the Help File (contents get not viewed), the have I so resolved:



and here the Beispielcode, whom Jens-Arne in Rolands Forum geposted has:
 $H PDF-Builder.ph'must for reines Profan without JRPC3 first kommen; the was in the first attempt this Beitrages not yet so, sorry
 $I PDF-Builder.inc
declare i%,AktSeite%

PROC PDF_HeaderProc

    inc AktSeite%
    PDF_PushFont
    PDF_PushFillColor
    PDF_SetFont("Times New Roman",~PDF_Font_Bold,16)
    PDF_SetFillColor(@rgb(220,220,220))
    PDF_Cell(0,15,"Kundendatenbank",~PDF_Cell_Frame,~PDF_Cell_Ln_LineFeed,~PDF_Align_Center,~PDF_Fill_Opaque)
    PDF_LineFeed(10)
    PDF_SetFont("Times New Roman",~PDF_Font_Bold,12)
    PDF_Cell(60,7,"Name",~PDF_Cell_Frame,~PDF_Cell_Ln_Right,~PDF_Align_Left,~PDF_Fill_Transparent)
    PDF_Cell(60,7,"Straße, Hnr.",~PDF_Cell_Frame,~PDF_Cell_Ln_Right,~PDF_Align_Left,~PDF_Fill_Transparent)
    PDF_Cell(0,7,"PLZ, Wohnort",~PDF_Cell_Frame,~PDF_Cell_Ln_LineFeed,~PDF_Align_Left,~PDF_Fill_Transparent)
    PDF_SetFont("Times New Roman",0,12)
    PDF_Text(185,285,"Seite "+@st$(AktSeite%))
    PDF_PopFont
    PDF_PopFillColor

ENDPROC

cls
AktSeite%=0
PDF_Init
PDF_Create(~PDF_Orientation_Portrait,~PDF_Unit_mm,~PDF_Format_A4)
PDF_SetFont("Times New Roman",0,12)
PDF_SetProcHeader(@procaddr("PDF_HeaderProc",0))'each Seitenumbruch should The HeaderProc called go
PDF_SetMargins(15,10,10)
PDF_SetAutoPageBreak(1,20)
PDF_AddPage()
for i%,1,250
PDF_Cell(60,7,"Mustername "+@st$(i%),~PDF_Cell_Frame,~PDF_Cell_Ln_Right,~PDF_Align_Left,~PDF_Fill_Transparent)
PDF_Cell(60,7,"Musterstraße "+@st$(i%),~PDF_Cell_Frame,~PDF_Cell_Ln_Right,~PDF_Align_Left,~PDF_Fill_Transparent)
PDF_Cell(0,7,"12345 Musterstadt",~PDF_Cell_Frame,~PDF_Cell_Ln_LineFeed,~PDF_Align_Left,~PDF_Fill_Transparent)
endfor'i%
PDF_Save("test.pdf")
PDF_DeInit
@shellexec("test.pdf","open",1)
waitinput
end

26 kB
Hochgeladen:02/01/22
Downloadcounter92
Download
 
02/01/22  
 




Georg
Teles
Nabend,

a super DLL many Thanks !
 
XProfan X2
TC-Programming [...] 
XProfan 8.0 - 10.0 - X2 - X3 - X4

02/21/22  
 




Jens-Arne
Reumschüssel
there's a new Version, in the in the INC-File one bow fixed watts, the under designed Umständen to a "arithmetic overflow error" lead could.
 
XProfan X4
XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM
PM: jreumsc@web.de
08/05/22  
 




Erasmus.Herold
Hallo zusammen.

Ist ja der Hammer. Danke!

Gruß Erasmus
 
01/04/23  
 




Normann
Strübli
Hi,
sometimes becomes one still Real yet surprised.
cool - I will objectively again a proposition umsetzen can.
Vielen Thanks.
 
01/29/23  
 




Jens-Arne
Reumschüssel
now are The sporadischen Gleitkommaüberlauf-Error of XProfan in the INC-File for good eliminating. it dealt itself circa a Bug in XProfan X4 with the Übergabe of single-Values as Prozedurparameter.
 
XProfan X4
XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM
PM: jreumsc@web.de
03/05/23  
 




Jens-Arne
Reumschüssel
PDF-Builder 2 is ready. See Einführungstext integrally supra (new: Formularfelder and 64bit-Version).
 
XProfan X4 * Prf2Cpp * XPSE * JRPC3 * Win11 Pro 64bit * PC i7-7700K@4,2GHz, 32 GB RAM
PM: jreumsc@web.de
03/12/23  
 




Rainer
Hoefs
Hi,

this is really a crazy Translation the PureBAsic-Lib, The so did i in PureBasic use.

compliment!

though happens by me in the XProfan-Program something, what with PureBasic not happens:

If I The PDF-File from my Program out generiere and the suitable Proc over the MenueButton/Hotkey aufrufe becomes The Backgroundcolor the Mainwindow of hellem gray in white changed. After term the Proc becomes tappt im dunkeln neither More correctly. in hellem gray displayed.

be in the momentum completely ratlos where the happens and How I it Change can.

Help would super beautiful!
thanks beforehand
Rainer

EDIT!

have whom Error found, was somewhere in the code one CLS! the stammte yet from the Testprogramm-code.
 
06/06/23  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.196 Views

Untitledvor 0 min.
RudiB.09/01/24
Uwe Lang07/21/24
E.T.03/29/24
Matzbub02/03/24
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie