Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper > Re: Clipper PDF
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 12 Topic 3899 of 3904
Post > Topic >>

Re: Clipper PDF

by "Catello Buonocore" <pippo@[EMAIL PROTECTED] > May 2, 2008 at 09:07 AM

Dear Klas,
thank you for your help.
I'll send a private mail to you.
Catello Buonocore

"Klas Engwall" <klas.engwall@[EMAIL PROTECTED]
> ha scritto nel messaggio 
news:481a5273$0$6433$834e42db@[EMAIL PROTECTED]
> Catello,
>
>>I need some information about library "CLIPPER PDF" developed by Victor
K.
>>I have a procedure that print a report with several columns.
>>Now I am modifying the procedure to create a PDF file of the report.
>>
>>I have some question:
>>
>>1)      What is the coordinate system that I have to use with the
function
>>pdfAtSay ?
>
> The default is rows and columns like you normally use. But you can
> also use millimeters if you pass an "M" in the cUnits argument.
>
>>2)      I see that in this function there is a transformation of the
>>parameters nRow and nCol. What is the meaning of this ?
>
> The coordinate system in the PDF file is upside down with a resolution
> of 72 DPI. So if you specify nRow==10 it has to be converted to, say,
> 70 lines (page length) minus 10 lines equaling 60 lines from the
> bottom. Then at 6 lines per inch and 72 DPI the resulting vertical
> position will be 720 dots from the bottom. Or something like that ...
>
> nCol is a little different. IIRC, it calculates the percentage of the
> report width (previously specified) at which your nCol is located.
> This means that when you use long lines the whole page will be
> compressed sidewise, and data from different columns in the report
> will pe printed on top of each other if the column gap is small.
> Personally, I think that solution is a little too smart.
>
>>3)      When I print the report to a printer I know the width of a
column
>>because I multiply the max number of the character and the size of the
>>printer's character. May I do the same thing with PDF file ? I don't
>>understand the way.
>
> Yes, but make sure that the report width (the nLen argument to the
> pdfOpen() function) corresponds with the actual report width your
> pdfAtSay() calls require.
>
>>4)      I have read somewhere that exist a version 0.8 of the library. 
>>Where
>>can I download it ?
>
> AFAIK, it is not available anywhere on the web anymore. But I can
> email a copy to you if you give me a valid email address.
>
> BTW, there is a demo included in the package. Use it to familiarize
> yourself with the different options and to test the things you asked
> about. Much easier than to start from scratch.
>
> Regards,
> Klas
>
> -------
> klas dot engwall at engwall dot com
>
> http://www.engwall.com/clipper/
>
> The LFN Library for Clipper
> The LanMan Library for Clipper
> The NFPAT1A Timeslice release patch for the Nanforum Toolkit




 12 Posts in Topic:
Clipper PDF
"Catello Buonocore&q  2008-05-01 17:10:07 
Re: Clipper PDF
dlzc <dlzc1@[EMAIL PRO  2008-05-01 09:03:58 
Re: Clipper PDF
"Catello Buonocore&q  2008-05-01 18:17:37 
Re: Clipper PDF
klas.engwall@[EMAIL PROTE  2008-05-01 23:29:49 
Re: Clipper PDF
"N:dlzc D:aol T:com   2008-05-01 19:24:10 
Re: Clipper PDF
klas.engwall@[EMAIL PROTE  2008-05-02 09:29:19 
Re: Clipper PDF
klas.engwall@[EMAIL PROTE  2008-05-01 23:29:53 
Re: Clipper PDF
"Catello Buonocore&q  2008-05-02 09:07:33 
Re: Clipper PDF
klas.engwall@[EMAIL PROTE  2008-05-02 09:29:25 
Re: Clipper PDF
"Pritpal Bedi"   2008-05-11 11:12:28 
Re: Clipper PDF
klas.engwall@[EMAIL PROTE  2008-05-11 23:30:26 
Re[2]: Clipper PDF
Jarek Kadziola <kadzio  2008-05-02 07:15:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 3:30:10 CDT 2008.