Set default printer


/ Published in: DOS Batch
Save to your folder(s)



Copy this code and paste it in your HTML
  1. @echo off
  2.  
  3. set PrinterName="Microsoft XPS Document Writer"
  4. rundll32 printui.dll,PrintUIEntry /y /q /n %PrinterName%

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.