command line tool for print picture?

前端 未结 7 1403
终归单人心
终归单人心 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:39

    IrfanView is able to do this. Here's a list of command line options for this application.

    The following should work:

    i_view32 xxx.png /print
    

    If you want to print to a printer other than the default printer, specify the printer name:

    i_view32 xxx.png /print="PrinterName"
    

提交回复
热议问题