Results 1 to 3 of 3

Thread: [RESOLVED] PRINT directlly a word document from dir

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Mar 2005
    Posts
    2,580

    Resolved [RESOLVED] PRINT directlly a word document from dir

    Have a doc file in C:\SERVIZIO\SALVATI\TEST.DOC

    with a button is possible to print directlly to default printer, without open the doc?

  2. #2
    PowerPoster Arnoutdv's Avatar
    Join Date
    Oct 2013
    Posts
    5,871

    Re: PRINT directlly a word document from dir

    Have a look at the shellexecute API and specify “print” as the action

  3. #3
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    4,415

    Re: PRINT directlly a word document from dir

    Quote Originally Posted by Arnoutdv View Post
    Have a look at the shellexecute API and specify “print” as the action
    ....and at its Window-Styles (HIDDEN, SILENT or whatever it's called)
    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ----------------------------------------------------------------------------------------

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    Code is like a joke: If you have to explain it, it's bad

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width