Printing and email script/button

I have a form that will be deployed out to employee's laptops that they will use to generate a quote to customers. I need a button that will print the said form as a static pdf document (none of the controls are active that can change the price) and then email the static pdf document form to the customer.
I was able to generate the button to generate the email with the form as an attachment but the form is still dynamic using the following script:
var To = mail.rawValue;
var Subj = "Direct Drive AC Start System Upgrade";
var Bod = "Please find attached the requested package system upgrade data sheet with pricing.";
var bc = "[email protected]";
var cc = "[email protected]";
Subj = Subj +"( "+InquiryNo.rawValue+" )";
event.target.submitForm({cURL:"mailto:"+To+"?subject="+Subj+"&Cc="+cc+"&bcc="+bc+"&&body=" +Bod,cSubmitAs:"PDF",cCharset:"utf-8"});
I also tried setting all the fields as readonly before generating the email but with no success:
for (var nPageCount = 0; nPageCount < xfa.host.numPages; nPageCount++) {
var oFields = xfa.layout.pageContent(nPageCount, "field");
var nNodesLength = oFields.length;
// Set the field property.
for (var nNodeCount = 0; nNodeCount < nNodesLength; nNodeCount++) {
oFields.item(nNodeCount).access = "readOnly";
Any help will be greatly appreciated.

Hi ,
I have made a template in Designer and m generating the Pdf's using the Output ES tool. I want to control the saving and printing options of the Pdf generated. Kindly help ...

Similar Messages

  • Render and Email script

    Hello everybody. I have a question that I have thoroughly researched on the web with no results.
    I am trying to get the default After Effects "Render and Email" script to run properly. I have only been able to successfully send FROM one specific email address TO another (slightly less specific) email address. Most other email services I put in (icloud, gmail, etc) all give strange errors upon execution.
    For the SENDING email address, I'm currently using one I created that is a part of my web hosting account (this is the only account I am able to successfully send from). For RECEIVING, I've only successfully gotten my gmail address to work. All other receiving addresses don't always give me error, but also never show up. Either that, or I get very weird errors. The most common one I get is "Unaable to send mail. 533 5.7.1 AUTH command is not enabled."
    I haven't been able to find this error documented anywhere online. I'd like to be able to send emails to my icloud account, since it pushes email notifications to my phone in real time.
    Long ago someone by the name of Ko Maruyama supposedly explained all this in detail, but the writeup was posted on a .mac website (http://homepage.mac.com/komaruyama/Tutorials/AE/AE_javamail/AE_mail.html), which Apple officially discontinued/took down several years ago.
    Does anyone have any experience with this?

    For Mac, the path is of course slightly different. If you cannot delete the file, you should at least be able to edit it in Extend Script Toolkit or any text editor or run the script separately to change its config data. Works for me...
    Mylenium

  • How can I print and email a report with a logo?

    How can I print and email a report with a logo?
    Is this possible??

    hi ravikant!
    im talking about reports, not forms.
    i bet se78 is for forms and oaer is for report.
    because my logo is displayed on screen, using html-top-of-page.
    but at the time of printing and email, internally, alv grid is converted into alv list, and alv list doesn't support having a logo.
    That's my know-how of the situation.
    Do you have a way with it???
    Please advice.
    Thanks a lot!

  • F110 Program RFFOGB_T - Can we achieve both Printed and Email Outputs??

    HI Experts,
    SAP Provides standard Program RFFOGB_T  for processing automatic bank direct debits and bank collections in domestic payment transactions for Great Britain and Ireland. This program is run as part of F110 Payment run. The standard program prints  the Payment advice notes.  We have used the Business Transaction Event 00002040 as per the documentation of the Program, to generate EMAILS instead of Printed Advice notes.
    With the changes made, we have met our requirements. However, now the Client desires to have both Email and Printed Advice Notes, If any of you have worked on this BTE, could you please suggest whether this is possible.
    My Understanding is, it could be either print or email as the input parameter to this BTE, finaa-nacha carries a value '1' which is for Printed output, the custom code in the BTE changes the value to 'I' for Email Output. How can we possibly achieve both.
    I am a developer, so pardon me if the description of the problem sounded too technical.
    Any suggestion would be highly appreciated.
    Thanks and Regards,
    Subhrangsu

    Hi,
    We found the same requirement but for F.27, which doesn't have any posting action. As pointed out by you, I think there can only be one output, either going to spool or mail and can't both. So in our case, we make two correspondence with each for spool and another one for mail. I think you might want to ask for SAP notes on your requirement.
    Regards,
    Teddy Kurniawan

  • New Ipad app supporting excel, printing and email.

    I am an agent/rep and I have a Excel spreadsheet as an order form. I need to enter a customers order while I am in their shop then print it via bluetooth and also email them their copy while I am in their shop (possible no internet or 3g network).
    What is the best app to get for compatibility of Excel which supports editing the file and emailing and able to print? The spreadsheet doesn't have any complicated formulas, just basic adding up.
    Does anyone have any ideas? Numbers, Office2 HD, Quick Office HD, Documents2Go? I don't know where to start, and don't want to waste money on an app which doesn't do the job.
    Thank you.

    Are you saying then that with Numbers or Office2 HD they will both support my needs as far as importing, editing, saving then emailing.
    Yes, any of them would work for such basic use. You'll want to read the feature set to see if any of them would offer additional features or options that you might find userul.
    it would be great if they could do a digital signature on the screen which would prevent the need to print a copy for them to sign. Do you know if any of the applications have this feature?
    I can't say with certainty that none exist, but I don't know of any of the Excel-compatible editing apps that also offer pen input. You might be able to do this in a sort of "two step" approach using one of the editing apps and an annotation app such as DocAS:
    http://itunes.apple.com/us/app/docas-annotate-pdf-take-notes/id437110885?mt=8
    Without using Dropbox or a similar service, though, I don't know how the passoff between the apps would or could work.
    Rather than using Excel spreadsheets, you might look into a database-type application such as FileMaker Go or an invoicing app. You might find something that would do what you need in a single app.
    Regards.

  • How to disable printing and emailing from a specific pdf in iBooks?

    I need to prevent the iPad user to print or email a pdf published in iBooks. Thanks for your help!

    I don't believe that Apple sells PDF files from the iBookstore, only EPUB files.
    If you created the PDF file in Acrobat, you can set security (see the Help file in Acrobat) but if you installed it in iBooks application, I don't know if Apple respects the security you set in the PDF.

  • Customize Folder Action and Email script

    I have been adapting the below script so if I drop a file on the script, the file will be emaild to the default address. But, I can't figure out how to customize the two below easy tasks into this script. Thanks for any help out there!
    1. A file is moved into folder1 triggers the script.
    2. After the file is email'd I would like it to be moved into folder 2. I have found a script in this forum that moves the file, but I don't know where to add it.
    on adding folder items to theFolder after receiving theAddedItems
    tell application "Finder"
    move theAddedItems to folder "G5:Users:camille:Desktop:folder2:"
    end tell
    end adding folder items to
    The Send File Script that I have been adapting (concept and initial coding by Paul Van Cotthem):
    property this_folder : "G5:Users:camille:Desktop:folder1"
    property emailAddress : "[email protected]"
    global sendAction
    on open fileList
    -- If one prefers to test for folders before the files are created, the enable this code.
    repeat with filePath in fileList
    if (filePath as string) ends with ":" then
    display dialog "Please drop only files, not folder." buttons {"OK"} default button 1 with icon 0
    return
    end if
    end repeat
    enterAddress()
    repeat with filePath in fileList
    set filePath to filePath as string
    if filePath does not end with ":" then -- it's a file
    tell application "Finder" to set fileName to name of item filePath
    tell application "Microsoft Entourage"
    -- This code is faster, but if the user trashed the attached files before sending them, Entourage cannot send the attachtments.
    make new outgoing message at out box folder with properties {recipient:emailAddress, subject:fileName, attachment:filePath}
    -- This code is slower, but attached files are saved into Entourage's message database immediately.
    set theSubject to "File attached: " & fileName
    set newmsg to make new draft window with properties ¬
    {recipient:{address:emailAddress, recipient type:to recipient}, subject:theSubject, content:theSubject, attachment:filePath}
    send newmsg
    end tell -- Entourage
    end if -- file or folder?
    end repeat -- filePath
    end open
    on run
    enterAddress()
    end run
    on enterAddress()
    display dialog "Send to:" buttons {"Cancel", "Send now"} with icon note ¬
    default button 2 default answer emailAddress giving up after 2
    set dialogResult to result
    set sendAction to button returned of dialogResult
    set emailAddress to text returned of dialogResult
    end enterAddress
    G5   Mac OS X (10.3.9)  
    G5   Mac OS X (10.3.9)  
    G5   Mac OS X (10.3.9)  
    G5   Mac OS X (10.3.9)  

    Go ahead and put that chunk of code on a new line at the very bottom of your script. Then between the on adding folder items to theFolder after receiving theAddedItems line and the tell application "Finder" line, insert the word open on a line by itself.
    By putting the term "open" there you are telling the script to run all the code in the "on open" block when triggered by the folder action handler. To make the folder action active you'll need to save the droplet in your ~/Library/Scripts/Folder Action Scripts folder, and then you'll need to attach it to something by control-clicking the desired folder and/or using the Folder Action Setup Utility to connect script to folder.

  • Printing and Emailing Draft Blog

    I have a blog set up that I have not published yet. How can I print it in "save as pdf" format, or email it to a friend?
    Would "publish to a folder" be an option for me here? I started to publish to a folder, but there was not place to name the file, so I wasn't exactly sure that the effect of that would be, and I want to make sure it is not yet published online because it's not finished.
    thanks

    When you Publish To a Folder iWeb Publishes all of your sites from the Domain.sites project file you are working on. To only Publish individual pages to a Folder in iWeb would require them to be their own Domain.sites project file.
    More info here
    http://docs.info.apple.com/article.html?artnum=303670
    and http://iWebFAQ.com/1Site2Computers could be reversed to mean "1 computer, more than 1 site"

  • Invoice Print and Email from same output type

    Hi All,
    We want to print invoice and send an email to customer. Can this be acheived using same output type??
    If yes, plz guide how can we do this..
    I check some queries in forums but they had coding etc.  Can we do it with config??
    Regards,
    Satish.

    I'm not sure why you wouldn't configure two output types. However, you can do this with one output type in a number of ways:
    1. Use a speciial function output (transmission medium 8).
    This allows you to write ABAP code to anything you want. However, you have to manage print contols on yur own as the special function transmssion medium doesn't allow you to specify these on he condition record.
    2. Change the driver program for the print output for the output to send emails.
    You would need to handle the email routing on your own because the output records for print are just for printing.

  • Photosmart Premium Fax C410a printer and my "wireless" button keeps blinking

    I set up replacement printer today (USB) but the "wireless" button light keeps blinking.  How do I stop it?
    This question was solved.
    View Solution.

    OK, great, thanks.  Different printers have different instructions.
    On the front of the printer go to Setup > Network > Disable Wireless (or similar words).  The blue light will go off.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • I want to have users submit the form in PDF format but it doesn't work using the email submit button

    Hi all,
    I have a form that I want to be returned to a specific email address as a PDF File. This is so that reservations people can open the pdf, and extract the information from it. Keeping it as a PDF will allow them to easily read and use the form.
    When I use the "Add and Email Submit button" approach, as outlined in the "How to" area, everything works fine, except that the format of the submitted file is in xml, not Pdf which is what I need it in.
    I then tried adding a Button to the document from the Library, and set it's "Control Type" to "Submit". This provided me with the submit sub-tab, where I set the "Submit Format" to PDF. In the "Submit to Url", I entered the following - "mailto:[email protected]" (without the quotes)
    The first approach works, but is not in the PDF format that I need (I believe).
    The second approach keeps giving the following error when one selects the submit button - "This operation is not permitted".
    We use Lotus Notes (yes, I know...not my favorite either, and it may be the problem here).
    Any help that might be provided is greatly appreciated!!
    Rob

    Thanks, but, using the "free" version of Reader, there is no opportunity to open nor import the xml data - the menu options do not exist - there is no import listed.
    If we try to open the xml file directly, then we get an error - something to the effect of "unsupported file type, or the file is corrupted".
    I just noticed in my Pro version that there is the command File ->Form Data ->Import Data to Form... command. Is this what you are referring to?
    What do you recommend? Perhaps the easiest thing to do would be to purchase a few copies of Acrobat Pro for the reservations people to use? I was hoping that the free version of reader would do it, but perhaps not?
    Thanks again,
    Rob

  • How do you "Air Print" an email on ios7?

    how do you "Air Print" and email from iPhone 4s on ios7?

    Open the email, click on the backwards swirling repy arrow at the bottom, tap on print, select your printer and print.

  • How to disable print and download button of pdf file when i am opening mozila firefox using java script

    i am opening pdf file in firefox browser in right side i am seeing print and download option
    i want to disable it by program like javascript, by manualy i can disable it ,
    actually i am opening pdf file in my website by using firefox browser so i do not want to any can download or print the pdf file

    If it's that critical, you could explore this partial workaround:
    Use a script or configuration file on your server that changes the disposition based on the user agent. In other words, for Firefox, send an attachment disposition that forces a download outside the browser instead of the default (inline) disposition that allows Firefox to display the PDF in a tab.
    Now... that won't stop the user from dragging and dropping the downloaded file on a Firefox tab to use the built-in PDF viewer, but most users would tend to open the file in their default viewer (e.g., stand-alone Adobe Reader).

  • I can't print anymore, the "help" button doesn't work, and Firefox always sets to "Never Remember History" even if I change it

    SO many issues with Firefox now! For one, it crashes quite a bit. I submit the crash report, and go from there. Keeps happening. But the main thing is this:
    I go to "Options" and under "Privacy" it has "Never remember history" - I change it to "use custom settings for history", hit "ok" and then when I go back to it, it's back on "never remember history" already. What gives?
    The issues I'm having right now is that I used to click on Print in my email (Yahoo) and pop-up blocker would stop it, but a dialog would pop up saying "try again", and I would hit that, and a separate window would open where I could print the email. Now, when I click on print, NOTHING happens. No box, no changes whatsoever. No pop-ups blocked, nothing at all. I mean, the button for "print" doesn't even react like I clicked on it. Nothing happens.
    The other issue is that when there's a text box, if I start to type my email address, it suggests my email address. It never used to do this! I don't want this, either. How can I stop the suggesting of my email address. I don't want it to remember what I typed!
    Another issue with Firefox is that when I click on the "menu" button in the top right, there's a question mark that says "open help menu" at the bottom. When I click on that, the help menu is EMPTY. I included a picture so you can see.
    I've "reloaded Firefox", as well as downloaded another copy and actually reinstalled it. All these errors keep happening. How can I get them to stop or function correctly? What's causing them to work all wonky?

    The "Use custom settings for history" selection allows to see the current history and cookie settings, but selecting this doesn't make any changes to history and cookie settings.
    Firefox shows "Use custom settings for history" as an indication that at least one of the history and cookie settings is not the default to make you aware that changes were made.
    If all History settings are default then the custom settings are hidden and you see "Firefox will: (Never) Remember History".
    "Never Remember History" means that Private Browsing is active and "Always use private browsing mode" gets a checkmark.
    You need to remove the checkmark on "Always use private browsing mode" to leave Private Browsing mode or chose the "Remember History" setting.
    *https://support.mozilla.org/kb/Private+Browsing

  • Trouble adding printer to HP ePrint Home and Biz iPhone app - can't find printer's email address

    I'm trying to connect my HP Photosmart c6380 to my iPhone. I already downloaded the app and my printer is connected to my wireless network, as is my iPhone, but I can't add my printer to the app.
    When I go to "Manage ePrinters" and try to add a printer with the + button I see 3 choices:
    Add ePrinter from list: "No ePrinters available"
    Add Manually: I can't find the printer's email address even using the instructions found at the ePrint center.
    Add from WiFi Network: My printer isn't shown in this list so it does not support auto discovery.
    So I'm guessing that if I could just find my printer's email address that would connect it to my iPhone for wireless printing, but I can't for the life of me find it. 
    Any help is greatly appreciated.
    Thanks.
    This question was solved.
    View Solution.

    Hello amybett,
    I have bad news and good news. The bad news is that your printer is not Airprint/ePrint capable. However, the good news is that with the HP ePrint Home and Biz iPhone app it does not need to be Airprint/Eprint capable, as long as it is connected to the same network as your phone.
    Here are the steps you will want to take to print something:
    1. Setup the app by completing the email registration and entering the code (which I believe you have).
    2. Select the item you wish to print using the menu in the app (Photo Albums, Saved Files, Web Browser, etc.).
    3. Once you select the item you should see the item and a large "Print" button under it.
    4. If the printer you want to print to is not listed above the "Print" button, select the icon on the right (wrench/computer) and select the printer you wish to use (along with other settings). 
    5. Tap on the "Back" button in the top left corner, then tap "Done" (blue button in the top right corner), and then tap the "Print" button to print your item.
    Let me know if you are still having trouble after following the guide above.
    If I have helped in any way, just click the Kudos star on the left. Also, if your issue has been resolved, don't forget to select Accept as Solution

Maybe you are looking for

  • Sale Order Excise Value should not be zero

    Dear Friends With the User Exit MV45AFZZ     Form:: Userexit_Save_Document_Prepare, we have written a condition that while saving the sale order, if the excise condition value JEX2 is zero, order could not be saved and this is working fine for normal

  • How does upgrade for aperture work if use the trial to download?

    I have a new macbook pro. I have installed my Aperture 2.X on it. Can I download the trial and when I purchase get the "upgrade" price? If so, how does that work. Do I type in my 2.x serial number at some point? Or, if I purchase the Aperture disk, h

  • Matrixx 7 autocode does not generate ucb and subsystem wrapper for "procedures" code style

    Under matrixx 6.1.3  when procedure style code generation is specified  (-procs), autocode generates subsystem and ucb style wrappers (see below): Executing the command:    autostar -l c -o "test.c" -d "/usr/local/apps/matrixx-6.1.3/solaris_mx_61.3/c

  • Strange Error Message after prolonged inactivity

    I have a PowerMac G5 (1.8 Ghz, 900mhz bus speed, with 1.5 GB of RAM installed. If this machine is left running overnight, wheth it is asleep or not, by the next morning, the following error appears on the screen: obj~1/RELEASE_PPC MEMORY ACCESS EXCEP

  • Usage of BufferedInputStream & OutputStream#flush()

    I have a snippet below. InputStream fileInputStream = formFile.getInputStream();//org.apache.struts.upload.FormFile OutputStream out = = new BufferedOutputStream(new FileOutputStream(tempFilePath)); byte[] buffer = new byte[256 * 1024]; int contentLe