Save as pdf - Send email
What is the (set field) 'path' ON the ipad for saving a pdf ?
I need it so I can pick up the saved pdf in the email send script - ...
"filewin:" & Get(DocumentsPath)&"/testorder.pdf"
ok... I did figure some of it out.
but the PDF email attachment cries about not having the fonts (I am only using Arial - and bolding a few words) AND it also attaches a file to the email called
Thank you for your posts.
There is no need to use "filewin:" in your first post, nor the slash in your second post. Your script should look similarly to:
Save Records as PDF [ No dialog ; "testorder.pdf" ; Records being browsed ]Set Variable [ $PDFPath ; Value: Get (DocumentsPath) & "testorder.pdf" ]Send Mail [ Send via E-mail Client ; To: "firstname.lastname@example.org" ; Subject: "Test Order" ; Message: "See enclosed file" ; "$PDFPath" ]
If you continue to run into difficulty with the Arial font, try a different font. This will help narrow it down to an iOS issue or a font issue.
Good info -- ... a couple more q's
1. The font issue got worse when I changed the layout from all ariel to Tacoma (it was readable on the ipad but NOT in the attached PDF) - ... I switch it all back to JUST arial I continue to see the warning when I open the pdf in acrobat 8.0 - "Cannot extract ehe embedded font 'LMRHIU+Arial-BoldMT'. Some Characters may not display or print correctly"
2. Wren I rerun the same script - save as pdf - ... the file does not overwrite the previous pdf file (files on device) on the ipad with the same name - it's appends a ' 1' etc... is there any way to simply replace the previous file.
I'm not sure where the problem lies with the font issue. I have created some layouts by using Arial and setting the style to Bold, and also using the font Arial Bold. Other than having to size the field height, I am able to save to PDF without any error message.
The iOS does not allow overwriting of files, so if you try to save a file with the same name, it will not overwrite the original file and create another file appending "1" (or "2" or "3" for however many times you try to write a new file).
thanks - I appreciate your help ....
I get the errors only when I open the pdf on a mac or win7 machine via the email send script - NOT when they are created on the ipad - ... I can send you the file or the pdf if you'd like - ...
sorry to here that the OS doesn't allow for over-writing - OUCH .
Thanks for the additional information. I am now able to see the problem when opening the PDF file on a Mac or Windows machine.
After researching this further, I discovered our Development and Software Quality Assurance (Testing) are aware of this issue. Also, checking the Apple forum, I see it has also been reported with iWork apps on the iPad. See:
There is no additional information available at this time.
One of our technicians also pointed me to Knowledge Base Article #7780 at:
I apologize for not being aware of this article and symptom.
Retrieving data ...