# How to view the print/PDF printable page edge in a Notebook?

Motivation:

I don't normally print or save as PDF notebooks, but when I do, it's annoying to see that some plots exceded the page width as defined in the print configurations. It would be nice to see in the notebook a mark, probably a line, even if roughly defining the page width.

Question:

What options does Wolfram Mathematica provide to allow the user to be aware of the print/PDF page width while working?

It would be desirable to have a style or environment that clearly marks the end of the printable region with a line.

## 1. Printout environment

In the notebook menu "Format", sub-menu "Screen Environment", it's possible to choose a "Printout" environment. There is no line indicating the edge, but thing exceeding the width will not appear.

### 1.2 programmatically

Programmatically users can use the option PrintingStyleEnvironment or ScreenStyleEnvironment.

## 2 Ruler

As pointed out by @Hugh, It may help to show the ruler. From the documentation.

The ruler is a toolbar used to set the text margins of selected cells and the indentation of cell names and keywords. The notebook ruler can be added to a notebook by selecting Show Ruler in the Window menu or programmatically by using the notebook option WindowToolbars.

SetOptions[SelectedNotebook[], WindowToolbars -> {"RulerBar"}] (* ON *)