[WebDNA] writing pdfs on the fly (Avery labels #5160)
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105039
interpreted = N
texte = Hi AllI am working to write PDFs on the fly with webdna (my first time with this).I thought I was in luck when I saw the sample on the webdna site because it is said to be the exact PDF template I need (Avery labels #5160).So far as far as I got is to see is that the sample (avery) I downloaded from the webdna site seems contradictory in that it says that it will choke on a null char (the readme says "should be ascii only") and then in that Avery example it tries to include a file (the pdf template) which contains a null char! (Did the author test this?!)I do not know about the guts of a pdf to know how to go about tweaking the template to make it pure ascii (null char-free) and have it still work as that real pdf (formatted for avery labels 5160).The sample directions (readme.txt) say,"Create a pdf file (I used Distiller for this demo)in ASCII text format so there isn't any binary datain the file (so null characters won't cause problems)."The final pdf I want to write may have more than one page.I'd love to find success here to solve my own problem and also to embellish the samples for the webdna site.It seems I need (at least) a sample pdf template (for the Avery labels #5160) which does not contain any binary data (null chars), right?Can anyone give me some pointers?------------Govindagovinda.webdnatalk@gmail.com
Associated Messages, from the most recent to the oldest:
Hi AllI am working to write PDFs on the fly with webdna (my first time with this).I thought I was in luck when I saw the sample on the webdna site because it is said to be the exact PDF template I need (Avery labels #5160).So far as far as I got is to see is that the sample (avery) I downloaded from the webdna site seems contradictory in that it says that it will choke on a null char (the readme says "should be ascii only") and then in that Avery example it tries to include a file (the pdf template) which contains a null char! (Did the author test this?!)I do not know about the guts of a pdf to know how to go about tweaking the template to make it pure ascii (null char-free) and have it still work as that real pdf (formatted for avery labels 5160).The sample directions (readme.txt) say,"Create a pdf file (I used Distiller for this demo)in ASCII text format so there isn't any binary datain the file (so null characters won't cause problems)."The final pdf I want to write may have more than one page.I'd love to find success here to solve my own problem and also to embellish the samples for the webdna site.It seems I need (at least) a sample pdf template (for the Avery labels #5160) which does not contain any binary data (null chars), right?Can anyone give me some pointers?------------Govindagovinda.webdnatalk@gmail.com
Govinda
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:
The [shownext] limitations (2002)
form data submission gets truncated (1997)
multi-paragraph fields (1997)
[WebDNA] exclusivelock (2011)
How bad an idea is it to put cart=[cart] on all links? (2000)
Another question (1997)
[WebDNA] TLS 1.2 and [tcpconnect] URGENT (2018)
price change help (1998)
creating a 60 fields database (1997)
Another option (2005)
[WebDNA] Brian Harrington (2019)
[WebDNA] El Capitan (2017)
dates and hex formatting (1997)
Gil's in the lead (1999)
[OT] I am old. (2003)
Re[3]: Problem with new formvariables (2000)
WebCat2: Items xx to xx shown, etc. (1997)
[WebDNA] XML Help (2009)
[BoldWords] WebCat.acgib15Mac (1997)
Protect (1997)