Skip to content

Page layout and printing

The Page Layout tab sets how a sheet prints: the paper, the margins, how much fits on a page, and which rows repeat on every page. File ▸ Print shows the pages as they will print, and prints them or saves them as a PDF.

Each sheet keeps its own page settings, and they are saved in the .xlsx file.

Ready-made print settings in the templates

Ganit's templates come set up to print on A4, with all the columns fitted on one page wide and the table centred across the page:

Template Orientation Rows repeated on each page
GST Tax Invoice Portrait None
Salary Sheet Landscape Row 4, the column headings
Attendance Register Landscape Rows 4 and 5
Cash Book Portrait Row 4
Stock Register Landscape Row 4
EMI Schedule Portrait Row 9

A new blank workbook prints on A4, portrait, with Normal margins, at 100%.

Page Setup group

Margins

Page Layout ▸ Page Setup ▸ Margins has three ready-made margins:

Margins Top and bottom Left and right Header and footer
Normal 1.91 cm 1.78 cm 0.76 cm
Wide 2.54 cm 2.54 cm 1.27 cm
Narrow 1.91 cm 0.64 cm 0.76 cm

Custom Margins… opens the Margins tab of the Page Setup dialog.

Orientation

Page Layout ▸ Orientation ▸ Portrait (upright) or Landscape (sideways). Use landscape for wide sheets such as a salary sheet or an attendance register.

Size

Page Layout ▸ Size chooses the paper:

Paper Size
A4 21 cm × 29.7 cm
A3 29.7 cm × 42 cm
A5 14.8 cm × 21 cm
Letter 21.59 cm × 27.94 cm
Legal 21.59 cm × 35.56 cm

More Paper Sizes… opens the Page Setup dialog, which has the same five sizes.

The print area is the part of the sheet that prints. Without one, Ganit prints all the cells in use.

  • To print only some cells, select them and click Page Layout ▸ Print Area ▸ Set Print Area.
  • To print the whole sheet again, click Print Area ▸ Clear Print Area.

Breaks

Ganit starts a new page when a page is full. To start one earlier, for example at each new month in a cash book:

  1. Click the cell below and to the right of where the new page should start. To break between rows only, click a cell in column A.
  2. Click Page Layout ▸ Breaks ▸ Insert Page Break.
Command What it does
Insert Page Break A break above the active cell, and one to its left (unless it is in column A)
Remove Page Break Removes the break at the active cell's row or column
Reset All Page Breaks Removes all the breaks you added

Note

Page breaks you add are not used while the sheet is set to fit to pages (see Scale to Fit). Ganit's templates are set to fit all columns on one page, so set Width to Automatic and Scale to 100% first if you want your own breaks.

Print titles are rows (or columns) that print on every page, such as the heading row of a long salary sheet or stock register.

  1. Click Page Layout ▸ Print Titles. The Sheet tab of Page Setup opens.
  2. In Rows to repeat at top, type the rows, for example $4:$4 for row 4, or $4:$5 for rows 4 and 5.
  3. For columns, use Columns to repeat at left, for example $A:$B.
  4. Click OK.

Scale to Fit

The Scale to Fit group shrinks the sheet to fit a number of pages.

Setting What it does
Width Automatic, or 1 to 9 pages wide
Height Automatic, or 1 to 9 pages tall
Scale Prints at a set size, from 10% to 400%
  • To fit all the columns of a wide sheet on the paper, set Width to 1 page and leave Height at Automatic. Long sheets still run on to more pages.
  • To fit everything on one page, set both to 1 page.
  • Choosing a Scale turns the Width and Height fitting off.

Sheet Options

Option View Print
Gridlines Shows the lines between cells on screen Prints them
Headings Shows the column letters and row numbers on screen Prints them

Gridlines and headings don't print unless you tick Print. Borders you have added always print.

The Page Setup dialog

Page Layout ▸ Page Setup opens the dialog with four tabs. Print Preview applies the settings and opens the Print screen. OK applies them.

