Re: Re: [Harbour] hbvpdf: how set the Page Size?

2010-05-24 Thread David MS
Hi, I 've changed method of PageSize at line 829: IF nSize == 0 .or. nSize > 2 with: IF nSize == 0 I don´t know why this contition is placed there. Now, works fine in portrait and landscape modes. Thanks Maurilio and Jaroslaw Best Regards David Montaño. - Original Message - Fr

Re: [Harbour] hbvpdf: how set the Page Size?

2010-05-22 Thread Jaroslaw Kadziola
Hi > Hi, the question is about hbvpdf, not hbhpdf. You're right, my fault! Sorry ! -- Regards, Jaroslaw Kadziola ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbo

Re: [Harbour] hbvpdf: how set the Page Size?

2010-05-22 Thread Maurizio la Cecilia (GMail)
Il 22/05/2010 13.32, Jarosław Kądzioła ha scritto: Hi, function main() local oPdf oPdf := tPdf():New( 'test.pdf' ) oPdf:NewPage( "A4", "P", 6 ) oPdf:Center("Test") oPdf:Close() return nil The "test.pdf" file has always the same size: 8,5 in. x 11 in., alth

Re: [Harbour] hbvpdf: how set the Page Size?

2010-05-22 Thread Jarosław Kądzioła
Hi, > function main() >local oPdf >oPdf := tPdf():New( 'test.pdf' ) >oPdf:NewPage( "A4", "P", 6 ) >oPdf:Center("Test") >oPdf:Close() > return nil > The "test.pdf" file has always the same size: 8,5 in. x 11 in., althoug > replacing "A4" by "LETTER", "A3"...etc I'm using :

[Harbour] hbvpdf: how set the Page Size?

2010-05-21 Thread David MS
Hi, when i do: function main() local oPdf oPdf := tPdf():New( 'test.pdf' ) oPdf:NewPage( "A4", "P", 6 ) oPdf:Center("Test") oPdf:Close() return nil The "test.pdf" file has always the same size: 8,5 in. x 11 in., althoug replacing "A4" by "LETTER", "A3"...etc Portrait and landscape

Re: [Harbour] hbvpdf

2009-11-30 Thread francesco perillo
> i copied hvpdf*.pdf and .ch into myproject > and functions perfectly now I understand... you copied the source files... not the fonts... >> i solve in a moment, i copied hbvpdf fonts into my project, but i don´t Francesco ___ Harbour mailing list (at

Res: [Harbour] hbvpdf

2009-11-30 Thread Fernando Athayde
2009 7:05:09 Assunto: Re: [Harbour] hbvpdf On Mon, Nov 30, 2009 at 10:56 AM, Fernando Athayde wrote: > and change fonts, > sizes > spacing, ... > i solve in a moment, i copied hbvpdf fonts into my project, but i don´t see > why remove for contrib What do you mean "

Res: Res: [Harbour] hbvpdf

2009-11-30 Thread Fernando Athayde
oject mantaining my family a great hug Best regards, Fernando De: Viktor Szakáts Para: Harbour Project Main Developer List. Enviadas: Segunda-feira, 30 de Novembro de 2009 7:06:33 Assunto: Re: Res: [Harbour] hbvpdf Fernando, > my problem is, i´ve create a func

Re: Res: [Harbour] hbvpdf

2009-11-30 Thread Viktor Szakáts
Fernando, > my problem is, i´ve create a function for convertion my txt 2 pdf > but not a simple convert, it analizes all esc/p commands, and change fonts, > sizes > spacing, ... > i solve in a moment, i copied hbvpdf fonts into my project, but i don´t see > why remove for contrib Because it's

Re: [Harbour] hbvpdf

2009-11-30 Thread francesco perillo
On Mon, Nov 30, 2009 at 10:56 AM, Fernando Athayde wrote: > and change fonts, > sizes > spacing, ... > i solve in a moment, i copied hbvpdf fonts into my project, but i don´t see > why remove for contrib What do you mean "copied hbvpdf fonts" ??? ... sounds interesting... Francesco

Res: [Harbour] hbvpdf

2009-11-30 Thread Fernando Athayde
De: Horodyski Marek (PZUZ) Para: Harbour Project Main Developer List. Enviadas: Segunda-feira, 30 de Novembro de 2009 4:38:02 Assunto: RE: [Harbour] hbvpdf >-Original Message- >From: Massimo Belgrano [mailto:mbelgr...@deltain.it] >Sent: Sunday, November

RE: [Harbour] hbvpdf

2009-11-29 Thread Horodyski Marek (PZUZ)
>-Original Message- >From: Massimo Belgrano [mailto:mbelgr...@deltain.it] >Sent: Sunday, November 29, 2009 7:14 PM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] hbvpdf > >I have made this routine that is able to convert one or more >file as

