Printing Multiple Views in different page sizes - InfoPath Dev
in

InfoPath Dev

Printing Multiple Views in different page sizes

Last post 12-01-2009 07:57 AM by cedgmon. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 11-12-2009 10:24 AM

    Printing Multiple Views in different page sizes

     I posted something similar in the Newbie forum, but have not gotton a complete response, so I thought I would try here.

    I have 4 views. I need to print the default view as Legal sized and the remaining 3 as Letter size.

    I was wondering if this is possible and without setting a printer in the Page Setup?

     

    Or a preferred preference would be to print  each of the documents as Fit to Page.

    Thank you,

  • 11-15-2009 04:18 AM In reply to

    Re: Printing Multiple Views in different page sizes

    You'll have to write code and use a Full Trust form.

    Patrick Halstead
    Project Manager at Qdabra
  • 11-16-2009 07:28 AM In reply to

    Re: Printing Multiple Views in different page sizes

    Great. We are already using a Full Trust form to get the print button working. The scenario was that the user needed to agree to terms and conditions. Once they clicked yes, then the button appeared. I used the code XDocument.PrintOut() for the button code.

    If you could help with the rest, that would be great.

    Thank you.

  • 11-30-2009 09:00 AM In reply to

    Re: Printing Multiple Views in different page sizes

    I was wondering if you new of any additional code that I would need to be able to print each view in a different paper size without having to set a printer or page setup size?

  • 12-01-2009 06:35 AM In reply to

    • sql_dan
    • Not Ranked
      Male
    • Joined on 11-30-2009
    • Sheffield, UK
    • Posts 5

    Re: Printing Multiple Views in different page sizes

    Hi cedgmon, I had a similar issue with an InfoPath 2003 form and the way I got around it was to create a new view with all the pages duplicated (if you just copy and paste this will keep any references) in the one view. Then when you print you are only printing one view and im sure you can set the printer to 'fit to page' with this. Hope this helps. Dan
    If you can't sleep at night, it's not the coffee it's the bunk!
  • 12-01-2009 07:57 AM In reply to

    Re: Printing Multiple Views in different page sizes

    Thank you Dan,

    So from reading a previous post, I tried this. The issue I had was that it would not print the first form or page of the view to the specified page break.

    I can not set any printer options and require that the Printer configuration under page settings to be set to Default.

    The situation is that we have more printers than employees and the printer is not always the same one, not sure if this is an issue.

    My hope was that I could set a print with the Fit to page option and then when they print to a different printer the problem would be solved.

    Unfortunately this was not the case.

    Any other suggestions?

    Thank you

    Craig

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