how to print my print-view with button-click? - InfoPath Dev
in

InfoPath Dev

how to print my print-view with button-click?

Last post 09-09-2009 08:51 PM by LowRyda. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 10-13-2005 03:23 AM

    how to print my print-view with button-click?

    hello,

    i created a print-view in my form. now i want to integrate a print-button in my form to print the specified view. i will do this with c# behind the button, but if possible, rules a also welcome ;-)
    in my case there is no possibility to print by click on print-button inside the toolbars because there is no longer a toolbar if the form loads *ggg* looks nice ....

    any idea?
  • 10-13-2005 06:20 AM In reply to

    Re: how to print my print-view with button-click?

    Hi,

    Are you after: thisXDocument.PrintOut()?

    Franck Dauché
  • 10-13-2005 07:34 AM In reply to

    Re: how to print my print-view with button-click?

    that`s easy ... thx

    but now i have no backgroundcolors in my prints. is this an option in infopath i have to set or is it a printer-problem ???? where can i solve this problem?
  • 10-20-2005 07:42 AM In reply to

    Re: how to print my print-view with button-click?

    the "backgroundcolor"-problem is no longer a problem .... it denpends on an infopath-option!


    the code:
    thisXDocument.PrintOut()
    works fine, but the document is directly send to the printer. is there a way to open the preview before printing??????
  • 10-24-2005 01:33 AM In reply to

    Re: how to print my print-view with button-click?

    is there no solution for a print-preview by code?
  • 09-09-2009 08:51 PM In reply to

    Re: how to print my print-view with button-click?

    Did you find a way to do this. I used the same code and got to the same stage.

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