I have plain text (.txt) reports, in order to be printed correctly (final users will print the report). I need to configure notepad settings. as:

let: 8 right: 8 top: 4 bottom: 4


font: Consolas Style: Normal Size: 11

How can I configure it automatically at open notepad, or at least on executing a .bat file. Or any suggestion to avoid users printing incorrectly.
Working on windows10

  • Notepad doesn't support margins... – spikey_richie Aug 5 '19 at 15:10
  • Margin for printing: File>page setup..>margins – Vrian7 Aug 5 '19 at 15:12
  • Ah yes, ok. Looks like there are very limited command line options. /A <filename> open file as ansi /W <filename> open file as unicode /P <filename> print filename /PT <filename> <printername> <driverdll> <port> print filename to designated printer – spikey_richie Aug 5 '19 at 15:27

Notepad settings are in the registry at key

You may use regedit to export your own settings to a .reg file, then import them into the other computers either by the menu File > Import.., or by executing the .reg file, or by the command reg import.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.