Twice as much Print 4 of 6 pages

Is it possible to print twice in 4 or 6 pages of my form and 2 other pages once, I have to do this from an external PDF?

It's actually much simpler as it sounds. You can use this script to print all pages in a form:

XFA. Host.Print (0, "0", (xfa.host.numPages - 1) m:System.NET.SocketAddress.ToString (), 0, 0, 0, 0, 0);

To print both times, simply insert the line twice, like this:

XFA. Host.Print (0, "0", (xfa.host.numPages - 1) m:System.NET.SocketAddress.ToString (), 0, 0, 0, 0, 0);

XFA. Host.Print (0, "0", (xfa.host.numPages - 1) m:System.NET.SocketAddress.ToString (), 0, 0, 0, 0, 0);

In order to print only the last 2 pages of a form of the 6 page, you must add this script:

XFA. Host.Print (0, "3", "5", 0, 0, 0, 0, 0);

Keep in mind that page values are zero based which is why you must use '3' to represent the 4 page and '5' to represent page 6. So, to print all the pages twice and the last two pages at once, your script whole impression would be:

XFA. Host.Print (0, "0", (xfa.host.numPages - 1) m:System.NET.SocketAddress.ToString (), 0, 0, 0, 0, 0);

XFA. Host.Print (0, "0", (xfa.host.numPages - 1) m:System.NET.SocketAddress.ToString (), 0, 0, 0, 0, 0);

XFA. Host.Print (0, "3", "5", 0, 0, 0, 0, 0);

You can find the print method, which sets all the values in the print script in the help section under script methods > print.

Hope this helps,

Dave

Tags: Adobe LiveCycle

