Re: libEXREPORT_pdf.so

Mike Aubury <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAGAq4WHp8keFbKDS9vHgsrLB6WyrZ8oZwj16mYkpzEHUeneuFQ@mail.gmail.com>
Any chance of a minimal test case?
On 4 Mar 2012 13:57, "Eddie" <[email protected]> wrote:

>
>
> On Sun, Mar 4, 2012 at 3:46 AM, Mike Aubury <[email protected]> wrote:
>
>> The filename should come from the A4GL_EXREPORT setting - and should be
>> in captials - I dont know where its getting the "pdf" from - it should be
>> "PDF" (ie. uppercase)
>>
>> This might be set in the environment - or the aubitrc file, or uses a
>> default  - try using :
>>
>> $  aubit-config -verbose EXREPORT
>>
>>
>>
>> You need to make sure you have pdflib installed (dev version of you are
>> compiling from source)
>> Alternatively - you can see what other libEXREPORT_..*.so files you have.
>> NOPDF is a "dummy" one that wont help you..
>> But - you might have libEXREPORT_HARU.so - which use libharu - rather
>> than pdflib..
>>
>> After that - if you care still getting an error - I'd need to see a
>> simple sample - as always - these things appear to work fine here :)
>>
>>
>>
>>
>>
>
> PDFlib seems installed correctly and adding "convertible , converting as
> pdf" to a simple 4gl report creates a PDF without problems. PDFlib was
> compiled from source suing the latest available PDFlib-Lite-7.0.5
>
> pdflib was compiled with --prefix=/usr/local and aubit with
> --with-pdf=/usr/local/bin
>
>
> [aubit@informix1 plugins-1.2_28]$ ls -l *EXREPORT*
> -rwxrwxr-x 1 aubit aubit   8242 Mar  4 08:16 libEXREPORT_NOPDF.so
> lrwxrwxrwx 1 aubit aubit     18 Mar  3 22:44 libEXREPORT_pdf.so ->
> libEXREPORT_PDF.so
> -rwxrwxr-x 1 aubit aubit 143106 Mar  4 08:16 libEXREPORT_PDF.so
> [aubit@informix1 plugins-1.2_28]$
>
>
> [aubit@informix1 plugins-1.2_28]$ aubit-config -verbose EXREPORT
> ''
> Set from : Not set
> [aubit@informix1 plugins-1.2_28]$
>
>
> [aubit@informix1 test]$ env|grep -i pdf
> A4GL_PDFTYPE=PDF
>
>
> [aubit@informix1 ~]$ grep -i pdf .aubit4gl/aubitrc
> #Options: PDF, (NOPDF)
> A4GL_PDFTYPE=NOPDF
> A4GL_PDFTYPE_DETECTED="NOPDF"
> WARN_LD_LIBRARY_REASON=" PDF IESQLC Informix-ESQL"
>
>
>
> By the error I guess its related to positioning elements on the report. I
> can take an existing 4gl report and convert to PDF without problems. The
> 4gl report is pretty much some PRINTs with a couple formating options like
> page length and margins. If I try running the sample (pdf_report.4gl) that
> uses more complex formatting I get the error
>
> [aubit@informix1 test]$ ./pdf_report.4ae
> START
> fatal exception: [1109] PDF_set_text_pos: Floating point parameter 'x' has
> bad value 1.8e+18 (maximum 1e+18)
> [aubit@informix1 test]$
>
>
>
>
> Did some more testing and managed to identify the problem is in this
> section
>
>
> format
> first page header
>         print column 2.5 inches;
>         print image mv_logo AS JPEG SCALED BY 0.25
>         skip to 3 inches;
>         set font size 16
>         print column 2 inches,"Table Dump First Page"
>
>
> Using any non integer value for the position causes the error. It works
> using "print column 2 inches;" and "print column 3 inches;" but will fail
> using "print column 2.5 inches;" or even "print column 2.0 inches;"
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Aubit4gl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
>
>

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.