Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Print a schedule

Goal: put the schedule on paper, or in a PDF, as pages with a header and a legend, and save a picture of the first page. The pages hold the rows you are looking at, in the order you see them.

Page 1 of 3 of the printed office fit-out sample: a header with the file's name, the data date and the page number, the task list with Task, Dur, Start, Finish and Float columns, and the chart beside it
Page 1 of the printed office fit-out, as Save image (PNG) saves it: a long name stops inside its column. This still was taken when dates printed with their time; they now print as the day alone.

By hand

  1. Print. Press Ctrl+P. The browser’s print dialog opens. Pick a printer there, or the browser’s “Save as PDF” destination, to get a file. The browser does the saving; the chart has no PDF button.

    On this page, you can also click Open… in the toolbar and choose Print…. The menu closes and the browser’s print dialog opens.

  2. What a page holds. Every page is US Letter, landscape, whatever the size of your window. A header runs across the top: the file’s name, Data date: YYYY-MM-DD HH:MM, Page 1 of 3 and Printed with today’s date. Under it are the task list and the timeline, with the axis, the bars, the links and the data date line as they are on screen. A legend at the foot names the colors: Task, Critical, Deadline, Start constraint, Finish constraint, Summary, Dependency, Data date, Non-working day, Proposal ghost and Just-moved outline. A page takes 25 rows, so a schedule of 59 rows prints on 3 pages.

  3. Which columns. The columns of the task list as it stands: Task, Dur, Start, Finish and Float, and the variance cells once a baseline is set. A column you hid in the Columns menu is left off the page, and Free float, which the menu starts hidden, prints once you show it, and the columns print in the order you gave them there. The five cells of the Progress button print while they are on and are left off the page while they are off, and a file with an ID or WBS column prints it. A date prints as the day (2026-10-05) without its time. The variance columns are headed Start var., Finish var. and Float var. on the page, and a WBS code too long for its cell keeps its end behind an ellipsis (…PACKAGE.12). The list text is 11 px; when the columns would not all fit whole it shrinks, to 9 px at the least, and then the chart gives up width (down to 48 px) before a column is cut. Hiding a column changes the printout only: Copy and CSV still hold every column.

  4. Which rows. Every row the list shows, in order: a collapsed branch prints as its summary row alone, and a filter prints only the tasks it keeps. A filter shows in the header, as Filter: critical after Critical only, or Filter: code Trade = Framing and Filter: status in-progress with the value that is on. A Lookahead window shows there too, as Lookahead: 2027-02-05, 3 weeks; with no window the header has no such text. To print part of a schedule, select a range of rows first (click a row, then Shift+click another); only those rows print, and the page count follows. Escape ends the range.

  5. A long schedule. At most 100 pages print. A schedule of 50,000 tasks fills all 100, and the last page says 47500 rows not printed. Select a range to print them. Select a range, or filter, to print the rows that did not fit.

    To select a range of rows, see Build a schedule from the keyboard.

  6. Letter, or A4. Ctrl+P prints on US Letter. A product can print on A4 instead: the pages are A4 landscape (the same 25 rows to a page, on A4’s own size), and the browser’s print dialog opens on A4. It is for that one print: the next Ctrl+P is Letter again. There is no other paper size.

    On this page, click Open…, then Print on A4…; Print… in the same menu prints on US Letter.

  7. Save a picture of the first page. The picture downloads as <file name>.png, the first printed page 2,112 by 1,632 pixels on a white background. It has the columns the screen shows, in the screen’s order, as the printed pages do. Only page 1 is in it; the picture does not open the print dialog.

    On this page, click Open…, then Save image (PNG). The picture of the office fit-out sample is office-fitout.png.

  8. Keep a print setup. A layout keeps the row filter, the Lookahead window and the list columns as the screen shows them (the Columns menu’s hides and order, the Progress and Variance buttons), under a name. A schedule you open later, another one or the same one next month, starts with its own columns; applying a kept layout by name puts that setup back on it. A line under the toolbar says what went in, and names any part the schedule could not take (a filter that needs a baseline it has not, or a column it has none of); a part not applied changes nothing. A layout does not hold the paper or a date range.

    On this page, click Open…, then Save layout…, and type a name. This browser keeps it: the layouts stay in this browser only, and another browser or another person’s computer has none. To put one back on a schedule, click Open…, then Apply layout…, and type one of the names it lists.

  9. What is not built. Choosing a date range, and picking printed columns apart from the screen’s, are on What’s coming.

Where it is checked

  • packages/gantt/tests/print-pages.spec.ts asserts that beforeprint puts one SVG per page on the sheet and afterprint removes them, that printing leaves the scroll and zoom as they were, and that a column hidden in the Columns menu is not on the page.
  • packages/gantt/tests/print-sheet.spec.ts asserts the plain text sheet that prints when no page was filled.
  • packages/gantt/tests/journey-j5.spec.ts prints a filtered schedule and checks that every page has a header and a legend and that the pages hold every shown row in order, then that printOn("a4") prints A4 pages and the next print is Letter.
  • apps/hosted/tests/print.spec.ts asserts that print media shows only the pages and that the saved PDF is Letter landscape (792 by 612 points), and that Print on A4… closes the menu and prints A4 landscape pages (842 by 595 points) once, with Letter again after it.
  • apps/hosted/tests/print-menu.spec.ts asserts that Print… closes the menu and calls window.print once.
  • apps/hosted/tests/export-image.spec.ts asserts the picture’s file name, PNG signature and size.
  • apps/hosted/tests/layouts.spec.ts saves a layout from the File menu, reloads on another sample, applies it and checks the same columns in the same order.
  • crates/app/tests/print_columns.rs checks that the columns a page prints are the ones it is told, in that order, that a hidden Float leaves the name column its width, that a date prints as a day, that the list text stays at 9 px or more and that the timeline names its months.
  • crates/app/tests/print_pages.rs, print_lookahead.rs and print_legend.rs check the names on the pages against the visible rows, the page count, the header’s data date, filter, Lookahead window and print date, the left-out line, a range and the legend; print_pages.rs also checks the A4 layout.