Similar Questions

  • twice as much print

    I have a printer HP Photosmart b109n-z intermittently prints two copies, even if the printer icon said 1.

    Hi DrJohn1066,

    Thank you for your answer! I would try the following:

    Hope this helps you and have a great day!

  • 6500 not print, ejecting just blank pages

    The 6500 it's print-no errors, but only blank pages come out.  Watch print preview also just a blank page.  All inks are full, then, really, don't think it's printer since preview before print empty watch.  Any ideas?

    Experimentation-changed (grey print) black to print all colors and pages came out with just the part of printed color, so obviously the question is the black ink cartridge, but preview how print also shows it blank if only the black ink used?  I tried 3 different applications.

    The 6500 is not printing in black ink and it has no alignment of the printhead several times.  There are no errors.  I watched a lot of suggestions on different forums and none seemed to work for everyone.

    After much experimenting, I'm not sure of what went around, or if it is a combo of what I tried, but it finally works.

    Here's what I did:

    -wind cleaned on black ink cartridge.  The State of the computer ink isn't the real situation; need to go to the printer printer status report, and mine showed the black cartridge empty, even if it was new and full.  I guess this caused ink status report print preview to display a blank page to print.

    -removed all cartridges and then went out the door-cartridge (right lever) and cleaned all the goop and ink variances using water and a soft cloth

    -clean all the points of connection to the black ink cartridge

    -still didn't work so partial reset (shot taken and shut off the power and then after 20 seconds, holding the key # and 3 keys on the printer and no power to the top.)  Still no go; always attack has no alignment; test pages would print color only

    d ' ran computer print head clean utility and after that, chose the command 'second clean print head ".

    - AND IT WORKED. !!!

    I used about a quarter of the ink in the cartridges of color do all the tests, etc.

    Good luck to all.

  • Printer HP Laserjet Pro M201dw: Drop-outs of HP M201dw print after the 1st page of the multiple-pg docs

    Installed M201dw HP laserjet on home network: router Asus Dark Knight (RT-N66U).  All PC running IE 11, Win 7/64 Prof.  Config page shows no IP addr for printer.

    Printer does not print more than 1 page of multi-page documents.  PCL XL Error message print at the top of page 2 and printer abandoned the remaining pages in the print job.  Printer display reads "Ready"; serial printer ' wireless on.»  No error message on PC.   No special printing parameters for employment; sided printing.

    Latest printer driver downloaded from HP; printer "USB001 Virtual printer for USB Port."

    Note: Took 3 hours to install this printer 'plug and play '.  Installation kept failing.  And, earlier this evening, when the printer was falling asleep, all computers thrown off network... None of this was happening until we added the printer to the network.

    Can anyone help with our printing problem?   If not, it goes back to the store before April 30 and I'm going to buy a used HP 1200.  (Thank you, in advance, for any help you provide.)

    All your suggestions had already been verified or updated before posting, but kept for lack of print documents from PC Word.  Called HP technical support never coming back as they promised, so I was wondering what was different between implemented for HP M201dw and previous HP printer laserjet that printed very well... and it was the printer port.

    Automatic installation, put in place a port USB001 wireless printer... the port should be Port TCP/IP Standard.  Once the port has been changed, all printed documents without fail.  (This will, we hope, also fix PCs disconnection from the WIFI when the printer goes to sleep). Printer port has been at the origin of the recent problems of printing with printer upgrades or changes to router and I should have changed it first, but I assumed that the Technical Support representatives two HP I knew on the phone knew better.

    Thanks for all your suggestions.  I appreciate the time you took to provide as much detail.  You can now add "try changing the printer port" to your suggestions!

  • Photosmart c309a will not print documents or test pages

    I have uninstall and reinstall Full Version software, twice and I still can not print documents or test pages. I use the Photosmart C309a. Can you help me

    Georgebob

    Last updated, at 01:10, estimated the printer works now. I installed the new print head, and as a first step, I have no positive results. Then I tried the printer alignment... that did the trick. The printer works now.

    Now, I wonder if it was the culprit with the old print head (alignment) maybe it's always good. I'll hold on, events, if necessary. Thanks for your help and mucho laurels.

    Georgebob

  • You can print several slides per page (instead of 1 slide / pg) with eprint?

    I have a HP Deskjet 3070 with technology eprinting and my computer is running Microsoft Powerpoint 2010.

    I would like to customize the way my powerpoint slides are printed when I send it to my address of email eprint as an attachment. In particular, I would like to print several slides per page for the purpose of taking notes. Is it possible for me to do this? Thank you very much.

    Hi yeeyucai, it is not possible to control print settings outside the color/shades of gray and paper size, when you use ePrint by sending your file as an attachment to an email. I don't know if your computer is a laptop and if there are times when you need to print your Deskjet 3070 remotely, but if so, then you can do this by installing the driver Mobile HP ePrint. Once installed when you try and print from Powerpoint you will see HP ePrint listed as another available printer and when you choose this option, you can search your Deskjet 3070 by email address and set the number of pages per sheet for whatever the desired number. Obviously if your computer is a desktop, there is little value in installing the driver, unless there are other active ePrint printers you sometimes send content to.

    Let me know if this makes sense or you need help with the Setup program.

  • How to set printing preferences? all my pages are printed in miniature when I use Firefox, and try to print from a Web page.

    I can't print from any Web page, including my hotmail account, without printing the page to about 20% of the normal size. If I use Explorer, I have no problem with printing.

    {Ctrl + P} in Firefox and open the properties of this printer - check the paper size setting.

    See this:

    http://KB.mozillazine.org/Problems_printing_web_pages

    If the paper size is correct, do the Reset described in this support article.

  • Firefox does not print in complete web pages. It prints at best half left of the page. This has happened only recently. It is not my printer I get full page, printing from Internet explore and other applications. Help!

    Firefox has started printibg only the left side of a web page. I've tried the settings without success, in fact he did even smaller print area. I have set all parameters in the print menu, but can not solve this problem. How can I return to printing of entire web pages?

    Try of the reset described here:

    http://KB.mozillazine.org/Problems_printing_web_pages#Reset_printer

  • HP Photosmart C4680: my Photosmart C4680 is printing only the white pages

    Hello

    Whenever I try to print something it prints just a blank page.

    The paper through the flow and I heard sounds of printing.

    I tried to clean the ink cartridges, it did not help.

    Please can someone help me with this.

    Thank you in advance,

    Jamie

    I hope that you are well @jamiebally, welcome to the community of HP

    I noticed your post on your Photosmart C4680 print white pages and I wanted to stop to share my suggestions to help out you.

    Check out this link to fix the problem. If the problem persists, contact HP to see on your replacement options.

    The problems of quality of printing to the HP Photosmart C4600-C4700 all-in-one printer series

    Click on the thumb to below testify my help!
    Click on the "accept as Solution" if I'm you guide to a solution!


    Have a wonderful day!

    Contact HP:

    Step 1. Open the link: www.hp.com/contacthp/
    Step 2. Enter the product number or select Auto detection
    Step 3. Scroll up to "still need help? Fill out the form to select your contact options.
    Step 4. Scroll down and click on: contact HP options - click Get phone number
    File number and phone number appear

  • F4280 in cannot print a "self-test" page

    My HP Deskjet F4280 refuses to print anything. My computer is a HP G60 64 bit laptop. I can cue printing projects and what a transformation the printer starts flashing the led "CV". I went through each technique of "Troubleshooting" offered by HP, nothing helps. My F4280 don't even print a "Self-test" page in now the power button / stop and 'X' button simultaneously. It's a... mechanical software, or a combination. I'm PUZZLED !

    Hey GinaKay,

    Glad to hear this tip worked for you!  Main thing you have to watch is the bag leaking, but it looks like you had a lot of success.

    I'll keep this one in mind for the future.

  • F4200 HP printer prints only 1 color page correctly

    You have a strange problem with my all in one printer F4200.

    Bought a new (good ink HP) ink cartridge

    Since then, whenever I try to print more than 1 page colors after the 1st page crazy sometimes printing red sometimes yellow etc. ' (1st page colors are fine).

    cleaning of the cartridge did not help

    any solution before I go and buy a new cartridge?

    There may be a problem with the cartridge, or you may be able to clear up the problem with a bit of troubleshooting.  Follow the steps outlined in the document below to try to resolve the problem.  If this does not work, replace the problem.

    Colors from bleeding into the other

  • Cannot print more than two pages

    Hello here

    I have a rather strange problem today: one of my users cannot print more than two pages...

    Regardless of the printer, the application or document, this specific user will receive the first two pages printed on the right, then a windows error (cannot print, the likely reason is a failure of the network, not enough memory, etc.)

    Current config is

    -User logged on the Witch of Windows 2008R2 Server Citrix XenApp 6.5 (published desktop).

    -Print server Windows 2008R2 with something like 150 shared printers

    I tried with other printers and file formats, on separate servers, it's always the same.

    Of course, everything works perfectly fine for other users...

    I'm not sure if any parameter can block printing up to two pages only, or anything else. Before you delete and recreate the user profile, as everyone has an idea?

    Grey'

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • HP photosmart 6510: my bodyguard printer print Microsoft Windows support page and nobody asked him

    My bodyguard printer print Microsoft Windows support page and nobody asked him. Help!

    Hi twinec,

    Thank you for your answer!

    Please try our HP print and Scan Doctorand let me know what happens!

    If it helps, please consider clicking on "accept as a solution." And, please click the thumbs up icon. The two icons are below this post.

    I hope this helps!

  • HP Envy 5540: Printer Hp Envy 5540 randomly printed the Network Configuration Page

    Hello!

    I bought this printer about a month ago. Set up the connection to the printer wireless with my wifi, and my understanding is that the printer is protected like my wifi and use the same password in order to print something. I kept my printer connected and 'standby mode' since I put in place. The night last at about 23:00 when I was in bed, the printer turned on randomly and printed a "wireless network configuration page" that has had a lot of information, including the IP address and listing my name wifi as well as the names of my neighbors wifi in the surrounding apartments.

    I'm trying to understand why this printed, because I certainly did not do. Anyone have access to my wifi, or has someone may simply try to print something and selected my printer as it should appear on the "list available connections on the computer of anyone, given that the printer is turned on? How could they print this sheet of network configuration if my printer is password protected?

    I'm mostly concerned about someone who has access to my internet if they could print this page somehow, but maybe it happened just when they tried to connect to it, and it did not work while trying to fix MY printer?

    I would appreciate any idea on the issue.

    Thank you!

    Hi @printerprob5540,

    Welcome to the HP Forums!

    I saw your post on how your HP Envy 5540 randomly print a Network Configuration Page. I'm happy to help with this problem!

    I find it very strange considering the only way to print the Network Configuration Page, AFAIK, is with the following steps:

    • Make sure that there are size A4 or US Letter, unused, plain paper in the feeder.
    • On the printer Panel, drag the screen to the left and then press Setup.
    • Touch tools.
    • Drag upward on the screen and then tap Network Configuration report.
    • A Network Configuration Page prints up to three pages of information.
    Figure: Example of a Network Configuration Page
  • How to print emails and Web pages only in black? I don't want to print in color.

    HP Officejet 8500 has more, Windows 7 64 bit.

    How to STOP the all-in-one color printing when printing emails or web pages?

    Chromdom

    Thank you.  Now I can put my color cartridges.

    Chromdom

Maybe you are looking for

  • iPod hifi

    I would like to connect my iPhone 6 s to my old iPod Hifi, would it work if I use the Airport express base station? How and what else would I need?

  • How to connect Agilent 8163 b via the serial port

    I have a problem connecting to the serial port with Agilent 8163 b. The driver that I use is driver_vxipnp_816x_4_1_4.exe. The problem always message display "Visa resource not found. Check the HPIB-Bus address"when I use the components inside the"hp

  • UltraNav issue with scrolling

    I recently bought a SL410 and am running Windows 7 Pro 32-Bit. I have a problem with a finger and two fingers for scrolling. I've updated the drivers for the Touchpad. But the scrolling works sometimes then sometimes it works and then stops working d

  • Documents of Vista to Windows 7

    I have the documents saved with my old computer Windows Vista on an external hard drive. I am now addicted to the external hard drive on my new Windows 7 computer. How can I see the files on my Windows 7 computer? When I open a document, it is as if

  • My Vista computer connect wireless, but it remains on local only when I connect via Ethernet his local and Internet

    I tried everything in the other blogs. I disable the and uninstalled the wireless card and disabled buttons 6 and 4. I also manually put the address ip and nothing.