Button to Print Specific Page - InfoPath Dev
in

InfoPath Dev

Button to Print Specific Page

Last post 01-13-2009 06:07 AM by tbmedina. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-12-2009 01:11 PM

    Button to Print Specific Page

    Does anyone know what code I would use on a button to tell it to print page 2 of my form?

    Thanks!

  • 01-12-2009 05:28 PM In reply to

    Re: Button to Print Specific Page

    Hi To Be Medina,

    How about adding a rule to switch the view and then asking the user (in red letters) to select file print from the menus? Another option would be to mark a view as the print view and just ask the user to print the form (without switching the view).

    Printing cannot be done programmatically via rules. In fact, to force a print from a button, you need to make the InfoPath form "full trust" and write some code - that's why I recommend the manual guide. InfoPath requires "full trust" for printing due to security restrictions in Office. If you would still like to make it automatic, it is rather simple to create full trust forms and add a line of code to print, but you will need to either a) sign your form or b) send out an MSI for people to install. Both cases will mean additional deployment cost for your customers. If you can get your customers to do it manually, that's probably the easiest way to go.

    Best,

    Patrick Halstead
    Project Manager at Qdabra
  • 01-13-2009 06:07 AM In reply to

    Re: Button to Print Specific Page

    Thanks! I'll try these suggestions.

    Tammy

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.