It is currently Fri Jan 18, 2019 10:41 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 468 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 32  Next
Author Message
 Post subject:
PostPosted: Thu Aug 17, 2006 4:53 pm 
Offline
Enthusiast
Enthusiast

Joined: Fri Apr 25, 2003 6:51 pm
Posts: 778
Location: NC, USA
All my tutorial examples fail.

Says
Error: The following PureLibrary is missing: LibraryExtension

PB4. What am I missing?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 17, 2006 7:47 pm 
Offline
User
User

Joined: Sun May 07, 2006 10:43 am
Posts: 61
Location: Italy
@TerryHough,

I think the library is coded with PB ver. 3.94 .

_________________
PB Registered User, Egrid Registered User
Win7 x64 Ultimate, 4,00 Gb Mem, Ati Radeon HD4600 Series, Realtek High Definition Audio Integrated


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Aug 17, 2006 7:54 pm 
Offline
Always Here
Always Here
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 5749
Location: Berlin - Germany
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

_________________
PureBasic 5.70 | SpiderBasic 2.10 | Windows 10 Pro (x64) | Linux Mint 19.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Nov 16, 2006 9:25 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Jul 22, 2003 5:02 pm
Posts: 1534
Location: In a long distant galaxy
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:
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Nov 16, 2006 9:31 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Jul 22, 2003 5:02 pm
Posts: 1534
Location: In a long distant galaxy
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 ?

_________________
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 17, 2006 7:03 pm 
Offline
Addict
Addict

Joined: Sat Apr 10, 2004 1:20 pm
Posts: 1143
Location: Germany
Hi Flype,

uploaded the new version (version stays at V2.05) ->PurePDF V2.05<-

new command :
pdf_IncludeFileJS(FileName.s)

Quote:
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 :cry: cannot find anything suitable for PurePDF so it can stay multiplatform :arrow:
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 :evil: )

But when you find anything i will add it.

Regards Klaus


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 17, 2006 9:34 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Jul 22, 2003 5:02 pm
Posts: 1534
Location: In a long distant galaxy
ok, thank you for the answer - and the update.

so, at the moment, i include this very big javascript snippet :

Code:
print(true);


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 ?

_________________
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Dec 03, 2006 10:37 pm 
Offline
Addict
Addict

Joined: Sat Apr 10, 2004 1:20 pm
Posts: 1143
Location: Germany
Hi,

there is a new version of PurePDF available :arrow: PurePDF V2.06

Fontembedding is now possible.

Regards Klaus


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Dec 04, 2006 3:21 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Oct 15, 2003 12:40 am
Posts: 1126
Location: Sweden
ABBKlaus wrote:
Hi,

there is a new version of PurePDF available :arrow: 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! :D

_________________
Image
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Dec 04, 2006 6:10 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 631
Location: Germany
Thanks a lot. My program needs a lot of PDFs.

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Dec 04, 2006 6:19 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Wed Oct 29, 2003 4:35 pm
Posts: 10489
Location: Beyond the pale...
Great work. Thanks. 8)

_________________
I may look like a mule, but I'm not a complete ass.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Dec 04, 2006 6:22 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 631
Location: Germany
ABBKlaus wrote:
Fontembedding is now possible.


How does it work? I can't find it in the help file.

_________________
Sorry for my English. My language is German.
(Translated with http://www.DeepL.com/Translator)

[Windows 10 x64] [PB V5.7x]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Dec 04, 2006 9:06 pm 
Offline
Addict
Addict

Joined: Sat Apr 10, 2004 1:20 pm
Posts: 1143
Location: Germany
There is no need to mention it in the helpfile :wink: (btw i don´t have the source file of the help [@Luke can you send?])
Just use the old syntax :

Code:
pdf_SetFont("Tahoma","",12)


there is only one thing left to say :oops:
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)

Quote:
*B.TTF = Bold Font
*BD.TTF = Bold Italic Font
*I.TTF = Italic Font


Regards Klaus


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Dec 04, 2006 9:08 pm 
Offline
Enthusiast
Enthusiast

Joined: Fri Jun 06, 2003 2:41 pm
Posts: 175
Location: Belgium
VERY COOL ! 8) Great job !
I'll try to find the source of the help file.

_________________

LuckyLuke


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Dec 05, 2006 12:54 am 
Offline
Addict
Addict

Joined: Sat Apr 10, 2004 1:20 pm
Posts: 1143
Location: Germany
Thanks Luke,

Help file is updated :arrow: PurePDF V2.06

This time only pdf.chm :shock: the rest (pdfMisc + pdfDraw) is for tomorrow

Regards Klaus


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 468 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 32  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye