Powertip Of The Day-printing results

Source: Internet
Author: User

Original article address:Http://app.en25.com/e/es.aspx? S = 1403 & E = 4900 & elq = 127ab4a62a414c678d62945aef96e118

Original article:

You will discover that out-printer can print results to your default printer. You can also print to any other printer when you specify its name:

Get-process | out-printer-name 'Microsoft XPS document writer'

You shoshould ask wimi if you need to find out the names of your installed Printers:

Get-wmiobject win32_printer | select-object-expandproperty name

 

Translation:

UseOut-printerThe default printer will be used to print the output results. If you want to print with another printer, you only need to specify the printer Name:

Get-process | out-printer-name 'Microsoft XPS document writer'

How many printers are configured on the local machine? RunWimiThe query can be found:

Get-wmiobject win32_printer | select-object-expandproperty name

 

Notes:

Even if noWin7The machine will also configure a lot of printer information by default.OneNote,Xap. Therefore, you need to specify which configuration to use.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.