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 -

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 :

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., althoug

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

[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 param works

Res: [Harbour] hbvpdf

2009-11-30 Thread Fernando Athayde
De: Horodyski Marek (PZUZ) m.horody...@pzuzycie.com.pl Para: Harbour Project Main Developer List. harbour@harbour-project.org Enviadas: Segunda-feira, 30 de Novembro de 2009 4:38:02 Assunto: RE: [Harbour] hbvpdf -Original Message- From: Massimo Belgrano

Re: [Harbour] hbvpdf

2009-11-30 Thread francesco perillo
On Mon, Nov 30, 2009 at 10:56 AM, Fernando Athayde fernando_atha...@yahoo.com.br 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...

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 an

Res: Res: [Harbour] hbvpdf

2009-11-30 Thread Fernando Athayde
mantaining my family a great hug Best regards, Fernando De: Viktor Szakáts harbour...@syenar.hu Para: Harbour Project Main Developer List. harbour@harbour-project.org Enviadas: Segunda-feira, 30 de Novembro de 2009 7:06:33 Assunto: Re: Res: [Harbour] hbvpdf Fernando

Res: [Harbour] hbvpdf

2009-11-30 Thread Fernando Athayde
Enviadas: Segunda-feira, 30 de Novembro de 2009 7:05:09 Assunto: Re: [Harbour] hbvpdf On Mon, Nov 30, 2009 at 10:56 AM, Fernando Athayde fernando_atha...@yahoo.com.br wrote: and change fonts, sizes spacing, ... i solve in a moment, i copied hbvpdf fonts into my project, but i don´t see why

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

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

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 fernando_atha...@yahoo.com.br 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,

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 2:57 PM, francesco perillo fperi...@gmail.com 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

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 has been

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

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

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 asci in txt txt2pdf I hope that maj

[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

[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 :=

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 level.

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

Re: [Harbour] hbvpdf is broken ?

2009-11-12 Thread francesco perillo
On Fri, Nov 13, 2009 at 12:23 AM, Pritpal Bedi bediprit...@hotmail.com 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

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 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 makes

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 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

[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

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 expert, so

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 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] 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