Print/SaveAs SimpleHelper - Grid 0.5" on LetterPaper

First, manually apply Letter size w/ margins T&B 0.5" and L&R 1". Then, run this macro to see the "ideal"printable-area if scale-down is not applied. See the comments in Macroland for more information.

Download

Author(s) : Onetastic ★, DL-IND
Category : Pages
Last Updated : January 26, 2019
Requirements : OneNote 2010 or above
Changelog :

January 26, 2019 (2D93E1) - Onetastic ★
Fixed an error while running the macro

June 19, 2016 (BE2197) - DL-IND
Automatically upgraded to the new Macro Language

These versions are no longer supported:

October 29, 2013 - DL-IND
Initial version

Comments

Name
Comment
DL-IND - 2013-10-30


Macro: Print/SaveAs SimpleHelper - Grid 0.5\" on LetterPaper

=== DESCRIPTION ===

This macro can be used to see the paper printable area if \"Letter\" paper-size and \"inch\" as the measurement units are applied. For limitations, see the notes below.

This macro sets the grid lines and the first-outline as follows.

GRID
size = 0.5 inch = 36 points
colour = silver = #C8C8D3

FIRST-OUTLINE
x position = 1 inch = 72 points
y position = 1.5 inch = 108 points
fixed-width = 6.5 inch = 468 points

=== HOW TO USE ===

1.
You manually set the paper size and margins.
OneNote menu:   View > Paper Size
In Paper Size pane, you set as follows.
   - Size:  Letter
   - Orientation:  Portrait
   - Top & Bottom margins:  0.5\"
   - Left & Right margins:  1\"
2.
Run this macro

=== NOTES ===

1.
OneNote uses \"points\' as the measurement units. 1 inch is equal to 72 points.
For the paper-size \"Letter\" (8.5\") and 1\" Left & Right margins, the ideal outline width is:
8.5\" (paper) minus 1\" (Left Margin) minus 1\" (Right Margin) = 6.5 inch
= 6.5 (inch) X 72 (points) = 468 points

2.
This macro sets the Y position of note-container asumming that (on ON2010)  the page-title and page-date/time exist.
If it is not the case, modify the macro Y position value or manually drag the note container.

3.
The 468 point fixed-width is applied to the first outline only. However if this outline contains outline-elements e.g. images, tables, etc. that exceed 468 point width (single and/or accumulated width); this macro can not work. Those elements should be re-sized manually or by using other macros.

=== SUGGESTION TO USERS ===

1.
For trying this macro, always use a test-page first. In this case, use a page with a single note-container and many text lines in it. However, you can always use \"Undo\" (Ctrl z).

2.
If you have two or more note-containers on the page and you want to manually adjust the second one and others, the following will be helpful.
2.a.
Make sure that note-container appear.
OneNote Menu > File > Options > Display > \"Show note containers on pages\" is selected.
2.b.
Activate \"Snap To Grid\".
OneNote menu: Draw > \"Insert Shapes\" group > click the small down-arrow of the gallery > click \"Snap To Grid\" (if it is not turned-on).
You could right-click it and click \"Add to QAT\" to make it appear on QAT.
With STG active and you drag a note-container, the container will not exceed the left/top margin.
Now, you can use the first note-container and the 0.5\" grid as your guide-lines for placing the other note-containers.

3.
Although you just want to save the page as a pdf file, I suggest you to see the print preview before saving the page as a pdf file.
OneNote Menu > File > Print > Print Preview.
Make sure that the paper-size and Orientation is similar to the ones you have set.
If you already sure that all page elements are within the printable area, you do not need to check the \"Scale content to paper width\". Well, check it if you want to be sure.

4.
After using this macro, hide the grid if you do not want it appear on the paper or pdf file.
OneNote Menu > View > Rule Lines > None (or click its big button to toggle it)
However, if you click the Rule Lines button again, OneNote will apply the default grid. So, you should run this macro again if you wish.
.