Re: [WebDNA] writing pdfs on the fly (Avery labels #5160)

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105043
interpreted = N
texte = A solution I recently used for generating PDF documents on a Mac OS X = server was to build a web page that renders just right in Safari on the = server (where I have control of the fonts, browser settings, etc), then = use AppleScript to automate a print to PDF action, and WebDNA via = [shell] to trigger the AppleScript to do it's job. This was not for = labels, so I had a little more formatting tolerance, but it works like a = charm. Brian Fries BrainScan Software On Mar 16, 2010, at 9:54 AM, Donovan Brooke wrote: > Govinda wrote: > [snip] >> What are people doing to write pdfs on the fly? PHP? Or any good = (easy to instal/run) freeware/shareware out there. >> All we need is Avery label #5160 dynamic pdfs, populated with our = webdna db data. >> -Govinda >=20 >=20 > Hi Govinda, I hate to discourage the use of WebDNA, but when dealing = with client deadlines... >=20 > I am currently looking at: >=20 > http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=3Dtcpdf >=20 > It's an open source PDF utility for PHP. I will be calling > a PHP page with a WebDNA tcpconnect.. or maybe even through > the commandline to accomplish my goals. >=20 > There may be other better solutions for your needs out there, I don't > know. >=20 > tcpdf consists of basically one main file and a couple supporting > small files and does not require any special external = objects/frameworks > etc.. It could be rewritten in WebDNA.. but I don't have the time > to rewrite 17,000 lines of code right now. ;-) >=20 > Anyway, I'm looking at it for DRM purposes, but it is fairly = versatile. It utilizes ImageMagick for image manipulation. >=20 > Acrobat has a DOM interface (similar to browsers but different). I = suppose you could hack something there by running Acrobat on your > server and then calling javascript through WebDNA using [shell]. > That may just drive a person past the crazy line. :-) >=20 > I'll be getting more into this in the coming weeks myself. >=20 > Donovan >=20 >=20 >=20 >=20 > --=20 > Donovan Brooke > Euca Design Center > [Practical-Ethical-Efficient] > www.euca.us > egg.bz > artglass-forum.com > --------------------------------------------------------- > 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 > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: = http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Govinda 2010)
  2. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Govinda 2010)
  3. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Grant Hulbert 2010)
  4. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Patrick McCormick 2010)
  5. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Grant Hulbert 2010)
  6. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Donovan Brooke 2010)
  7. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Govinda 2010)
  8. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Bob Minor 2010)
  9. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Marc Thompson 2010)
  10. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Bob Minor 2010)
  11. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Tom Duke 2010)
  12. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Marc Thompson 2010)
  13. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Brian Fries 2010)
  14. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Donovan Brooke 2010)
  15. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Govinda 2010)
  16. Re: [WebDNA] writing pdfs on the fly (Avery labels #5160) (Marc Thompson 2010)
  17. [WebDNA] writing pdfs on the fly (Avery labels #5160) (Govinda 2010)
A solution I recently used for generating PDF documents on a Mac OS X = server was to build a web page that renders just right in Safari on the = server (where I have control of the fonts, browser settings, etc), then = use AppleScript to automate a print to PDF action, and WebDNA via = [shell] to trigger the AppleScript to do it's job. This was not for = labels, so I had a little more formatting tolerance, but it works like a = charm. Brian Fries BrainScan Software On Mar 16, 2010, at 9:54 AM, Donovan Brooke wrote: > Govinda wrote: > [snip] >> What are people doing to write pdfs on the fly? PHP? Or any good = (easy to instal/run) freeware/shareware out there. >> All we need is Avery label #5160 dynamic pdfs, populated with our = webdna db data. >> -Govinda >=20 >=20 > Hi Govinda, I hate to discourage the use of WebDNA, but when dealing = with client deadlines... >=20 > I am currently looking at: >=20 > http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=3Dtcpdf >=20 > It's an open source PDF utility for PHP. I will be calling > a PHP page with a WebDNA tcpconnect.. or maybe even through > the commandline to accomplish my goals. >=20 > There may be other better solutions for your needs out there, I don't > know. >=20 > tcpdf consists of basically one main file and a couple supporting > small files and does not require any special external = objects/frameworks > etc.. It could be rewritten in WebDNA.. but I don't have the time > to rewrite 17,000 lines of code right now. ;-) >=20 > Anyway, I'm looking at it for DRM purposes, but it is fairly = versatile. It utilizes ImageMagick for image manipulation. >=20 > Acrobat has a DOM interface (similar to browsers but different). I = suppose you could hack something there by running Acrobat on your > server and then calling javascript through WebDNA using [shell]. > That may just drive a person past the crazy line. :-) >=20 > I'll be getting more into this in the coming weeks myself. >=20 > Donovan >=20 >=20 >=20 >=20 > --=20 > Donovan Brooke > Euca Design Center > [Practical-Ethical-Efficient] > www.euca.us > egg.bz > artglass-forum.com > --------------------------------------------------------- > 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 > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: = http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D288 Brian Fries

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:

[cart] Taxrate - seriously .. (2002) ShowNext (1997) [WebDNA] Case-insensitive URLs (2011) [format xs] freeze (1997) possible, WebCat2.0 and checkboxes-restated (1997) Who is doing sign-ups-got it (1998) Shell traceroute (2001) Two submit buttons ? (1997) One tough Cookie (1998) final on include (1997) Record Modified Date - SQL ? (2000) Need relative path explanation (1997) Replace command help (1998) Quantity * price (1997) Claris HomePage messes up the code (1997) Re1000001: Setting up shop (1997) Paths, relative paths, webstar server setup and security (Mac) (1997) Shownext! (1998) I need a Smart-quote workaround (1999) Max Record length restated as maybe bug (1997)