How to print image files without the user seeing the act?

StormStorm Member Posts: 27
Hey

I want to print pictures directly from navision using whatever program Windows default are using...

I'm using the automation: Microsoft Shell Controls And Automation to do it, and it almost works... the only problem is that a window keeps popping up with a "print wizard"...it is some default setting for "Windows Picture and Fax Viewer" apparently... isn't there some way to hide this message so all the user has to do is to push the print button and go out and get the print?

Comments

  • ara3nara3n Member Posts: 9,257
    What does you code looks like?

    Why don't you just send a shell command with following statement

    print c:\test.txt

    That should do it. No popup screen nothing.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.