BUTTON FOR PRINTING A RANGE OF PAGES

I need to create a button that prints only a specific range of pages. So far I´ve been using this script:
>this.print (false, this.pageNum, this.pageNum);
>// print a file silently
>this.print({bUI:false,bSilent:true,bShrinkToFit:true});
But the button is doing nothing. Any help welcome.
Thanks
Jav

First you should look at the click event of the print button for the xfa.host method for printing.
Also you must know, that "this" doesn't give you the Doc object. In Designer 7 you must use "event.target" to get it. As I think
event.target.print...
should run.

Similar Messages

  • Hide button for print

    Hi All.
    In my form I have a button and I would like to hide it when I print the form. I select the button and go to the Object > Field tab. Then in a presence dropdown select 'Visible (screen only)'. But when I print the form the the button was printed. How to hide the button for print and show for screen?
    Thanks.

    The option you set in the properties should work as expected. Not sure why the button is getting printed.
    Try placing the below code in the prePrint event of the button you want to hide in printing.
         this.relevant = "-print";
    Thanks
    Srini

  • Reader - Printing a Range of Pages to a New Adobe Document

    I frequently receive multi page documents where I want to forward only a few pages of said document to an email contact. Is it possible to print a range of pages from an existing Adobe document to a new Adobe document using the free reader? I am on a PC with Adobe 8.1.2. OS is Windows Home edition XP SP2.
    Is this feature available as an add on ?
    Thanks in advance,
    Mike

    With Adobe Acrobat it is possible to extract pages.

  • InDesign CS5 or 5.5 interactive pdfs  - can I create a button for printing?

    Hello lovely InDesign experts.
    I am creating an interactive pdf using CS 5.5 and would like to have a button on each page that, when pushed, opens a print window (so the user can print the page, or range of pages, if they want). I know you can do this to the finished pdf in Acrobat but would prefer to keep everything in InDesign if possible.
    Thanking you very much in advance,
    Lisa

    And if you're getting into doing stuff in Acrobat these two links are worth reading, the first here written by Bob himself, the second here a cool new way that has been developed, if you requested they add a print button to the list of what you can do and it's possible they probebly would.

  • Using a button for my link on a page

    Hello.
    I am probably asking a very simple question, but I can't figure it out.
    I have a simple link on my page in the form of:
    click here
    When the page displays, the "click here" text shows as underlined hyperlink that a user can click on and go to another page.
    The problem is that most of my ApEx generated pages have template buttons for navigation between pages and I would like to stay consistent when I create links within my html text and use buttons too, not underlined hypertext.
    Is there a way to display a button that says "click here" instead of a hyperlink text that says the same?
    I am tricking it by creating an image of a button and embedding the image with the <img> tag in between my <a></a> tags. But that's ugly because it's not a real button that changes its text color when you hover the mouse over it and gets sunk in when you press on it giving it that real look and feel, but just an image of it.
    Thank You
    Boris

    Great. This is really helpful. I am one step ahead now.
    I set up a button in my link as follows:
    <input type="button" name="Claim Sample" value="Claim Sample" style="background-color: green; color: #ffffff; font-weight: bold; font-size: 120%; font-family: verdana;">
    The only thing is that if I were to try to make my button consistent with the template based buttons I use throughout the app, and if I know my template is:
    template:117972528606699234
    isn't there a way to do something like this for my button to pick up the template format?
    Hypothetical code:
    <input type="button" name="Claim Sample" value="Claim Sample" style="template:117972528606699234;">
    Thank You
    Boris

  • BUTTON FOR PRINT A REPORT

    Hi Guys!!
    Hey, I need to print "directly" in the local printer or in the default windows printer, a report without download it to excell or PFD. Is there a way or a scrip to create a button to do this on the Web Application Designer?
    Thanx and Regards!
    Luis.

    Hi Guys!!!
    Thanx for your replies, both answers are very usefull, but i still have some issues applying your solutions, first, the pice of javascript that Arun shows it's very usefull and it works in an excellent way, but, is there another pice of JavaScript  that i can use to print without the header line and the footprint and also in an horizontal way?, this is because some reports are to wide to print it as the default print option. i search on several pages, blogs and forums but i cant find something that can correctly apply on this.
    And about the button with the command "[LAUNCH_BROADCASTER]". that Pradnya shows, i made the button and insert this command, but when i hit the button instead of  the Bex Broadcaster wizard, it shows me an "Internet Explorer cannot display the webpage" window. my reports are published in the BI Portal, not via Bex Broadcaster, is it could be the problem?,  do i have to make a setting or how can i solve this issue?
    Again Thanx a lot for your replies and best regards.
    Luis

  • How do I print a range  of pages

    All of my adobe documents have the print pages button on the print screen.   The button shows  the page numbers for the document.   The box can be clicked and the current numbers deleted but under no  circumstances, whether the document is protected or not, will it allow me  to type any numbers in that box. From the instructions on "printing selected pages,"  I should be able to do this.  What am I doing wrong or how  can I get this feature to work?   (My printer drivers are up to date).   Also, I can click individual pages on the left  to print but cannot select a number of pages and print them.    Is there a way to choose multiple pages and then print from this view?  This has only been a problem since 10 and I have reinstalled the program but no change.

    There is a radio button beside the text box that must be selected first. If this doesnt work, try going into the settings of the printer, sometimes that allows you to make the selection of pages as well.

  • Printing a range of pages of report

    I have a main  form "classes" and two subforms ( students and grades). The classes form is linked to the students subform as one-to-many (by the class ID), whereas students is linked to grades as one-to-many(by the Students ID). I have created
    a report that prints the grades for each single student in one page and it works well.  However, i want make another report to print or preview the all students of each class. For example if the Class A has 30 students, then I should have 30 pages, where
    each page refer to single student grades. Any help please ??  

    However, i want make another report to print or preview the all students of each class.
    You only need one report, which by default will return all students, with each on a separate page by setting the ForceNewPage property of the StudentID group footer section to 'After Section'.
    To print the report for a single student you can filter it to a selected StudentID by means of the WhereCondition argument of the OpenReport method.  Similarly you can filter it to a selected ClassID to print all students in a selected class.
    To select a student or class I'd suggest you create an unbound dialogue form with two combo boxes, cboStudent and cboClass, set up as follows in the case of cboStudent:
    RowSource:     SELECT StudentID, FirstName & " " & LastName FROM Students ORDER BY LastName, FirstName;
    BoundColumn:   1
    ColumnCount:    2
    ColumnWidths:  0cm
    If your units of measurement are imperial rather than metric Access will automatically convert the unit of the last one to inches.  The important thing is that the dimension is zero to hide the first column.
    And for Classes:
    RowSource:     SELECT ClassID, Class FROM Classes ORDER BY Class;
    BoundColumn:   1
    ColumnCount:    2
    ColumnWidths:  0cm
    In the AfterUpdate event procedure of cboClass clear any selection in cboStudent with:
        Me.cboStudent = Null
    Similarly, in the AfterUpdate event procedure of cboStudent clear any selection in cboClass with:
        cboClass = Null
    Add a command button to the form and in its Click event procedure put the following code:
    Const REPORT_NAME = "YourReportNameGoesHere"
    Const MESSAGE_TEXT = "No class or student selected"
    Dim strCriteria As String
    If Not IsNull(Me.cboClass) Then
        strCriteria = "ClassID = " & Me.cboClass
    ElseIf Not IsNull(Me.cboStudent) Then
        strCriteria = "StudentID = " & Me.cboStudent
    End If
    If Len(strCriteria) > 0 Then
        DoCmd.OpenReport REPORT_NAME, WhereCondition:=strCriteria
    Else
        MsgBox MESSAGE_TEXT, vbExclamation, "Invalid Operation"
    End If
    To print a report you open the dialogue form, select a class or student, and click the button.  You might like to have two buttons on the form, with identical code apart from the following amendment:
        DoCmd.OpenReport REPORT_NAME, View:=acViewPreview, WhereCondition:=strCriteria
    so that you can preview the report as well as sending it to a printer.
    Ken Sheridan, Stafford, England
    Done, Marked as answer.
    Many thanks

  • How to open a new window on click of a button, for printing stuffs in adf

    Hi ADF Experts,
    Jdeveloper 11.1.1.7.0 version.
    I am having a Print Button. On click of this I want to open a new window? how is it possible. Note it should not be a popup or panelwindow.
    Please suggest.
    Thanks,
    Roy

    Check out Frank's article http://www.oracle.com/technetwork/developer-tools/adf/learnmore/95-printable-pages-1501392.pdf which come with a sample at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/95-printable-pages-1501393.zip
    Timo

  • Create custom Edit button for list on SharePoint 2013 page

    Hi
    I have a custom list which holds contact information such as name, telephone, address.  I am displaying the custom list webpart with using a custom view on the site home page which only shows name and telephone.  It should only
    have 1 item so 'New Item' is not needed.  However I still need to be able to edit the item.  If I click 'Edit' on the list view on the home page, it will open a quick edit box only showing name and telephone. 
    How can I create a custom button on the home page that will open the custom list item form instead?  Therefore all columns will be editable and I can remove the "New and Edit" toolbar from the webpart.
    Marc Collins www.QGate.co.uk

    Hi,
    According to your post, my understanding is that you want to open the custom list item form.
    Per my knowledge, there is out of box method to achieve it.
    After you insert the web part to a page, you need to edit the web part and change List Views as below, then it will remove the "New and Edit" toolbar from the webpart.
    In the page, if you click the web part , the ribbon will appear. After you select the item and click Edit Item, the edit form with all fields will be displayed.
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Problems providing files for print on an A4 page?

    Hi,
    I have created a small book with pages of an average size of A5.  I exported it to PDF and put on crop marks etc and sent it off to my printer.  However, they say they need the pages with crop marks on A4 pages (not scaled up, just the A5 page basically stuck on an A4 page).  I don't understand why they need this and as I am relatvely new to InDesign I don't know how to do this without messing up my layout etc.  I expect it's incredibly simple...
    Any advice would be very welcome!
    Thanks
    Kat

    Thanks for your reply Peter,
    I exported the book as single pages to create a multi-page PDF.  They are A5 but the printer wanted them presented on A4 pages??  I thought it was odd too, but I actually just figured out how to do it via Adobe Acrobat Pro - I went to the "Crop pages" option and changed the page size there....
    Glad it's solved now anyway. 
    Kat

  • Solution for printing Envelopes from iMac Pages FYI

    Hello All,
    About once a year I have tried to print envelops using Pages. I have been a mac user for 20 plus years, but have also been using windows with Word for just as long.
    I try this once a year at TAX time to print my envelops and usually just give up, fire up Parrallels and use Word LOL.
    I searched this site and there is no honest to God, Apple Written Solution for this problem with Pages.
    You simply cannot print envelops from Pages to an Hp Laserjet printer as the orientation of the envelope will be WRONG at least with SOME printers, although a very common printer.
    I am using Pages '09 version 4.3 and an iMac 27 inch running OS X 10.8.3 using an HP Laserjet 3200m connected via the network.
    When you create an envelop it looks fine on the screen but when you print it it expects the envelop to be loaded horizontally as opposed to vertically.  So you can't print a standard size envelop from Pages.
    I found this solution first posted by Ryan K. in 2009 and it is achieved. 
    https://discussions.apple.com/thread/1970267?start=0&tstart=0
    There is a discussion which follows his post and HIS method does work and is easy....
    Just use Preview from the print dialog (it opens your envelop in Preview) the print from Preview and the orientation will be correct.
    I read their discussion after his post but there is a lot of circular apple speak but no resolution.
    Just use the Preview Program.....
    (also I have a wide format Epson Photo Printer, and I have tried to use that for envelops and you can't. It gives an error.)
    Just My 2 Cents.
    Mike
    (off to mail my IRS check.....LOL...)
    Mike

    hi peet,
    every thing is clear wht but, i have small query.. it is clear that u need 3 copies of same print, but each copy from different tray. along with this dou you want saparate spools also?
    there is a way to achive this calling the from 3 times with differen output device.for the same printer...
    with single output device we can't print in 3 different tray..
    1. create 3 output device in SPAD.. with the same printer name but different trays.
    2. if u r using the standard print pogram then copy this modify... as follows... call   the smartform 3 times.... by passing different output divice for each copy...
    u can do in this way

  • Where do I find the button for facebook on the opening page

    I want to be able to get to facebook from the opening page of firefox. I cannot figure out how. also I want to get ravelry from the opening page. How do I arrange this? Google is sitting on that page and so should the other choices. they don't. help!

    You can place a bookmark on the Bookmarks Toolbar if you want to go to Facebook easily.
    See [[Bookmarks]]

  • HP CP3525dn will not print a specific range of pages

    Our Color HP Printer model# CP3525dn will not print a range of pages within a MS Word document HELP

    Hi,
    Microsoft has released an Hotfix which should address such an issue.
    Install the Hotfix below and check for any difference:
    http://support.microsoft.com/kb/3000461/en-us
    Please let me know if that help getting the problem resolved.
    Regards
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How do I add a button for a custom task on the List Accounts page in 5.5

    I'm trying to add a button to the bottom of the List Accounts page that launches a custom task. I thought this would be easy - just modify UserActionsConfig. I've already added the task to context menus. The problem is there are only options to add buttons for the Find User results page and the context menus. Is there a missing attribute key that needs to be included? Is there a different config file that I need to modify? Any help would be appreciated.

    Sorry not possible in 5.x. You will have to use 6.0 and the new HTML based tree browser.
    WilfredS

Maybe you are looking for