Jun 30, 2013; 08:09
Jolle Carlestam
Re: PDF Table positions
We don't use the table tags for PDFs. Found them too cumbersome. Instead we place each object individually counting column and row positions and incrementing the values for each placement. Using this technique we create incredibly complex PDF layouts with accuracy of a fraction of millimetres.
However, doing that I've found that -left and -top will not work without -width and -height params. Have you tried adding that?
Another possible solution. Create a PDF with zero margins and a page size that suits your needs. Fill it with your table. Then insert that table PDF into a second PDF placing it where you want it.
HDB
Jolle
Sent from a thin, flat, touchy device from an undetermined place in space.
30 jun 2013 kl. 09:44 skrev "Lubos Voros" <lassotalk@lassozone.com>:
> Hi all,
>
> once I have written this problem, but I could not solve it.
>
> Is any possibility to generate a table in PDF on the exact position? Top and Left parameters do not work me for a table.
>
> I use Lasso 8.5.6 on OSX.
>
> Thank you for your help.
>
> Lubos
>
>> Marc Vos <mailto:marc.vos@me.com>
>> 30. j=FAna 2013 8:50
>> Ok! That's even better! Great to know!
>> Then I must have a look.
>>
>> Is there any particular version? Long time ago there were two versions that somehow coexisted, I believe.
>>
>> - -
>> Thanks,
>> Marc
>>
>>
>>
>> #############################################################
>>
>> Attend the Lasso Developer Conference 2013!
>> Sept 12-14, 2013 in Niagara Falls, Canada
>> http://www.lassosoft.com/LDC-niagara-falls-2013
>>
>> #############################################################
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso
>> Lasso@lists.lassosoft.com
>> To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
>> Send administrative queries to <Lasso-request@lists.lassosoft.com>
>> Jonathan Guthrie <mailto:Jono@lassosoft.com>
>> 30. j=FAna 2013 3:57
>> I also have wkhtmltopdf being called regularly on a CentOS server with Lasso 9 - works great :)
>> Much better that pretty much any of the other services.
>>
>>
>> Jono
>>
>> ----------------------------
>> Jonathan Guthrie
>> jono@lassosoft.com
>> @iamjono
>> LassoSoft Inc.
>> AIM Chatroom: lassochat
>> IRC/freenode #lasso
>>
>>
>> #############################################################
>>
>> Attend the Lasso Developer Conference 2013!
>> Sept 12-14, 2013 in Niagara Falls, Canada
>> http://www.lassosoft.com/LDC-niagara-falls-2013
>>
>> #############################################################
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso
>> Lasso@lists.lassosoft.com
>> To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
>> Send administrative queries to <Lasso-request@lists.lassosoft.com>
>> Marc Vos <mailto:marc.vos@me.com>
>> 29. j=FAna 2013 16:40
>> Hi Anibal,
>>
>> Interesting!? Do you use wkhtmltopdf on a server? And do you call that Lasso page remotely?
>> I tried it a long time ago and back then it only worked when a window-server was running, i.e. one had to be logged in as an OS X desktop user.
>>
>> - -
>> Regards,
>> Marc
>>
>>
>>
>>
>>
>> #############################################################
>>
>> Attend the Lasso Developer Conference 2013!
>> Sept 12-14, 2013 in Niagara Falls, Canada
>> http://www.lassosoft.com/LDC-niagara-falls-2013
>>
>> #############################################################
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso
>> Lasso@lists.lassosoft.com
>> To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
>> Send administrative queries to <Lasso-request@lists.lassosoft.com>
>> Anibal Escobar <mailto:anibal@styleexpo.com>
>> 29. j=FAna 2013 14:43
>> Hi, I'm on Lasso 8.5 Mac OSX. I have a lasso page that calls the following command:
>>
>> shell('/usr/bin/wkhtmltopdf-0.9.9-OS-X.i368 '+ $todo);
>>
>> where $todo is an escaped string of options, urls to be printed and destination file for the pdf. Most of the time it works flawlessly. I recently encountered an issue where it didn't, and in troubleshooting the issue, I discovered that the code was sensitive to the file size of the pdf to be generated. The pdf I was attempting to generate was a product catalog with a lot of pictures. When I reduced the number of pages to be printed or reduced the file size of the jpgs in the catalog, the page worked again. This would lead one to conclude that it's a memory issue, correct? When the command was run from the command line, the pdfs were produced even in the larger file size, so it would seem that the memory issue, it that's what it is, is with Lasso and not wkhtmltopdf. Is there a way to have Lasso hand off the command to the operating system so that it's not "involved" in the command?
>>
>> Thanks,
>> Anibal Escobar
>> anibal@styleexpo.com
>>
>>
>>
>>
>>
>> #############################################################
>>
>> Attend the Lasso Developer Conference 2013!
>> Sept 12-14, 2013 in Niagara Falls, Canada
>> http://www.lassosoft.com/LDC-niagara-falls-2013
>>
>> #############################################################
>> This message is sent to you because you are subscribed to
>> the mailing list Lasso
>> Lasso@lists.lassosoft.com
>> To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
>> Send administrative queries to <Lasso-request@lists.lassosoft.com>
>
> #############################################################
>
> Attend the Lasso Developer Conference 2013!
> Sept 12-14, 2013 in Niagara Falls, Canada
> http://www.lassosoft.com/LDC-niagara-falls-2013
>
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list Lasso
> Lasso@lists.lassosoft.com
> To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
> Send administrative queries to <Lasso-request@lists.lassosoft.com>
#############################################################
Attend the Lasso Developer Conference 2013!
Sept 12-14, 2013 in Niagara Falls, Canada
http://www.lassosoft.com/LDC-niagara-falls-2013
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>