Page 3 of 32
Posted: Thu Aug 17, 2006 4:53 pm
by TerryHough
All my tutorial examples fail.
Says
Error: The following PureLibrary is missing: LibraryExtension
PB4. What am I missing?
Posted: Thu Aug 17, 2006 7:47 pm
by magicjo
@TerryHough,
I think the library is coded with PB ver. 3.94 .
Posted: Thu Aug 17, 2006 7:54 pm
by ts-soft
In the moment, there is no lib for PB4, but you can use the include by Flype:
http://www.purebasic.fr/english/viewtopic.php?t=21862
Posted: Thu Nov 16, 2006 9:25 pm
by Flype
just to inform that PurePDF 2.05 for PB4.01 is available.
all the stuff can be downloaded here, on the ABBKlaus homepage.
http://www.purebasicpower.de/?PDFBarcode
and a question to the author(s) :
is possible to add this procedure to the PDFMisc userlibrary ?
Code: Select all
Procedure pdf_IncludeFileJS(FileName.s)
Protected file.l, source.s
file = ReadFile(#PB_Any, FileName)
If file
source = Space(Lof(file))
If ReadData(file, @source, Lof(file))
pdf_IncludeJS(source)
EndIf
CloseFile(file)
EndIf
EndProcedure
Posted: Thu Nov 16, 2006 9:31 pm
by Flype
hello, another question
is it possible to generate a PDF document and then print it directly on the default printer without opening the Acrobat Reader interface ?
Posted: Fri Nov 17, 2006 7:03 pm
by ABBKlaus
Hi Flype,
uploaded the new version (version stays at V2.05)
->PurePDF V2.05<-
new command :
pdf_IncludeFileJS(FileName.s)
is it possible to generate a PDF document and then print it directly on the default printer without opening the Acrobat Reader interface ?
i would say no

cannot find anything suitable for PurePDF so it can stay multiplatform
i tried with Acrobat Reader but the window stays open when finished printing a PDF file. And Freak´s method
http://www.purebasic.fr/english/viewtopic.php?t=9927 isn´t working with PDF´s

(not Freak´s fault its Adobe

)
But when you find anything i will add it.
Regards Klaus
Posted: Fri Nov 17, 2006 9:34 pm
by Flype
ok, thank you for the answer - and the update.
so, at the moment, i include this very big javascript snippet :
but this one open the document in Acrobat Reader, once loaded it open the print dialog. 2 mouse clicks saved. but, well, that's not what i'm really looking for.
maybe i should use your PrinterLib which seems to be very useful.
does your PrinterLib supports antialiased texts and drawings ?
Posted: Sun Dec 03, 2006 10:37 pm
by ABBKlaus
Hi,
there is a new version of PurePDF available
PurePDF V2.06
Fontembedding is now possible.
Regards Klaus
Posted: Mon Dec 04, 2006 3:21 pm
by techjunkie
ABBKlaus wrote:Hi,
there is a new version of PurePDF available
PurePDF V2.06
Fontembedding is now possible.
Regards Klaus
Great! Thanks! This is an incredible user library and I just LOVE the inclluded source code... It's so beautiful!

Posted: Mon Dec 04, 2006 6:10 pm
by Thorsten1867
Thanks a lot. My program needs a lot of PDFs.
Posted: Mon Dec 04, 2006 6:19 pm
by srod
Great work. Thanks.

Posted: Mon Dec 04, 2006 6:22 pm
by Thorsten1867
ABBKlaus wrote:Fontembedding is now possible.
How does it work? I can't find it in the help file.
Posted: Mon Dec 04, 2006 9:06 pm
by ABBKlaus
There is no need to mention it in the helpfile

(btw i don´t have the source file of the help [@Luke can you send?])
Just use the old syntax :
there is only one thing left to say
when there is no matching font for the style found (for 'Tahoma' this is italic) the default font is used (in this case 'Tahoma' Regular)
*B.TTF = Bold Font
*BD.TTF = Bold Italic Font
*I.TTF = Italic Font
Regards Klaus
Posted: Mon Dec 04, 2006 9:08 pm
by LuckyLuke
VERY COOL !

Great job !
I'll try to find the source of the help file.
Posted: Tue Dec 05, 2006 12:54 am
by ABBKlaus
Thanks Luke,
Help file is updated
PurePDF V2.06
This time only pdf.chm

the rest (pdfMisc + pdfDraw) is for tomorrow
Regards Klaus