How do you setup a printer and print a document from the command line?
It will be very difficult for you.
It takes me less than 5 seconds to do that in GNOME.
DE haters BTFO.
>>61771479
The command is literally three characters. How is that difficult?
printf "document"
>"cortana print this document"
linux cant do this frogposter
>>61771693
>"cortana print this document"
>prints to local printer
>also sends a digital copy to Microsoft's servers
Thank you based Satya Nutella.
i can't remember what the command was to set up a printer, but printing the document us just <code>lpr foo.bar</code>
Add-PrinterPort -Name "10.0.0.7" -PrinterHostAddress "10.0.0.7"
Add-Printer -Name "HP Printer" -DriverName "HP Officejet Pro 8600 Class Driver" -PortName "10.0.0.7"
Write-Output "Hello World" >> C:\temp\poop.txt
Get-Content C:\temp\poop.txt | Out-Printer -Name "HP Printer"
>>61771479lp filename
>>61772459