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
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
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
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 :
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
> 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
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 "
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
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
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
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
>-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
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
> 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
>
> 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
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
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 }, ;
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
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
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
__
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
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
>> 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
> 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
> 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
__
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
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
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
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
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
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)) +
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
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
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
34 matches
Mail list logo