Search code examples
command-linefile-conversion

MS Paint command line switches


I have been looking for documentation related to interacting with MSPaint from the command line. I have only found references to /p, /pt and /wia, but no guidance as to how to use them and their limitations.

I am trying to send some graphics files to the printer and when I drop the file on my printer driver I get a different print output than if I call paint from the command line. I am using the UDC print driver to convert graphics, and I am using paint to send my graphics file to the printer driver in order for my file to convert.

Any ideas?


Solution

  • I know that mspaint /p filename and mspaint /pt filename both print straight to the default printer. Not sure what /wia does, maybe something to do with Windows Image Acquisition?

    Also, as others have pointed out, there are many programs a lot more capable for doing what you want than MSPaint.