Printing 2 copies of a document where a floating field change

hi experts,
Context:
I have an interactive form compiled by a user.
when compiling is finished, I'd need to print 2 copies of that document; the 2 copies are exactly the same but a floating field that has to change, i.e. 'Copy for ME' and 'Copy for the CUSTOMER'.
Placing  2 print buttons it's not a problem, in the first button I set the Floating field to 'Copy for ME' and send a print command, in the second I do exactly the same with the 'Copy for the CUSTOMER'.
Which is the best strategy to print those 2 copies clicking the print button only once and showing the printing window only once with the whole printing spool (2 copies)?
Best regards,
Dariush.

Try this in a click event of a "Print Form" object:
form1.#subform[0].PrintButton1::click - (JavaScript, client)
// First copy (with printer dialog):
xfa.host.messageBox("Company copy (send this copy for blah blah blah)","Printer:");
TextField1.rawValue="COMPANY COPY";
xfa.event.re
xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
// Second copy (without printer dialog):
TextField1.rawValue="CUSTOMER COPY";
xfa.host.messageBox("Customer copy (save this copy for blah blah blah)","Pritner:");
xfa.host.print(0, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
The problem is messagebox. if second messagembox line is omited, no changes shown in texfield1 fields .
First messagebox can be ommited but second messagebox sentence is mandatory.
Other idea is using "post print" event for "reprint" entire form but untested for me.

Similar Messages

  • FBZ5 print form for payment document , where is configuration for form ?

    Hello everyone.
    in transaction code FBZ5 print form for payment document.
    which transaction code that used for configuration form for print in FBZ5.
    plese help.

    Hi,
    Forms developed by ABAPer, discuss with Technical people.
    as a functional we can use form for check printing based on our comp requirement.
    FBZP (Payment method per comp code) we are assign form, that same form we are using for FBZ5 also.
    Creation Form T.Code: SE71
    Regards
    Viswa

  • What am I doing wrong when trying to create a floating field?

    I am trying to create a floating field that is 'connected' to a global Text field. To my opinion I followed all instructions as in the help file, but it doesn't seem to work. Anyhow, the information I type in the text field does not pop-up in the text. I have setup the floating field as follows:
    Type = Text field
    Appearance = none (I do not want a box or something around the text)
    Field format = plain text
    Presence = hidden (excluded from layout)
    Value = calculated (read only); I have tried all other options too, but nothing seem to work
    Calculation script
    Binding = global (and name is the name as used for the text field)
    I have used another text field that is connected to the same text field as referred to above and that works just fine.
    What am I doing wrong?
    Can anyone help me out here?
    Thanks!

    If anyone is following this thread, I found the solution to my problem where the Floating Fields did not work.  BTW, I am using LiveCycle Designer ES 4.
    Under Form Properties/Defaults, you need to change "Choose Target Version" to "Adobe and Adobe Reader 9.1 or later".  Save the change, and floating fields should work now. 

  • Can I print a 2 page spread to .PDF from a CS 3 document where the rest of the pages are NOT spreads

    Since I do not know how to really describe this, please have a look and tell me how (if it's possible) if I can print (to PDF) this catalog where the pages (4) and (5) can remain as a spread and the rest of the document would print single pages.  I can print this as a booklet, but it's sideways online.  Our goal is to have our customers able to view the PDF online and get its full impact.  We really can't do that viewing it sideways OR by having the pages 4 and 5 split up like they are.
    http://provsnusa.com/pdf/Product%20Guide_GenRec_WEB_CURRENT_VERSION.pdf
    The problem we're having is we would like to NOT break-up pages 4 and 5.  We want this to look good for the users.
    Is it possible to have 1 spread only display all the way across - in other words, is there a way to NOT split up just pages 4 and 5 in this document?  The only way I know is to print ALL the spreads. 
    I tried: Creating the PDF with all the spreads, it does not look as good, but at least the 2 page spread is not broken up (4 and 5).
    But now if I go to print the PDF with ALL spreads, then it does not print properly on letter sized paper.  Are there settings I can embed where this will print properly where the end user does not have to make adjustments - i.e. We want the end user to be able to just hit "print" and it's done.
    I tried: I also created this InDesign CS3 document as a PDF booklet.  While this is OK, it appears sideways online to the viewer which is not desirable in this case.  Is there a way where the end user can view this correctly as a booklet online without printing?
    I guess as an alternative, I can upload the booklet for printing, and another version for viewing.
    Maybe there's a special web based PDF viewer out there or something - I'm very ignorant here.
    Any suggestions would be very helpful
    Sorry for the long wind - hope I've made sense.
    Dan

    Why not reconstruct the pages in InDesign they way you want the double pages to appear. There may even be an imposition script available that will do the trick. You could then output to pdf all the pages you want the full spread on. Leave the original to create the pages you wanted left as is.
    You can ask in the ID forum about an imposition script. I know there was one with CS4, there may have been one with CS3.

  • C309a print copies of 1 page documents

    I've been using Photosmart printers with duplexing for years. In the past, I've always left two-sided printing on "Automatically" as the default for general printing. If I had a one page document, and asked it to print, say, 3 copies of the document, I would get 3 pages with one side each.
    I just intalled a C309a on the same Vista system I've been using in the past. I've set my printer default to "automatically" for two-sided printing. Now if I want to print several copies of a one-page document, it prints both sides of the page. So a request for 3 copies of a one-page document results in two printed pages - one page has the document printed on each side, plus one page has it on only one side.
    The only way around this seems to be to alternate between printing shortcuts. If I have a one-page document, and I want several copies, I have to switch to the General setting with two-sided printing set to "off". If I want a multi-page document duplexed, I have to switch over to the Two-Sided printing setting. I'm disappointed because I didn't have to switch back and forth with any of my former Photosmart duplex printers.
    Is my new C309a really supposed to work this way? Or should I be able to get 3 single-sheet copies of a one page document, even with two-sided printing set to "Automatically", like all my previous printers allowed?
    Thank you!

    audpilot,
    same boat, same printer...
    this is not how the other printers worked.
    is there any workaround?

  • Adobe Acrobat Reader XI no longer copies the selection to where I want to insert it in an MSWord document, but only to the top of the page!  How fix this?

    I have Window 7 Professional SP1.

    fouada2 wrote:
    Adobe Acrobat Reader XI no longer copies the selection to where I want to insert it in an MSWord document, but only to the top of the page!
    I have no idea what this means; can you elaborate?

  • Again about t.code MN05: number of copies of MM documents printed

    Hi all,
    by t.code MN05 I can set the number of copies of the MM documents printed the FIRST TIME. I can do it for doc.type or vendor.
    In particular, setting for document type, it doesn't work for all range of vendors.
    Setting for document type, in the field "PartF" I've put in "OA". Could it depend on it?
    Thanks
    Gandalf

    Hi,
    Please select VN and check
    Select Key combination as document type and co code
    regards
    suresh

  • Printing multiple copies of a document on a remote network printer queue

    Hello,
    We have migrated our main production instance (ECC6) from HP-UX to AIX 6.1, went live on monday.
    Printers are defined like this:
    SAP prints to the local operating system (C)
    Local print queues are defined which point to remote printers still currently located on a HP UX server. Nothing was changed on this one.
    Now since the migration on AIX, the parameter for multiple copies of a document is ignored, if we select for example 4 copies on the SAP print screen, only 1 copy is printed. It worked perfectly fine when the instance was on HP UX.
    Seems that the lp command on AIX does not pass the optional parameters when printing on a remote printer (was acknowledged by AIX support), and if we issue manually on AIX a lp command with parameter -n2 for example, only one copy is indeed printed.
    I wonder if there is a simple workaround to this problem since it must be quite common? I didn't find anything here or in the Sap notes.
    Thanks.

    Thanks, but the idea is to get it to work without additional products since it worked fine under HP UX.
    Seems the AIX administrator has found a workaround with modifying the queue definitions in qconfig, to be BSD style... tests in progress

  • Can anybody explain how to print multiple copies of different documents at the same time as at the moment I have to open each individually and press print

    Can anybody explain how to print multiple copies of different documents at the same time as at the moment I have to open each individually and press print

    is this a windows in bootcamp question ?

  • How can I print a whole email document and not a "screen shot" like I get in the Print Preview option.

    How can I print a whole email document and not a "screen shot" like I get in the Print Preview option. I'd like to print from "file" and print" like I can on other browsers (IE, for example). When I try to print from Firefox it grabs all my info (file folders, etc.) from the left side of the page. I need just the email information, not the entire screen information. Thank you!
    -Bruce

    I agree; I should, but I can't :) I have an orange Firefox drop down that I go to to print, and it allows me to select "print", "print preview" and "print setup", where I can change the margins. It always defaults to a full screen shot (I use Yahoo) and does not show just the email. I don't need to print what is on the left side of the screen or anything other than the email (I can achieve these things by using file-print from IE, so I know it is doable, and I am still going into Yahoo and using their email when I do it).
    Hope this helps. I'm not a fan of IE, but I really don't like the print properties I'm getting here (I'm a long time Mozilla user, but I'm losing too much info with this option and can't afford that anymore).
    Thanks for the help!
    -Bruce

  • How can i to print more than one document from a form??

    Hi;
    i would like to print 3 document (PLD) from a order form , ie, i want to print one Order more two documents using Layout Design,
    How can i do it??
    thanks.

    This might be able to be done through PLD.
    1. Go to the Print Layout Designer.
    2. Choose document type relevant to the report that you are going to
    print.
    3. Save template with new name if you are using a system default.
    4. Open the template and go to Print Layout Designer > Display Document Properties > Paper Format tab.
    5. Set the 'Number of Copies'  to 3.
    6. Save the new template and set it as default.

  • Slow printing copies to HP Color Laserjet 400 series

    This issue first appeared on 10.8, and still there... Not sure if it is a feature or bug
    HP Color Laserjet M451 with ethernet connect and 386 MB ram. Mac 10.9.3 with latest print driver from HP.
    Let's say my document has 5 pages, text and graphics, it will print fine speed wise. Say it takes about 30 sec to spool, process and print the one page. THe rest of the document print at good speed.
    If I decided to print 8 copies of this document, and select 8 copies in the print setting, it will essentially submit the print job 8 times so after the first job is done, i will have to wiat for it to process the file and spool it to the printer, etc. it will take a long time. It does not matter it is Word, PDF (using Acrobat reader or Preview), or PowerPoint, same time of respond.
    Same printer, network and file print from Windows 7 will spool, process once, and then the printer will just fly thought the copies as if it is all one document, so i can get this done in say 1 min. The printer print fast after 1 page.
    So. Let's say I want to print 1 page of a document (it can be just text), and say i want 50 copies. then forget it. It will sit there and spool, process and etc each  page for 30 sec. And windows 7 (even xp) will treat it like it is printing one document of 50 pages.
    Any idea if this is a feature of Mac or HP? couldn't be HP if windows 7 print ok.

    This works for me, because I'm tired of waiting for Adobe to find solutions: open your pdf document with Preview and print from there. It will print cleaner and faster than any Adobe application.

  • Print of all the document no In MB90 by collective slip

    Hi All,
    we want to print of all the document no. we  put in MB90 from and to.
    collective slip already mark in MIGO output.please guide what has to be done in configuration.
    Or there is another Tcode where we solve this issue.
    Thanks in advance.
    Kunwar

    Hi Kunwar,
    first check, Have you created message for all the documents and what is the dispatch time in the message. You have to select option no. 3 ( send with application own transaction) for output type WE03.
    SPRO >> Materials Management >> Inventory Management & Physical Inventory >> Output Determination >> Maintain Output types >> Click on Output type go to default values and set the dispatch time as 3
    Hope this will help you.
    Regards,
    Manish Jain

  • Delayed in print out of Material Document

    Hi Everyone,
    Can you help me with my problem, what are the reasons why the print out of material document is delayed. Can you help me find the ways where can I check, why this is happening.
    hope you can help me with this.
    Ato Corpuz

    Hi
    1. You can print material document using transaction MB90.
    You have to create service PO for lab testing.
    2. You can print PO using transaction ME9F.
    regards
    Srinivas

  • Firefox is creating endless copies of C:\Documents and Settings\Catain Kirk\Local Settings\Application Data\Mozilla\Firefox\Profiles\afbrfhnj.default\Cache ... how do I stop it

    I just installed 9.0.1 and it continually creates copies of C:\Documents and Settings\Catain Kirk\Local Settings\Application Data\Mozilla\Firefox\Profiles\afbrfhnj.default\Cache ... how do I stop it !!!
    I'm running Windows XP Version 5.1 SP3.

    Hi,
    That is the disk cache of Firefox, where contents of loaded pages are kept for faster retrieval and it also helps to conserve bandwidth. To disable this: '''Tools''' ('''Alt''' + '''T''') > '''Options''' > '''Advanced''' > '''Network''', check (tick) '''Override automatic cache management ''' and put the value at zero.
    [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u#advanced_network Cache]
    Useful links:
    [https://support.mozilla.com/en-US/kb/Options%20window All about Tools > Options]
    [http://kb.mozillazine.org/About:config Going beyond Tools > Options - about:config]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]
    [https://support.mozilla.com/en-US/kb/Page%20Info%20window Page Info] Tools (Alt + T) > Page Info, Right-click > View Page Info
    [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts Keyboard Shortcuts]
    [https://support.mozilla.com/en-US/kb/Viewing%20video%20in%20Firefox%20without%20a%20plugin Viewing Video without Plugins]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]
    [https://developer.mozilla.org/en/Command_Line_Options#Browser Firefox Commands]
    [https://support.mozilla.com/en-US/kb/Basic%20Troubleshooting Basic Troubleshooting]
    [https://support.mozilla.com/en-US/kb/common-questions-after-upgrading-firefox-36 After Upgrading]
    [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins Troubleshooting Plugins]
    [http://kb.mozillazine.org/Testing_plugins Testing Plugins]

Maybe you are looking for