Defining print properties for a Livecycle form

Hi,
I am working on a form in Livecycle Designer ES2. The form is basically a checklist that has a series of questions and based on the answers to each question, I have made it so that hidden fields will become visible when necessary. The problem I have is that if someone tries to print the form and intends to fill it out as a printed document, then the hidden fields will not show because the necessary actions to reveal them have not happened. I tried creating an action so that when the form is about to be printed, all fields become visible but that defeats the purpose of printing out a form that WAS filled out electronically. Is there any way to create an action so that when the form is printed AND all/most fields are empty, then the necessary fields are set to visible?
I really appreciate the help. Thanks very much.

Hi,
I think this will helps you.
Copy the following script to the click-event of the Print-button:
for(var i = 0; i < xfa.host.numPages; i++)
    var oFields = xfa.layout.pageContent(i, "field");
    var nodesLength = oFields.length;           
    for(var j = 0; j < nodesLength; j++)
        oFields.item(j).presence = "visible";
xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
This script take a look to all pages to all fields and make them visible.
Kind regards Mandy

Similar Messages

  • Mass-Update Default Print Properties for Spool Authorization (S_SPO_ACT)

    Dear Experts
    To protect HR spool requests it is possible to use the print-authorization in combination with the authorization object S_SPO_ACT.
    In case a HR user prints a form the the print-popup will default the user-parameter SAU for print-authorization. When printed like this the value of the SAU-parameter will be added to the spool request.
    In case the HR user prints a ABAP-list the value of the user-parameter SAU is not defaulted in the print popup. Instead seperatly saved defaults print properties (see print popup -> properties) are taken.
    How can I mass-change these default print properties? How can I set these default print properties for other users?
    Thanks in advance

    Please note that with SAP BASIS release later than 620, parameter id 'SAU' is either no longer used or only used in a limit fashion. The default spool authorization is now stored in cluster 'UV' instead of at 'USR05' / parid 'SAU' .
    If your users already have 'SAU' parameter populated with proper spool authorization, SAP has an ABAP util 'RSTRANSPARAMSAU' to store this in the cluster. Once you run this util, default spool authorization will
    be populated properly each time spool files are created.

  • How to define print control for TO in wm

    hi
    can someone help me out explaining how can i configure print control for to in wm.i donno how to set up perameters for it in spro.
    thanx in advance

    You have to set Spools, form names, print codes, assigning printers, auto pick list printing, number of
    labels printed etc.  in OMLV.
    http://help.sap.com/saphelp_40b/helpdata/en/77/1939516e36d1118b3f0060b03ca329/content.htm
    http://help.sap.com/bp_bblibrary/470/documentation/A09_BB_ConfigGuide_EN_US.doc#_Toc84924701

  • Printing Properties for Acrobat 8.0 Pro not sticking

    Hi guys & gals,
    I have a user here that is running Windows 7 that has been having an issue with printing from Acrobat 8.0 Professional for some time and while it's not a huge issue, it is a bit annoying.
    Here's the scenario:
    She opens a PDF file, clicks on Print, selects the printer she wants to print to and clicks on "properties" to change it from say, 8.5"x11" to 11'x17" paper size, then she clicks "OK" which returns her to the main print window only to see that it still shows the original paper size. If she clicks "Properties" a 2nd time and changes the paper size again and hits OK then everything is fine until the next time she goes to print something and she has to go through changing the print properties twice again to get the settings to stick.
    It's not clear if this is an Acrobat issue or a Windows issue. Does anyone have any insights as to what might be going on here?
    Thanks!

    Hi Daniel,
    Thanks for the suggestions, but that didn't help. And yes Acrobat is updated and I even tried the "Repair Acrobat Installation" option all to no avail. 3 of us have looked into this issue and decided there is no fix. It's just something the user will have to live with. Oh and 1 correction, the computer is running Vista, not W7, however I don't think Vista is any worse at handling printing than 7 is, and since this happens regardless of if we print with the Postscript driver or the PCL6 driver, it's gotta be an Acrobat issue, not a Windows issue. Also just going into the list of printers and reselecting the already selected printer seems to also jolt it into suddenly showing the correct (changed) settings. Weird.

  • Need help on remote printing info for custom PDF form...

    Hi,
    I did quite a lot of search on this requirement but failed to access the correct info in this forum. In case anyone has already done this, please do explain and point to the right link. thanks
    I have a custom table where I will maintain every customer's email id, printer name (printer in his network where he wants me to print this PDF output, there can be multiple printers separated by comma) and his fax number.
    Question 1: For remote printing,what all details do I need to maintain in my custom table regarding that  printer (IP address or what ?? )? Also, any other configuration to be done to make this happen ?
    Question 2: In my code how do I trigger my ADOBE form to be sent to that remote printer for printing ?
    Currently I have done
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
    CALL FUNCTION 'FP_JOB_OPEN'
    CALL FUNCTION z_FUNCNAME
    CALL FUNCTION 'FP_JOB_CLOSE'
    As of now, the print dialog opens and i can see the adobe output in the print preview option. This is OK for me when I want to do local printing. But how do I trigger the remote printing automatically based on the values in the custom table.
    This is purely a custom transaction based printing and hence no output determination is configured .
    Apologies if this question is repetitive, but I fail to assimilate the required info from the forum.
    thnks

    resolved.thanks

  • Unable to see print preview for Sales PDF form SLS_FORM01 SD_SLS_PRINT01

    Hi,
       I tried to use pdf forms for my sales print forms . I maintained standad driver program SD_SLS_PRINT01 and pdf form SLS_FORM01 in NACE. But i am unable to see print preview . But i am able to view standard purchase order pdf form MEDRUCK_PO . When i debugged the code, i found an excetion " %fpcomp_usage_error '039' textkey-name" , it gives style does not exists . The exception detail is as follows .
    Exception : USAGE_ERROR
    Message Id : FPUIFB  Message Number : 039 .
    Message : Text object doesnot exixts .
          Kindly guide me to overcome this issue .
    Thanks and Regards,
    S.Sivakumar

    this is no adobe specific error, it's from your application. You've some entries in your customizing so that specific texts are expected by the form.
    go to the context, search your text there and check wheter the checkbox "no error when text is missing" is activated or not...
    if the textbox is not activated but the text is missing --> thats the behaviour you have

  • Defining printer driver for SAP

    hi,
    i am trying to define the printer as follows
    SA38 run report RSTXSCRP
    device type, MODE=IMPORT and rest as default
    but i get the error "cross-client custimizing objects are not permitted"
    thanks

    Hi,
            This is not an error.This is a security setting for the Client..See SCC4 and SE03 to change this option unless this client is not set to production
    Regards
    Umesh K

  • What is the name of the Std Print Program for a Delivery Form (VL01)

    How can I find the standard pront programs for SAP executables? I cannot tell by looking at TNAPR alone.
            Thanks.

    Hello Ravi,
    We are currently seeing an issue and we use a custom print program, and a related custom SAPSCRIPT program. SAP suggests I use a standard print program in trx V/38. We are upgrading to 6.0.
    I assume I can just add your SMARTFORM name in V/38 config and this should give me standard output for EK00?
         Thank-You.

  • How to find standard print programs for ADOBE forms

    Hi All,
    My question is how to find the standard SAP print program for a SAP provided ADOBE form. For example - how to find what is the satndard SAP provided print program for the ADOBE form for payment advice 'F110_AVIS_INT'.
    As by default in the transaction F110 (where the payment advice form configuration is done), a SAP Script form is attached and the print program assigned is an SAP Script (as it contains call to function module like open_form, write_form... ) program and not an ADOBE print program.

    Hi Renu,
    I have gone through the link provided by you but it only shows a list of standard PDF forms.
    My question was how to find the standard SAP provided print program (or driver program which contains the data fetch logic and passing of the data to the interface of the ADOBE form) for these SAP provided ADOBE form.
    If SAP has provided standard ADOBE form then definitely they would also have provided the standard print program too ?
    @Srihari,
    The path system --> Status --> program SAPLFPUIFB is the standard program for the SFP transaction and not for the payment advice form F110_AVIS_INT.
    It will be same for all the ADOBE forms if we check in System --> Status --> Program.

  • How to define new colors for the form?(Finish)

    Hello! Everyone!
    I want to define new colors for the new form.
    But I don't find where I can define it.
    How to define new color for the form?
    Thanks in advance!

    You have to set the Canvas color or as I said earlier you need to use one of the available color schemas on the OAS or Builder runtime.
    If you want to use user defined colors in the builder, then you need to create a new color palette and use it.
    I personally haven't tried it, but there is a section in the online help that describes how to do this.
    Tony

  • Defining server specific properties for EJB app

    I need to define some properties for my app which have different values depending on the server to which I deploy. Eg. the LDAP server name and port.
    When I deploy to my development server it should find the local values of the properties, when I deploy to the live server it needs a different set of values.
    What is the simplest way to do this? I obviously don't want the properties to be part of my deployment.
    Rob

    EJBs are not allowed to read or write files. But they are allowed to read from the JNDI context. The idea is to provide a symbolic name, ie <resource-env-ref>, which contains the value you need.
    The startup-classes which could set this value in the JNDI context are best documented in the OC4J User's Guide.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to save print setup for pdf file so that every user can open and print w/o manually performing?

    Can is there a way to configure the print settings (i.e. paper size, orientation, etc.) and save this setting as part of the pdf file? I would like the users of pdf files to be able to open the file and simply print, without having to manually configure the print settings.

    Not sure if this will help. I got this information from the built-in help under Acrobat 9.
    Advanced
    Lists PDF settings, print dialog presets, and reading options for the document.In the PDF settings for Acrobat, you can set a base Uniform Resource Locator (URL) for web links in the document. Specifying a base URL makes it easy for you to manage web links to other websites. If the URL to the other site changes, you can simply edit the base URL and not have to edit each individual web link that refers to that site. The base URL is not used if a link contains a complete URL address.
    You can also associate a catalog index file (PDX) with the PDF. When the PDF is searched with the Search PDF window, all of the PDFs that are indexed by the specified PDX file are also searched.
    You can include prepress information, such as trapping, for the document. You can define print presets for a document, which prepopulate the Print dialog box with document-specific values. You can also set reading options that determine how the PDF is read by a screen reader or other assistive device.
    Create print presets
    A PDF can contain a set of print presets, a group of document-specific values that is used to set basic print options. By creating a print preset for a document, you can avoid manually setting certain options in the Print dialog box each time you print the document. It’s best to define print settings for a PDF at the time that you create it, but print presets provide a means to add basic print settings to a PDF at any time.
    Choose File > Properties, and click the Advanced tab.
    In the Print Dialog Presets section, set options and click OK.
    The next time you open the Print dialog box, the values will be set to the print preset values. These settings are also used when you print individual documents in a PDF Portfolio.
    Note: To retain a print preset for a PDF, you must save the PDF after creating the print preset.
    Print Dialog Presets
    Page Scaling
    Prepopulates the Page Scaling option in the Print dialog box with the option you choose:
    Default
    Uses the application default setting, which is Shrink To Printable Area.
    None
    Prevents automatic scaling to fit the printable area. This setting is useful for preserving the scale of page content in engineering documents, or for ensuring that documents print at a particular point size to be legal.
    DuplexMode
    For best results, the selected printer should support duplex printing if you select a duplex option.
    Simplex
    Prints on one side of the paper.
    Duplex Flip Long Edge
    Prints on both sides of the paper; the paper flips along the long edge.
    Duplex Flip Short Edge
    Prints on both sides of the paper; the paper flips along the short edge.
    Paper Source By Page Size
    Selects the option by the same name in the Print dialog box. Uses the PDF page size to determine the output tray rather than the page setup option. This option is useful for printing PDFs that contain multiple page sizes on printers that have different-sized output trays.
    Print Page Range
    Prepopulates the Pages box in the Print Range section of the Print dialog box with the page ranges you enter here. This setting is useful in a workflow where documents include both instruction pages and legal pages. For example, if pages 1–2 represent instructions for filling out a form, and pages 3–5 represent the form, you can set up your print job to print multiple copies of only the form.
    Number Of Copies
    Prepopulates the Copies box in the Print dialog box. Choose a number from 2 to 5, or choose Default to use the application default, which is one copy. This limitation prevents multiple unwanted copies from being printed.
    Thanks.

  • How to know print program for SAP Script

    Hi friends,
    how to know print program for SAP Script form name ?

    Hi ,
      You can use the following code changes in the layout & see..
    You have to create a program Z_BC460_EX4_HF for that..
    /:PERFORM GET_NAME IN PROGRAM Z_BC460_EX4_HF
    /:  USING &CUST&
    /:  CHANGING &NAME&
    /:ENDPERFORM.
    Dear &NAME&
    The ABAP routine could be defined as follows:
    IMPORTANT: The structure itcsy must be used for the parameters.
    REPORT Z_HENRIKF_SCRIPT_FORM .
      tables scustom.
      form get_name tables in_tab structure itcsy
                           out_tab structure itcsy.
      read table in_tab index 1.
      select single * from scustom
        where id = in_tab-value.
      if sy-subrc = 0.
        read table out_tab index 1.
        move scustom-name to out_tab-value.
        modify out_tab index sy-tabix.
      else.
        read table out_tab index 1.
        move 'No name' to out_tab-value.
        modify out_tab index sy-tabix.
      endif.
    You could also fill the ouput parameter table this way
       READ TABLE out_par WITH KEY 'NAME1'.
       out_par-value = l_name1.
       MODIFY out_par INDEX sy-tabix.
    endform.

  • How do I change the default paper size in Firefox if Printer Properties does nothing?

    I print on different including a receipt printer with roll paper.
    I had to reset Firefox yesterday because of a bug, and then changed the Printer Properties to be able to print again in the right format on the receipt paper. But now everything I print from Firefox (even when I change the paper size to Letter on the Printer properties for the regular printer) is in the receipt paper format (long and narrow.) When I do Print Preview, I can see that the paper looks like the roll paper, even if I'm trying to print on letter size.
    I tried resetting both printers with about:config, I tried changing in the printer properties for both printers and nothing works.
    Is there a way to change the default paper size in Firefox?

    Hello,
    My understanding is that Firefox uses the global printer settings. I am not familiar with the Windows 8 interface, but can you change the printer settings in its Devices and Printers and see if it changes the default for Firefox as well?

  • How to attach PLD layout for my custom form.

    How to attach PLD layout for my custom form.
    Or
    How to enable print functinality for my custorm form - purchase indent etc
    Is the only option is Query print layout or any other option?

    Hi,
    Unfortunately, you cannot create your own PLD layouts for your addons. Instead, most developers opt for a third party report writer such as Crystal Reports or SQL Reporting Services to provide reports.
    If you search this forum you'll find a lot of useful information on how to integrate Crystal with your addon.
    Kind Regards,
    Owen

Maybe you are looking for

  • Can't delete a row with a long raw in it

    I have a table with a long raw column. I am using the following to try to delete the row from a copy of 8i Lite: stmt.executeUpdate("delete from blobs where blobid="+blobId); My application hangs at this point. Any theories? I am using this driver: o

  • Best practices to secure out of bound management access

    What are the best practices to secure Out Of Bound Management (OOBM) access? I planning to put in an DSL link for OOBM. I have a console switch which supports SSH and VPN based on IPSec with NAT traversal. My questions are - Is it secure enough? Do I

  • F90servlet - where?

    HI Everybody, I installed Oracle 9i Personal and Developer 9i. I migrated my 6i Forms to 9i, compilation was successful. When I try to test them, execution fails, because f90servlet is not to be found anywhere in the Oracle Homes. Could you tell me h

  • Does tweaking iPhoto prefs file produce higher quality?

    I'm about to order some books & calendars. In older versions of iPhoto there was a simple hack that was recommended to produce higher quality products. It involved editing the iPhoto prefs file and changing the dpi settings. Is this still recommended

  • HT1386 How do I sync my iPad?

    I have no problem syncing from iTunes to any other apple device but I can't sync my brand new iPad.  Can anyone tell me what I'm doing wrong? Thanks. Ian.