Re: [Harbour] hbvpdf

2009-11-29 Thread Massimo Belgrano
I have made this routine that is able to convert one or more file asci in txt txt2pdf I hope that maj be usefull for learn http://libharu.sourceforge.net/ compile using hbhpdf.hbc /* read info abour hbharu at http://libharu.org/wiki/Documentation/API/Graphics */ -txt2pdf.prg #inclu

Re: [Harbour] hbvpdf

2009-11-29 Thread Viktor Szakáts
> Well, as I said in another thread I completed a small OLE interface to > PdfCreator and it's ok at the moment. If I will need a pure Harbour > pdf generator (to run on linux for example) I will look at the library > based on Haru... it seems more complete and AFAIK it generates > compressed pdf f

Re: [Harbour] hbvpdf

2009-11-29 Thread francesco perillo
> > But I probably know where is the problem: you're trying to use the > "class way" ( hbvpdft.prg ). Yes, I am using the class... When I found the first "problem" in the class code I went to the procedural and found the same "problem"... I didn't check every specific issue I had... > That file h

Re: [Harbour] hbvpdf

2009-11-29 Thread Lorenzo Fiorini
On Sun, Nov 29, 2009 at 2:57 PM, francesco perillo wrote: > Sorry, I wanted to say "LETTER" instead of A3. > > If you go in the source code you will see that if you specify a paper > size differe from LEGAL or LETTER you will get LETTER. Have you tried the pdf_demo.prg in the tests dir? It w

Re: [Harbour] hbvpdf

2009-11-29 Thread francesco perillo
Sorry, I wanted to say "LETTER" instead of A3. If you go in the source code you will see that if you specify a paper size differe from LEGAL or LETTER you will get LETTER. local nSize, aSize := { { "LETTER",8.50, 11.00 }, ; { "LEGAL" ,8.50, 14.00 }, ;

Re: [Harbour] hbvpdf

2009-11-29 Thread Lorenzo Fiorini
On Sun, Nov 29, 2009 at 12:36 PM, francesco perillo wrote: > I want to tell you that hbvpdf works but has some "little problems"... > for example only A3 form size is supported, pdf is not compressed and > in clear-text and some other code strangeness... I use hbvpdf since years to create A4 rep

Re: [Harbour] hbvpdf

2009-11-29 Thread Bruno Luciani
Fernando , try to use HBHpdf , that is in contrib is a better PDF library Bruno 2009/11/28 Fernando Athayde > how can i use hbvpdf now? > it no more in contribs > i try removing hbvpdf in libs, but happens this error > Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland > Error: Unre

Re: [Harbour] hbvpdf

2009-11-29 Thread francesco perillo
You can find it under examples directory. I want to tell you that hbvpdf works but has some "little problems"... for example only A3 form size is supported, pdf is not compressed and in clear-text and some other code strangeness... Look for a message from me dated 12 november... Francesco __

[Harbour] hbvpdf

2009-11-28 Thread Fernando Athayde
how can i use hbvpdf now? it no more in contribs i try removing hbvpdf in libs, but happens this error Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external '_HB_FUN_TPDF' referenced from E:\FJFRIGOHB\.HBMK\WIN \BCC\FJ_PRINTSETUP.OBJ hbmk2: Erro: Executando linkedi

Re: [Harbour] hbvpdf is "broken" ?

2009-11-12 Thread francesco perillo
Really good news indeed ! Ok, I now agree with you, hbvpdf may be removed if nobody actually use it ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] hbvpdf is "broken" ?

2009-11-12 Thread Viktor Szakáts
>> hbvpdf is outdated beyond repair. > > But it seems to be the only library that can be used on linux... > there may be others I don't know,,, of course I don't know where you got this information from, but it's not true, so I just can guess you never actually tried it on Linux. >> Try hbhpdf

