Re: [WebDNA] PDF creation

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110560
interpreted = N
texte = This is mine un Linux xvfb-run wkhtmltopdf-amd64 -s A4 --footer-line --footer-right 'Forest = For The Trees - Price List - Page [page] of [toPage]' = --footer-font-size 7 --margin-top 2 = http://dev.forestftt.com.au/shop/pricelist.html?val=3D[val] = /var/www/forest/forest_root/pdfs/pricelists/[PDFNAME] You may need an absolute path for the resulting file xxx.pdf Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 09/08/2013, at 6:08 PM, Thierry Almy wrote: > Thanks, I give it a try! >=20 > Installed the binary version on my mac server. >=20 > doing this command from terminal works nice: > /Applications/wkhtmltopdf.app/Contents/MacOS/wkhtmltopdf = 'http://berufswahlpass-gl.ch/index_druckversion.dna?printall=3Dt&druck_sch= ueler=3D%25B7%2501-%25EC%25E0%25B7%25BD%25D6' ~/Desktop/xx.pdf >=20 >=20 > embedding this in my code, will run the application on the server, but = produces no output. > [shell] > /Applications/wkhtmltopdf.app/Contents/MacOS/wkhtmltopdf = http://google.com/news xxx.pdf > [/shell] >=20 >=20 > I don't find any logs where I could get more informations. >=20 >=20 > How did you include it in your dna code? >=20 > Thierry >=20 >=20 >> wkhtml2pdf is an excellent solution, I recently installed it on = Linux, very easy to use with many options. Can't argue with the price = either, $0.00. >>=20 >> There is also a Windows & a Mac version. >>=20 >> http://code.google.com/p/wkhtmltopdf/downloads/list >>=20 >> http://madalgo.au.dk/~jakobt/wkhtmltoxdoc/wkhtmltopdf-0.9.9-doc.html >>=20 >>=20 >>=20 >>=20 >> On 08/08/2013, at 10:12 PM, bob.minor@cybermill.com wrote: >>=20 >>> There's several command line programs. Look at wkhtml2pdf. It uses = the web kit to convert it incorporates all the CSS etc and just does a = bang up job.=20 >>>=20 >>> On Aug 8, 2013, at 4:09 AM, Thierry Almy wrote: >>>=20 >>>> Hi >>>>=20 >>>> I'm looking for a solution to convert HTML to PDF. >>>>=20 >>>> I checked docraptor.com, looks nice, but our client doesn't want to = pay for a subscription =85 >>>>=20 >>>> Then I heard about TCPDF.org.=20 >>>> Pro is, there's a version on MacPorts, against =85. it looks like = it's heavily based on php. >>>> Anyone knows if it could be used by WebDNA? >>>>=20 >>>> Who is using what solution on a Mac server? >>>>=20 >>>> Thierry >>>>=20 >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] PDF creation (Tom Duke 2013)
  2. Re: [WebDNA] PDF creation (Thierry Almy 2013)
  3. Re: [WebDNA] PDF creation (WebDNA 2013)
  4. Re: [WebDNA] PDF creation (Thierry Almy 2013)
  5. Re: [WebDNA] PDF creation (RS WebDNA 2013)
  6. Re: [WebDNA] PDF creation (Steve Raslevich 2013)
  7. Re: [WebDNA] PDF creation ( bob.minor@cybermill.com 2013)
  8. [WebDNA] PDF creation (Thierry Almy 2013)
This is mine un Linux xvfb-run wkhtmltopdf-amd64 -s A4 --footer-line --footer-right 'Forest = For The Trees - Price List - Page [page] of [toPage]' = --footer-font-size 7 --margin-top 2 = http://dev.forestftt.com.au/shop/pricelist.html?val=3D[val] = /var/www/forest/forest_root/pdfs/pricelists/[PDFNAME] You may need an absolute path for the resulting file xxx.pdf Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 09/08/2013, at 6:08 PM, Thierry Almy wrote: > Thanks, I give it a try! >=20 > Installed the binary version on my mac server. >=20 > doing this command from terminal works nice: > /Applications/wkhtmltopdf.app/Contents/MacOS/wkhtmltopdf = 'http://berufswahlpass-gl.ch/index_druckversion.dna?printall=3Dt&druck_sch= ueler=3D%25B7%2501-%25EC%25E0%25B7%25BD%25D6' ~/Desktop/xx.pdf >=20 >=20 > embedding this in my code, will run the application on the server, but = produces no output. > [shell] > /Applications/wkhtmltopdf.app/Contents/MacOS/wkhtmltopdf = http://google.com/news xxx.pdf > [/shell] >=20 >=20 > I don't find any logs where I could get more informations. >=20 >=20 > How did you include it in your dna code? >=20 > Thierry >=20 >=20 >> wkhtml2pdf is an excellent solution, I recently installed it on = Linux, very easy to use with many options. Can't argue with the price = either, $0.00. >>=20 >> There is also a Windows & a Mac version. >>=20 >> http://code.google.com/p/wkhtmltopdf/downloads/list >>=20 >> http://madalgo.au.dk/~jakobt/wkhtmltoxdoc/wkhtmltopdf-0.9.9-doc.html >>=20 >>=20 >>=20 >>=20 >> On 08/08/2013, at 10:12 PM, bob.minor@cybermill.com wrote: >>=20 >>> There's several command line programs. Look at wkhtml2pdf. It uses = the web kit to convert it incorporates all the CSS etc and just does a = bang up job.=20 >>>=20 >>> On Aug 8, 2013, at 4:09 AM, Thierry Almy wrote: >>>=20 >>>> Hi >>>>=20 >>>> I'm looking for a solution to convert HTML to PDF. >>>>=20 >>>> I checked docraptor.com, looks nice, but our client doesn't want to = pay for a subscription =85 >>>>=20 >>>> Then I heard about TCPDF.org.=20 >>>> Pro is, there's a version on MacPorts, against =85. it looks like = it's heavily based on php. >>>> Anyone knows if it could be used by WebDNA? >>>>=20 >>>> Who is using what solution on a Mac server? >>>>=20 >>>> Thierry >>>>=20 >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us WebDNA

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCatalog 2.0 b 15 mac (1997) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) Sorting Results (1999) BW in a search (2007) Viewing old carts (was FEW QUESTIONS) (1997) WCS Newbie question (1997) Why is my easy [AddLineItems] NOT working?? MORE (2000) encrypt method=APOP broken or just not enough docs? - was:MD5 encryption (2003) WebCat2 Append problem (B14Macacgi) (1997) & in Lookups (1997) How About Credit Card Transactions (1998) FAX orders (1996) decrypt and summ problems (1999) multiple credit card merchant accounts/processors (1997) Re:E-mailer application times out (1998) question: back button prevention (1997) Server Freeze (1998) Help name our technology! I found it (1997) Roundup function? (1997) [showif]/[hideif] question (1997)