command line tool for print picture?

前端 未结 7 1380
终归单人心
终归单人心 2020-12-19 01:59

My program need to print a curve, my solution is changing the curve into a picture, and this picture file (xxx.png) can be printed by using the default windows picture print

7条回答
  •  Happy的楠姐
    2020-12-19 02:49

    You can call ShellExecute from your program with print operation:

    ShellExecute(NULL,"print","c:\\test.png",NULL,NULL,SW_HIDE);
    

提交回复
热议问题