Re: [Harbour] hbvpdf is "broken" ?

2009-11-12 Thread Viktor Szakáts
> I thank you for your work ! It's important to have a pdf library that > is all in harbour code !!! It can work on linux too ! Haru is a lot of > c code and some seems to be very windows specific... That's totally false information. libharu is portable ANSI C and there is nothing in it which mak

Re: [Harbour] hbvpdf is "broken" ?

2009-11-12 Thread francesco perillo
> hbvpdf is outdated beyond repair. But it seems to be the only library that can be used on linux... there may be others I don't know,,, of course > Try hbhpdf. Thanks, but I'm going back to PdfCreator at the moment Code was 90% ready Francesco __

Re: [Harbour] hbvpdf is "broken" ?

2009-11-12 Thread francesco perillo
On Fri, Nov 13, 2009 at 12:23 AM, Pritpal Bedi wrote: > > Hi > > > francesco perillo-2 wrote: >> >> So, after a couple of days spent on this library that looked >> interesting, I think I will give up it may have some other >> "hidden" features... >> >> What's your idea ? >> > > Probably you ne

Re: [Harbour] hbvpdf is "broken" ?

2009-11-12 Thread Viktor Szakáts
hbvpdf is outdated beyond repair. Try hbhpdf. Probably we should remove hbvpdf altogether from SVN, as it just creates reports we can't deal with in any meaningful way. Brgds, Viktor On 2009 Nov 12, at 23:55, francesco perillo wrote: > Well, it compiles and it works... but there are some str

Re: [Harbour] hbvpdf is "broken" ?

2009-11-12 Thread Pritpal Bedi
Hi francesco perillo-2 wrote: > > So, after a couple of days spent on this library that looked > interesting, I think I will give up it may have some other > "hidden" features... > > What's your idea ? > Probably you never read about the origin of the library and its passage through this

[Harbour] hbvpdf is "broken" ?

2009-11-12 Thread francesco perillo
Well, it compiles and it works... but there are some strangeness in the code ) Start with this code snippet: #ifdef __XPP__ METHOD tPdf:SetLPI(_nLpi) #else METHOD SetLPI(_nLpi) #endif local cLpi := alltrim(str(_nLpi)) DEFAULT _nLpi TO 6 cLpi := iif(cLpi$"1;2;3;4;6;8;12;16;24;48",cLpi

Re: [Harbour] hbvpdf

2008-09-14 Thread Lorenzo Fiorini
On Sun, Sep 14, 2008 at 9:41 PM, Szakáts Viktor <[EMAIL PROTECTED]> wrote: > Thanks, good find, that fixes it. Sorry, but there was a commented line above the 468 and the diff was messed. best regards, Lorenzo ___ Harbour mailing list Harbour@harbour-p

Re: [Harbour] hbvpdf

2008-09-14 Thread Szakáts Viktor
Hi Lorenzo, I'm not a PDF expert, so sending PDFs will not help. BTW which viewer are you using? I did this with Acrobat Reader 9. The only difference that I can see about bookmarks is in line 468. Please try to add -1 like below: cTemp := CRLF + ltrim(str( aReport[ REPORTOBJ ] + nI - 1)) +

Re: [Harbour] hbvpdf

2008-09-14 Thread Lorenzo Fiorini
On Sun, Sep 14, 2008 at 8:31 PM, Szakáts Viktor <[EMAIL PROTECTED]> wrote: > Hi Lorenzo, > > After latest fixes, we seem to have lost bookmark support > in hbvpdf. > > What could be the problem? > > [ I can send you a test.pdf I created yesterday, and one > that I've made now. ] I'm not a PDF expe

[Harbour] hbvpdf

2008-09-14 Thread Szakáts Viktor
Hi Lorenzo, After latest fixes, we seem to have lost bookmark support in hbvpdf. What could be the problem? [ I can send you a test.pdf I created yesterday, and one that I've made now. ] Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project

[Harbour] hbvpdf functions collisions

2008-09-13 Thread Lorenzo Fiorini
I'm trying to replace my custom pdf lib to hbvpdf but I find that it defines "well known" function names. Simply a report to anyone interested. best regards, Lorenzo Making libharbour-1.0.1.so... ./libhbct.a/numat.o: In function `HB_FUN_NUMAT': numat.c:(.text+0x0): multiple definition of `HB_FUN