PurePDF Version 2.0
-
- Enthusiast
- Posts: 781
- Joined: Fri Apr 25, 2003 6:51 pm
- Location: NC, USA
- Contact:
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
http://www.purebasic.fr/english/viewtopic.php?t=21862
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
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 ?
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
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
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 ?
is it possible to generate a PDF document and then print it directly on the default printer without opening the Acrobat Reader interface ?
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
Hi Flype,
uploaded the new version (version stays at V2.05) ->PurePDF V2.05<-
new command :
pdf_IncludeFileJS(FileName.s)
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
uploaded the new version (version stays at V2.05) ->PurePDF V2.05<-
new command :
pdf_IncludeFileJS(FileName.s)
i would say no cannot find anything suitable for PurePDF so it can stay multiplatformis it possible to generate a PDF document and then print it directly on the default printer without opening the Acrobat Reader interface ?
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
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 ?
so, at the moment, i include this very big javascript snippet :
Code: Select all
print(true);
maybe i should use your PrinterLib which seems to be very useful.
does your PrinterLib supports antialiased texts and drawings ?
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
Hi,
there is a new version of PurePDF available PurePDF V2.06
Fontembedding is now possible.
Regards Klaus
there is a new version of PurePDF available PurePDF V2.06
Fontembedding is now possible.
Regards Klaus
-
- Addict
- Posts: 1126
- Joined: Wed Oct 15, 2003 12:40 am
- Location: Sweden
- Contact:
Great! Thanks! This is an incredible user library and I just LOVE the inclluded source code... It's so beautiful!ABBKlaus wrote:Hi,
there is a new version of PurePDF available PurePDF V2.06
Fontembedding is now possible.
Regards Klaus
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Thanks a lot. My program needs a lot of PDFs.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
How does it work? I can't find it in the help file.ABBKlaus wrote:Fontembedding is now possible.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
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)
Just use the old syntax :
Code: Select all
pdf_SetFont("Tahoma","",12)
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)
Regards Klaus*B.TTF = Bold Font
*BD.TTF = Bold Italic Font
*I.TTF = Italic Font
Thanks Luke,
Help file is updated PurePDF V2.06
This time only pdf.chm the rest (pdfMisc + pdfDraw) is for tomorrow
Regards Klaus
Help file is updated PurePDF V2.06
This time only pdf.chm the rest (pdfMisc + pdfDraw) is for tomorrow
Regards Klaus