command line tool for print picture?

前端 未结 7 1406
终归单人心
终归单人心 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条回答
  •  情书的邮戳
    2020-12-19 02:51

    I finally found out!

    use windows image and fax viewer.

    rundll32    shimgvw.dll    ImageView_PrintTo /pt   xxx.png   "printer name"
    

提交回复
热议问题