I'm trying to create batch file which opens printer properties for the default printer, but I get an error. I tried using
rundll32 printui.dll,PrintUIEntry /e /n "printername"
but it opens properties only if you will write a printer name with your hand.
I wanted to know if there is a similar cmd command which shows printer properties and printer preferences for the default printer, without writing a printer name.
I tried using rundll32 printui.dll,PrintUIEntry /e /n "%printer_name%"
but it gave error.