1

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:
margins:

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

font:

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

3
  • Notepad doesn't support margins... Commented Aug 5, 2019 at 15:10
  • Margin for printing: File>page setup..>margins
    – Vrian7
    Commented Aug 5, 2019 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 Commented Aug 5, 2019 at 15:27

1 Answer 1

3

Notepad settings are in the registry at key
HKEY_CURRENT_USER\Software\Microsoft\Notepad.

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .