Printing a notebook without background color to save ink
Clash Royale CLAN TAG#URR8PPP
up vote
6
down vote
favorite
I sometimes need to print hard copies of my notebooks, but I really like having a background color to make the notebooks easier on my eyes. Is it possible to automatically remove the background color before sending to a printer? I couldn't find it on the options inspector. Thanks!
stylesheet printing
New contributor
add a comment |Â
up vote
6
down vote
favorite
I sometimes need to print hard copies of my notebooks, but I really like having a background color to make the notebooks easier on my eyes. Is it possible to automatically remove the background color before sending to a printer? I couldn't find it on the options inspector. Thanks!
stylesheet printing
New contributor
add a comment |Â
up vote
6
down vote
favorite
up vote
6
down vote
favorite
I sometimes need to print hard copies of my notebooks, but I really like having a background color to make the notebooks easier on my eyes. Is it possible to automatically remove the background color before sending to a printer? I couldn't find it on the options inspector. Thanks!
stylesheet printing
New contributor
I sometimes need to print hard copies of my notebooks, but I really like having a background color to make the notebooks easier on my eyes. Is it possible to automatically remove the background color before sending to a printer? I couldn't find it on the options inspector. Thanks!
stylesheet printing
stylesheet printing
New contributor
New contributor
edited 2 hours ago
m_goldberg
82.6k870190
82.6k870190
New contributor
asked 10 hours ago
thejacksonjive
333
333
New contributor
New contributor
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
8
down vote
accepted
Printing uses the "Printout" screen environment. So, you can control this behavior automatically with a stylesheet. Something like:
SetOptions[
EvaluationNotebook,
StyleDefinitions -> Notebook[
Cell[StyleData[StyleDefinitions->"Default.nb"]],
Cell @ CellGroupData[
Cell[StyleData["Notebook"],Background->RGBColor[0.9, 1, 1]],
Cell[StyleData["Notebook","Printout"],Background->None]
,
Open
]
,
StyleDefinitions->"PrivateStylesheetFormatting.nb"
]
]
ought to do it. Change the background as appropriate.
Check by toggling the ScreenEnvironment
setting in the Format
menu.
Addendum
If you want to make this change "permanent":
NotebookSave[
Notebook[
Cell[StyleData[StyleDefinitions->"Default.nb"]],
Cell @ CellGroupData[
Cell[StyleData["Notebook"],Background->RGBColor[0.9, 1, 1]],
Cell[StyleData["Notebook","Printout"],Background->None]
,
Open
]
,
StyleDefinitions->"PrivateStylesheetFormatting.nb"
],
FileNameJoin[
$UserBaseDirectory,"SystemFiles","FrontEnd","StyleSheets","Default.nb"
]
]
and then the next time you open Mathematica you should see a blue screen. Just delete the file to return to the default behavior.
Beautiful. Thank you. Does thisSetOptions
method have a simple global implementation?
â thejacksonjive
9 hours ago
@thejacksonjive You could save the stylesheet inFileNameJoin[$UserBaseDirectory, "SystemFiles", "FrontEnd", "StyleSheets"]
. If it has the name "Default.nb", it should be the default style sheet used from then on. If it doesn't have the name "Default.nb", than you would need to change the DefaultStyleDefinitions option (use the option inspector or CurrentValue[$FrontEnd, DefaultStyleDefinitions] = name) to point to it.
â Carl Woll
9 hours ago
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
8
down vote
accepted
Printing uses the "Printout" screen environment. So, you can control this behavior automatically with a stylesheet. Something like:
SetOptions[
EvaluationNotebook,
StyleDefinitions -> Notebook[
Cell[StyleData[StyleDefinitions->"Default.nb"]],
Cell @ CellGroupData[
Cell[StyleData["Notebook"],Background->RGBColor[0.9, 1, 1]],
Cell[StyleData["Notebook","Printout"],Background->None]
,
Open
]
,
StyleDefinitions->"PrivateStylesheetFormatting.nb"
]
]
ought to do it. Change the background as appropriate.
Check by toggling the ScreenEnvironment
setting in the Format
menu.
Addendum
If you want to make this change "permanent":
NotebookSave[
Notebook[
Cell[StyleData[StyleDefinitions->"Default.nb"]],
Cell @ CellGroupData[
Cell[StyleData["Notebook"],Background->RGBColor[0.9, 1, 1]],
Cell[StyleData["Notebook","Printout"],Background->None]
,
Open
]
,
StyleDefinitions->"PrivateStylesheetFormatting.nb"
],
FileNameJoin[
$UserBaseDirectory,"SystemFiles","FrontEnd","StyleSheets","Default.nb"
]
]
and then the next time you open Mathematica you should see a blue screen. Just delete the file to return to the default behavior.
Beautiful. Thank you. Does thisSetOptions
method have a simple global implementation?
â thejacksonjive
9 hours ago
@thejacksonjive You could save the stylesheet inFileNameJoin[$UserBaseDirectory, "SystemFiles", "FrontEnd", "StyleSheets"]
. If it has the name "Default.nb", it should be the default style sheet used from then on. If it doesn't have the name "Default.nb", than you would need to change the DefaultStyleDefinitions option (use the option inspector or CurrentValue[$FrontEnd, DefaultStyleDefinitions] = name) to point to it.
â Carl Woll
9 hours ago
add a comment |Â
up vote
8
down vote
accepted
Printing uses the "Printout" screen environment. So, you can control this behavior automatically with a stylesheet. Something like:
SetOptions[
EvaluationNotebook,
StyleDefinitions -> Notebook[
Cell[StyleData[StyleDefinitions->"Default.nb"]],
Cell @ CellGroupData[
Cell[StyleData["Notebook"],Background->RGBColor[0.9, 1, 1]],
Cell[StyleData["Notebook","Printout"],Background->None]
,
Open
]
,
StyleDefinitions->"PrivateStylesheetFormatting.nb"
]
]
ought to do it. Change the background as appropriate.
Check by toggling the ScreenEnvironment
setting in the Format
menu.
Addendum
If you want to make this change "permanent":
NotebookSave[
Notebook[
Cell[StyleData[StyleDefinitions->"Default.nb"]],
Cell @ CellGroupData[
Cell[StyleData["Notebook"],Background->RGBColor[0.9, 1, 1]],
Cell[StyleData["Notebook","Printout"],Background->None]
,
Open
]
,
StyleDefinitions->"PrivateStylesheetFormatting.nb"
],
FileNameJoin[
$UserBaseDirectory,"SystemFiles","FrontEnd","StyleSheets","Default.nb"
]
]
and then the next time you open Mathematica you should see a blue screen. Just delete the file to return to the default behavior.
Beautiful. Thank you. Does thisSetOptions
method have a simple global implementation?
â thejacksonjive
9 hours ago
@thejacksonjive You could save the stylesheet inFileNameJoin[$UserBaseDirectory, "SystemFiles", "FrontEnd", "StyleSheets"]
. If it has the name "Default.nb", it should be the default style sheet used from then on. If it doesn't have the name "Default.nb", than you would need to change the DefaultStyleDefinitions option (use the option inspector or CurrentValue[$FrontEnd, DefaultStyleDefinitions] = name) to point to it.
â Carl Woll
9 hours ago
add a comment |Â
up vote
8
down vote
accepted
up vote
8
down vote
accepted
Printing uses the "Printout" screen environment. So, you can control this behavior automatically with a stylesheet. Something like:
SetOptions[
EvaluationNotebook,
StyleDefinitions -> Notebook[
Cell[StyleData[StyleDefinitions->"Default.nb"]],
Cell @ CellGroupData[
Cell[StyleData["Notebook"],Background->RGBColor[0.9, 1, 1]],
Cell[StyleData["Notebook","Printout"],Background->None]
,
Open
]
,
StyleDefinitions->"PrivateStylesheetFormatting.nb"
]
]
ought to do it. Change the background as appropriate.
Check by toggling the ScreenEnvironment
setting in the Format
menu.
Addendum
If you want to make this change "permanent":
NotebookSave[
Notebook[
Cell[StyleData[StyleDefinitions->"Default.nb"]],
Cell @ CellGroupData[
Cell[StyleData["Notebook"],Background->RGBColor[0.9, 1, 1]],
Cell[StyleData["Notebook","Printout"],Background->None]
,
Open
]
,
StyleDefinitions->"PrivateStylesheetFormatting.nb"
],
FileNameJoin[
$UserBaseDirectory,"SystemFiles","FrontEnd","StyleSheets","Default.nb"
]
]
and then the next time you open Mathematica you should see a blue screen. Just delete the file to return to the default behavior.
Printing uses the "Printout" screen environment. So, you can control this behavior automatically with a stylesheet. Something like:
SetOptions[
EvaluationNotebook,
StyleDefinitions -> Notebook[
Cell[StyleData[StyleDefinitions->"Default.nb"]],
Cell @ CellGroupData[
Cell[StyleData["Notebook"],Background->RGBColor[0.9, 1, 1]],
Cell[StyleData["Notebook","Printout"],Background->None]
,
Open
]
,
StyleDefinitions->"PrivateStylesheetFormatting.nb"
]
]
ought to do it. Change the background as appropriate.
Check by toggling the ScreenEnvironment
setting in the Format
menu.
Addendum
If you want to make this change "permanent":
NotebookSave[
Notebook[
Cell[StyleData[StyleDefinitions->"Default.nb"]],
Cell @ CellGroupData[
Cell[StyleData["Notebook"],Background->RGBColor[0.9, 1, 1]],
Cell[StyleData["Notebook","Printout"],Background->None]
,
Open
]
,
StyleDefinitions->"PrivateStylesheetFormatting.nb"
],
FileNameJoin[
$UserBaseDirectory,"SystemFiles","FrontEnd","StyleSheets","Default.nb"
]
]
and then the next time you open Mathematica you should see a blue screen. Just delete the file to return to the default behavior.
edited 8 hours ago
answered 10 hours ago
Carl Woll
60.3k279155
60.3k279155
Beautiful. Thank you. Does thisSetOptions
method have a simple global implementation?
â thejacksonjive
9 hours ago
@thejacksonjive You could save the stylesheet inFileNameJoin[$UserBaseDirectory, "SystemFiles", "FrontEnd", "StyleSheets"]
. If it has the name "Default.nb", it should be the default style sheet used from then on. If it doesn't have the name "Default.nb", than you would need to change the DefaultStyleDefinitions option (use the option inspector or CurrentValue[$FrontEnd, DefaultStyleDefinitions] = name) to point to it.
â Carl Woll
9 hours ago
add a comment |Â
Beautiful. Thank you. Does thisSetOptions
method have a simple global implementation?
â thejacksonjive
9 hours ago
@thejacksonjive You could save the stylesheet inFileNameJoin[$UserBaseDirectory, "SystemFiles", "FrontEnd", "StyleSheets"]
. If it has the name "Default.nb", it should be the default style sheet used from then on. If it doesn't have the name "Default.nb", than you would need to change the DefaultStyleDefinitions option (use the option inspector or CurrentValue[$FrontEnd, DefaultStyleDefinitions] = name) to point to it.
â Carl Woll
9 hours ago
Beautiful. Thank you. Does this
SetOptions
method have a simple global implementation?â thejacksonjive
9 hours ago
Beautiful. Thank you. Does this
SetOptions
method have a simple global implementation?â thejacksonjive
9 hours ago
@thejacksonjive You could save the stylesheet in
FileNameJoin[$UserBaseDirectory, "SystemFiles", "FrontEnd", "StyleSheets"]
. If it has the name "Default.nb", it should be the default style sheet used from then on. If it doesn't have the name "Default.nb", than you would need to change the DefaultStyleDefinitions option (use the option inspector or CurrentValue[$FrontEnd, DefaultStyleDefinitions] = name) to point to it.â Carl Woll
9 hours ago
@thejacksonjive You could save the stylesheet in
FileNameJoin[$UserBaseDirectory, "SystemFiles", "FrontEnd", "StyleSheets"]
. If it has the name "Default.nb", it should be the default style sheet used from then on. If it doesn't have the name "Default.nb", than you would need to change the DefaultStyleDefinitions option (use the option inspector or CurrentValue[$FrontEnd, DefaultStyleDefinitions] = name) to point to it.â Carl Woll
9 hours ago
add a comment |Â
thejacksonjive is a new contributor. Be nice, and check out our Code of Conduct.
thejacksonjive is a new contributor. Be nice, and check out our Code of Conduct.
thejacksonjive is a new contributor. Be nice, and check out our Code of Conduct.
thejacksonjive is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f183479%2fprinting-a-notebook-without-background-color-to-save-ink%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password