While this would be much friendlier with a setting somewhere, the following work-around seems to work on Brave:
defaults write com.brave.Browser DisablePrintPreview -bool true
I found that domain by running defaults find brave |head
and it turns out that the first line of the output tells me the domain.
[myusername:~] % defaults find brave |head
Found 15 keys in domain 'com.brave.Browser': {
DisablePrintPreview = 1;
LastRunAppBundlePath = "/Applications/Brave Browser.app";
NSNavLastRootDirectory = "~/Desktop";
NSNavLastUserSetHideExtensionButtonState = 1;
This is the output after running the above command; without it, I think the DisablePrintPreview
wouldn’t be there.