Command-line argument? - InfoPath Dev
in

InfoPath Dev

Command-line argument?

Last post 05-07-2009 12:42 AM by Phrone. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-06-2009 02:09 AM

    • Phrone
    • Not Ranked
      Male
    • Joined on 05-06-2009
    • Sweden
    • Posts 2

    Command-line argument?

     I'm a software programmer and I've been searching for command-line arguments for InfoPath to use in a project, with no luck.

    Does anyone know about a command-line argument for print?

    I need to print out some forms from my application and need to set the print argument as attribute to the process.

  • 05-06-2009 04:38 PM In reply to

    Hi Phrone,

    I'm assuming you went here: http://office.microsoft.com/en-us/infopath/HP101483281033.aspx . There are a couple of other switches (one for aggregation) but in general that's a good list.

    Printing via command line would be a security violation, so it's not supported. I recommend making your form Full Trust and writing code that prints OnLoad.

    Patrick Halstead
    Project Manager at Qdabra
  • 05-07-2009 12:42 AM In reply to

    • Phrone
    • Not Ranked
      Male
    • Joined on 05-06-2009
    • Sweden
    • Posts 2

    Thanks for the link.

    I found a similar list, but I was not sure if it was a complete list.
    I can not use onload because it is only when I select print from my desctop application the form should be printed, not when you open the form.

    So this means that I have to inform the customer that it can't be done. :( 

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