Shade background before printing a form

Hi,
I have a single page form which need to be printed twice, the first copy with a white background ( standard ) the second copy needs to have the page shaded with a yellow Background.
Reason to save having to put a white paper and yellow paper into printer. Will then only need two sheets of white paper.
I know the printing javascript just need the code for shading the background before printing.
Thanks
panos

Don't forget that a bit of yellow paper is probably a lot cheaper than the ink. Don't know if the cost or the conveninece was your goal.

Similar Messages

  • Error message appears before printing fillable forms.

    Why am I getting this message when I want to print fillable tax forms.
    "Before viewing PDF documents in this browser you must launch Adobe Reader
    and accept the End User Agreement, then Quit and relaunch the browser."
    When I downloaded the latest Adobe Reader, my computer tells me it is already in your system,
    but I cannot get to the End User Agreement to accept.
    Can someone walk me through?
    Thanks.

    Inserting an image to check that there isn't another forum malfunction:
    Works for me...
    What image type are you trying to insert?  I know that GIF, JPG, PNG images are allowed; there may be others as well (max 8 MB).
    Paulette Torres wrote:
    At this point, I wouldn't mind to allow you to remotely navigate my computer so that we both don't have to waste time each other's time and get it done right once and for all.
    Sorry, most of us are just other users, so we can't do that.

  • Get number of pages of adobe form before printing

    Dear Experts,
    I want to get number of pages adobe form will print before printing the form.
    Please suggest.

    Hello Sagar,
         Without executing the generated Function Module, it is not possible to get the page count of a form in driver program because the generated FM itself is responsible to execute the whole layout and determine the number of pages in the PDF output. The below screenshot shows the number of pages in the structure /1BCDWB/FORMOUTPUT of generated FM after the generated FM is executed successfully.
    I really don't know why you need the number of pages before calling the generated FM. But if you still need it, then you might need to call the whole FM cycle twice( FP_JOB_OPEN , Generated FM, and FP_JOB_CLOSE ).
    1) First time while calling the FM FP_JOB_OPEN, you need to modify the contents of SFPOUTPUTPARAMS structure. Send the blank values in fields GETPDF, REQNEW and REQIMM, and send the "X" in fields NOPREVIEW, NOPRINT and NOARCHIVE and 000 in field COPIES.
    The reason for doing this is, we do not want actual PDF output. We only want to determine the number of pages.
    2) Now execute the generated FM . You will get the number of pages in the structure /1BCDWB/FORMOUTPUT-PAGES as shown in screenshot above.
    3) Now call the FM FP_JOB_CLOSE as usual.
    4) Again call the FM FP_JOB_OPEN. This time you again need to modify the contents of SFPOUTPUTPARAMS structure reversely. Send the "X" in fields GETPDF, REQNEW and REQIMM, and send the blank values in fields NOPREVIEW, NOPRINT and NOARCHIVE and 001 in field COPIES.
    This time we need the actual PDF output.
    5) Now do the required processing with previously fetched number of pages before calling the generated FM.
    6) Now call the FM FP_JOB_CLOSE as usual.

  • How to make a field required before printing?

    I need to create PDF forms that include numerous required fields. These forms are Word (2013) documents that are converted to PDF. The problem I'm trying to figure out is it sounds like the "required" field option is only enforced when the form is submitted through a web browser. Is there a way to force the user to complete the required fields before printing the form? If it's not possible through Acrobat XI, any suggestions on easiest way or software needed to accomplish this goal?
    I will be using Acrobat XI Pro, but the users will mostly have Adobe Acrobat Reader.

    For that you need to write custom JavaScript to read the fields, and test the required fields to see if they have been completed or not. For many fields one can compare the value to the defaultValue and others may need some special coding for the specific field.
    It is not possible with JavaScript to prevent printing but one can hide or show fields or modify field properties before the PDF is printed.

  • How to print Adobe Forms without the black/gray backgrounds in the side columns

    How can we print Adobe Forms without the black/gray backgrounds in the side columns? We are wasting a lot of ink printing out these forms and would like to have simply black ilnes to distinguish columns and black lettering, but no background colors.  Any help would be appreciated. Thanks.

    I am not positive what you are printing from but I am thinking it is from the View Responses tab with a response row selected and then shown in "Detail View" and that the column of field names has a dark grey background...
    To change the color of the column headers select the row of headers (do this by clicking on the first dark grey header field and then scroll to the last one and shift+click on the last one), then in the "Text" tools change the text color to Black and the Fill color to white:
    (Selected the header cells)
    Changed the text/font color to black and the fill color to white
    Now you can see the detail view does not have the dark grey.
    Thanks,
    Josh

  • Print PO Form before Release PO

    Hi Expert,
    I have some problem Print PO Form.
    PO cannot print automatically before release PO. (Not release yet)
    How can I do ?
    Thanks,

    Hi,
    Yes you can print the PO before release . For that in release strategy against the "Release Indicator" tab see the check box against the colomn"Released". If the box is checked against the final release indicator ,than uncheck it and check the same against the first Release indicator (Blocked). This will allow yoy to print out the PO in blocked state also. But as per standard we do not follow this practice.
    Regards ,
    Rahul.

  • Require name and date before printing form

    I have a 13 page PDF that a customer or our staff prints from our website. Often the customer or staff does not name and date each page of the form. Not having a name and date on each page of the form causes problems when they customer returns the form to the office, and the form pack gets divided for scanning into different areas of the customer file. 1) Is there an Adobe product that changes a PDF to require the downloader of the form to place a first and last name in the name field before printing. 2) Also, I would need a date stamp placed on the form when it prints. Is there I product that could help me program this PDF to do these 2 things?  This post is the first time I can recall posting in this community. Any other suggestions are welcome. Thank you.

    >> 1) Is there an Adobe product that changes a PDF to require the downloader of the form to place a first and last name in the name field before printing.
    Many fields have a "Required" property. This is used when a form is submitted to a scripted web page for processing to throw an error message if any required fields are not completed.
    One can use this property within a an action for a form to check if required fields are competed.
    >> 2) Also, I would need a date stamp placed on the form when it prints.
    I would add a form field that is filled in with the print date and time by some JavaScript in the Will Print action.

  • Is it possible for a user to edit the output of a form before printing?

    This might sound odd but the business have requested the ability to edit the text of a Smartform before printing. i.e. a standard form can be printed 'as is' for most employees but certain exceptions may require the wording to be slightly amended.
    I don't think this is possible but I want to know for sure.
    Any advice is much appreciated.
    Many thanks
    Matt

    Hi Matt,
       Sanjay was right.
    That is the best you can do as of now.
    Have a screen when the user has a chance of modifying the texts that are currently being displayed on the print. Let him save the texts and then trigger the smrtform, which would pick the updated texts instead of the old ones.
    the function modules READ_TEXT, SAVE_TEXT may come in handy here.
    regards,
    Ravi

  • LiveCycle Newbie: Validate Before Printing Form

    I have a form created in Adobe Acrobat Pro that I have brought into LiveCycle to add print and emails buttons to. However, I need a specific functionality added to the standard "Print" button. It is a legal form that has required fields and the client needs to fill in all the required fields on the form BEFORE printing and signing it. We have had problems in the past with clients not filling in all the required fields before sending it back to them. So, I need to somehow make the print button check to make sure all the required fields are filled in and send a warning message and/or prevent printing if all the required fields are not filled in. Is there a way to do this?
    I am using LiveCycle Designer ES 8.2 and I am VERY new to this program so the simpler the solution the better.
    Thanks in advance for the help!

    Hi
    I would add another fake print button over the top of the existing one but just add a standard button not a print button.
    then to the click scripting event in the script editor add something like the below
    if ((TextField1.rawValue == null) or (TextField2.rawValue == null) & (CheckBox1.rawValue == "1")) then
    xfa.host.messageBox("You must enter the required data to be able to print this form")
    else
    PrintButton1.execEvent("click")
    endif
    as you are relatively new to this. Incase the above it giberish to you I will try to explain what the above is doing.
    the above is an if statement using formcalc (which is the default on button objects)
    as this code is inserted in to the click event  (you can see what event you are looking from the dropdown at the top left of the script editor window.... make sure click is selected, and formcalc is set in the drop down to the right of the script editor window.
    each bracketed command e.g. (TextField1.rawValue == null) is address a single field in your form. You will need to make sure you adjust these names and the path to these names so it may end up looking like (Form1.subform.TextField1.rawValue == null).
    A quick tip to ensure you have the right path is with the cursor in the script window move your mouse over the field you wish to address, hold Ctrl button and click the field. This will load the field path in to the script editor and all you have to add is the .rawValue portion of the command.
    You require '==' because means 'is equals to' in formcalc
    the null term means 'if the field is empty'
    if you have checkboxes that require to be ticked you must address them and look for a value of 1 (as in the example) as as default when a checkbox is selected it has a value of 1.
    you can use or commands or & commands between expressions.
    please note all the comments together require brackets round them hence the double brackets at the start and end of the expression.
    once you have added all the required expressions to the top line
    the second line is saying if the statement returns a true value  e.g. in our example a true value would be returned if TextField1 or TextField2 empty AND the checkBox1 is not ticked
    then this will pop up a message box saying you have not entered the required fields to print this form
    then the else statement says to click the print button for the user.... which will print the form as the print button does now.
    I know it may seem complicated but it honestly is not that difficult.
    Feel free to come back to me if you need any further help.
    Regards
    Graham

  • Print multiple forms between FP_JOB_OPEN and FP_JOB_CLOSE

    I am aware, that there are questions regarding "Printing Multiple forms", but I didn't find answers there.
    Still my system is not working as expected:
    1.  FP_JOB_OPEN is called
    2. the generated Adobe Forms function is called multiple times
    3.  FP_JOB_CLOSE is called
    This program doesn't deliver all the pages, but just the first call. How shall I solve this problem?
    (Coding should work anywhere with copy-pase.)
    data: fm_name           type rs38l_fnam,
          fp_docparams      type sfpdocparams,
          fp_outputparams   type sfpoutputparams.
    parameters: p_fpname type fpname default 'FP_TEST_02'.
    * Get the name of the generated function module
    call function 'FP_FUNCTION_MODULE_NAME'
      exporting
        i_name     = p_fpname
      importing
        e_funcname = fm_name.
    * Sets the output parameters and opens the spool job
    call function 'FP_JOB_OPEN'
      changing
        ie_outputparams = fp_outputparams
      exceptions
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        others          = 5.
    * Call the generated function module
    call function fm_name.
    * SECOND CALL ****************************
    call function fm_name.
    * Close the spool job
    call function 'FP_JOB_CLOSE'
    *    IMPORTING
    *     E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.

    Hi ZSOLT,
    In order to call the form multiple times please do the following,
    1) Just before your FP_JOB_OPEN you need to pass the output parameters (good practice). You can also set other parameters as well (for example nodialog, preview, copies., etc)
      CLEAR  fp_outputparams.
      fp_outputparams-dest = 'PDF1'.      "Default pdf printer
      fp_outputparams-reqnew = 'X'.       "New spool request
    Now call your FM FP_JOB_OPEN with the above output parameters.
    2) Usually this step is processed in a loop. (getting your interface data into a internal table and then looping at it)
    But here I am enhancing your example code.
    In order to trigger the form multiple times you need to change some input data to the form (for example I have changed date and time below in the prepare test data sections) so that the call function fm_name gets regenerated every time there is new data
    data  l_datatypes       type sfpdatatypes.
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20040613'.      
      l_datatypes-time = '100600'.         
      l_datatypes-lang = sy-langu.
    FIRST CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.       
      fp_docparams-country = 'US'.  
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    prepare test data
      l_datatypes-char = '#'.
      l_datatypes-string = 'Auf geht''s! '.    "#EC NOTEXT
      l_datatypes-numc = '42'.
      l_datatypes-dec = 0 - ( 12345 / 7 ).
      l_datatypes-fltp = 0 - ( 12345 / 7 ).
      l_datatypes-int = 4711.
      l_datatypes-curr = 0 - ( 12345 / 7 ).
      l_datatypes-cuky = 'JPY'.       " no decimals
      l_datatypes-quan = 12345 / 7.
      l_datatypes-unit = 'DEG'.       " 1 decimal
      l_datatypes-date = '20100913'.                 "You need to change your data in order it to trigger a new form with the new data.
      l_datatypes-time = '10700'.                        "You need to change your data in order it to trigger a new form with the new data.       
      l_datatypes-lang = sy-langu.
    SECOND CALL ****************************
    Call the generated function module
      CLEAR fp_docparams.
      fp_docparams-langu = 'EN'.
      fp_docparams-country = 'US'.
      call function fm_name
        exporting
          /1bcdwb/docparams        = fp_docparams
          datatypes                = l_datatypes
          mychar                   = l_datatypes-char
         mybyte                   =
          mystring                 = l_datatypes-string
         myxstring                =
          mydate                   = l_datatypes-date
          mytime                   = l_datatypes-time
          mynum                    = l_datatypes-numc
          myint                    = l_datatypes-int
          myfloat                  = l_datatypes-fltp
          mypacked                 = l_datatypes-dec
      IMPORTING
        /1BCDWB/FORMOUTPUT       =
    Close the spool job
    call function 'FP_JOB_CLOSE'
       IMPORTING
        E_RESULT             =
      exceptions
        usage_error           = 1
        system_error          = 2
        internal_error        = 3
        others               = 4.
    I have tested the above code and I am getting multiple forms.
    Please try on your end and let me know if it works.
    Thanks
    Raj

  • How to tag a Print PDF form ?

    Hi,
    I need some pointers on how to tag a print PDF form. For one of the requirements, we developed a Print PDF form. The form contains Sub-forms which are made to look like a table. The relevant parameter(i.e., pdf_tagged ) is already set before starting the Job. The special case here is that the table gets the text for the header from the application data and shrinks or grows(upto a max supported column count) according to application data. For the same reason we cannot have a table, header row and body row marked in the accessibility tab in the form development transaction. Also, it is required that a header has to be visible.
    So currently in the form :
    1)We have just a set of sub-forms made to look like a table.
    2)We do not have any table,header or body row identified in the accesibility tab.
    3)Table also grows and shrinks horizontally.
    4)First row of the table is made to look like a Header row(bold text) and gets the data from the application data.
    5)This PDF is then displayed in a popup.
    6)The PDF form is currently not tagged (not accessible).
    Any pointers on how to resolve the issue would be highly appreciated.
    Best regards,
    Abhay

    Look in the Help section under Forms.

  • Get value before print anything

    Hello guys,
    I would like to know, how to get a value from database BEFORE the form starts any printing. I mean, where do I have to put my code?
    Or what part of a form, is executed first (before printing) so I can put my code right there,
    Thanks,

    you need write print program,you get the data from tables to internal tables.
    then you pass internal table data to Smartform FM.
    Use Example code :
    Program :   SF_EXAMPLE_01
    Smartform :   SF_EXAMPLE_01
    Reward Points if it is useful
    Thanks
    Seshu

  • I want to make sure a check box is selected before allowing a form to be closed.

    I want to make sure that a check box is selected before allowing the form to be closed in X Std.  I have set the field as a required field but want to make sure that whoever fills in the form cannot exit, print or save without first ticking the box.  How do I do this?

    There is no way to prevent those actions. The best you can do is alert the user just before any of those things happen.

  • Print a form's content that is designed by swings component?

    ive 2 questions to ask which ive asked one of them tow days before but i havent got a usefull solution for it!!!
    1)
    im trying to print a simple document by these codes:
        try
                FileInputStream textStream;
                textStream = new FileInputStream(
                        System.getProperty("user.home")+"/Desktop/errors.txt");
                if (textStream == null)
                        System.exit(0);
                DocFlavor flavor = DocFlavor.INPUT_STREAM.TEXT_HTML_US_ASCII;
                Doc mydoc = new SimpleDoc(textStream, flavor,null);
                PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
                aset.add(new Copies(2));
                PrintService[] services = PrintServiceLookup.lookupPrintServices(
                                flavor, aset);
                System.out.println(services.length);
                if (services.length > 0)
                        DocPrintJob job = services[0].createPrintJob();
                        job.print(mydoc, aset);
        } catch (Exception ee)
                System.err.println(ee.getMessage());
        }but it doesnt work at all !!!the line that has been bolded return 0 that it means it couldnt find ma printer???my printer is HP 1320 that is connected to ma computer by USB port?
    2)
    my goal after above problem is:i have a swing form that has some information from a user that is loaded from DB...
    how can i print this form by its components and information on the paper?
    thanks a lot MR/MRS ................
    zokho;)

    Why don't you use JDK 6's capability to print directly. Please refer to this link.
    http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/desktop_api/
    Shouldn't
    System.getProperty("user.home")+"/Desktop/errors.txt")
    actually be
    System.getProperty("user.home")+"\\Desktop\\errors.txt")

  • Printing the form

    I would like to be able to print the form before I get all the responses.  Is there a way to print the form?  I tried but it is too big for the page.  I changed the font size but still can't get it to print.
    Thanks.

    With a paid account you can save to PDF and print the PDF file.
    Randy

Maybe you are looking for

  • 401 - unauthorized error while connecting to web service -Sharepoint 2010

    hi, i am calling webservice which is installed in sharepoint from custom pages. my server is not load balanced but i got error like 401 unauthourized. I set dword value to 1 for loopback issue still i got the same error i also used default credential

  • File Sharing Password problem

    Hi: In Storage and Sharing I have File Sharing  and Wi-Wi Sharing turned on. I never noticed that the Password Protect was turned on. I never set a password but now that I want to use it the PB is demanding a password - which I have not got. Is there

  • Disk Utility says I have a corrupt hard drive...

    Had a problem with an application and was advised to run Repair Permissions in Disk Utility (it was fixed when I did that). Out of curiosty I ran Verify Disc on my hard drive and was shocked to find the following message: ...In valid directory count

  • File read incrrectly once

    I'm having a strange problem with my SAX parser reading in the correct value for 26 occurences of something with the characters method then one time missing the last letter off it. The xml record looks the same in each of the 27 cases with the same t

  • Will my WPC11 v2.5 pick up the signal from my new WRT160N router?

    I have my new router working but my laptop does not see the wireless network. Will my old card work with this new router, and if so do I have to do something special to make work?