Page tab

  • Orientation: Portrait or Landscape.
  • Scaling: Adjust to a percentage of normal size (10 to 400), or Fit to a number of pages wide by a number tall. Leave one of the two boxes empty for "as many as needed".
  • Paper size: A4, A3, A5, Letter or Legal.

Margins tab

Top, Bottom, Left, Right, Header and Footer, in centimetres. Under Center on page, tick Horizontally or Vertically to centre the printed cells on the paper.

Header/Footer tab

A header prints at the top of each page and a footer at the bottom. Each has a Left section, a Center section and a Right section.

  1. Pick a ready-made Header or Footer from the list: Page 1, Page 1 of ?, the sheet name, the file name, or "Confidential, date, Page 1".
  2. Or click in a section box and type, using the buttons to insert codes:
Button Code Prints
Page Number &P The page number
Number of Pages &N The number of pages
Date &D Today's date
Time &T The time
File Name &F The workbook's name
Sheet Name &A The sheet's name

For example, a footer of Page &P of &N prints "Page 2 of 5", and a left header of Sharma Traders, Nashik prints the shop's name on every page.

Sheet tab

  • Print area: the cells to print, like $A$1:$H$40. Leave it empty for all the cells in use.
  • Rows to repeat at top and Columns to repeat at left: the print titles.
  • Print: Gridlines, and Row and column headings.

Seeing the pages before you print

Page Break Preview

View ▸ Workbook Views ▸ Page Break Preview, or the third view button in the status bar, shows where the pages break:

  • The cells that print are white, with "Page 1", "Page 2" and so on across them. The rest is grey.
  • Blue lines show the breaks: dashed where Ganit breaks the pages, solid where you added a break.
  • Drag a blue line to move a break. Drag it off the printed area to remove it.
  • Drag the thick outer border to change the print area.

Page Layout view

View ▸ Workbook Views ▸ Page Layout, or the second view button in the status bar, shows the sheet on its printed pages. You can select and type in cells there as usual.

To add a header or footer, click Add header at the top of a page or Add footer at the bottom. Type in the three boxes, then press Enter.

Normal (the first view button) goes back to the usual view. Each sheet remembers its view, and it is saved in the .xlsx file.

Printing

Click File ▸ Print…, or press Ctrl+P (⌘P on a Mac). The Print screen shows the settings on the left and the pages on the right.

The Print screen for the Salary Sheet template: Print and Save as PDF buttons, Print Active Sheets, Landscape Orientation, A4, Normal Margins and Fit All Columns on One Page on the left, and page 1 of 1 on the right.

Setting Choices
What to print Print Active Sheets, Print Entire Workbook or Print Selection
Pages From one page number to another. Leave both empty for all pages.
Orientation Portrait Orientation, Landscape Orientation
Paper A4, A3, A5, Letter, Legal
Margins Normal, Wide, Narrow, Custom Margins
Scaling No Scaling, Fit Sheet on One Page, Fit All Columns on One Page, Fit All Rows on One Page, Custom Scaling

Changes made here are saved with the sheet, as on the Page Layout tab. Page Setup opens the Page Setup dialog. Custom Margins and Custom Scaling open it too.

To look through the pages, use ◀ and ▶ under the page, type a page number, or press Page Up and Page Down.

Click Print, or press Ctrl+P again. Your computer's print dialog opens, where you choose the printer and the number of copies.

Press Esc, or click ←, to go back to the sheet.

Note

Sparklines don't print yet: their cells print empty. Charts, pictures and shapes print.

Saving as PDF

To save the pages as a PDF file, for example to send a bill on WhatsApp or by e-mail:

  • On the Print screen, click Save as PDF. It saves the pages chosen under the settings.
  • Or click File ▸ Save as PDF…, which saves the active sheet's pages.

The PDF has real text that can be searched and copied, not a picture of the pages. It is named after the workbook, for example Tax Invoice.pdf. Hindi and Marathi text is kept in the PDF.

If the Print screen shows Use the fonts on this computer in PDFs, tick it to put the fonts installed on your computer into the PDF. Without it, Ganit uses its own fonts in their place.

For more on PDF files, see Opening, saving and sharing files.