Skip to main content

Print-on-save options

Two options in the Print window decide what the program does right after you add a new document, when advanced printing is on for that kind of document. One prints the document at once with your default template. The other opens the Print window so you choose. This page explains both, the windows that use them and where they are kept. The fields of the window are in Print window of advanced reports.

The two options​

OptionWhat it doesDefault
Print automatically when savingAfter you add a new document, the program prints it with your default template for that kind of document and does not show the Print window. If you have no default template, it shows the Print window instead.Cleared
Show this window automatically when addingAfter you add a new document, the program opens the Print window.Cleared
  • You cannot tick both. Ticking one clears the other.
  • With both cleared, the program does not print or open the Print window after the document is added.
  • The options are not kept for each document type. You have one pair of options, and it applies to every window listed below.
  • The program saves them for the user in the company file, when the Print window closes. Another user has their own pair.
  • If both were ever saved ticked, Print automatically when saving is checked first and wins.

In the journal entry and packing list windows the default template is shared with other windows. See What the default belongs to.

What happens after you add a document​

The program checks the options in this order:

  1. Print automatically when saving is ticked and you have a default template for this kind of document. The program prepares the document with that template, right to left if the template has Right-to-Left Layout, and sends it to print. This is the same operation as the Print button of the window. The Print window does not appear.
  2. Print automatically when saving is ticked but you have no default template, or the saved one was deleted. The Print window opens so you choose a template.
  3. Print automatically when saving is cleared and Show this window automatically when adding is ticked. The Print window opens.
  4. Both are cleared. The program does not print or open the Print window.

How the default template is chosen and saved is in Template storage, sharing and defaults. The short version is also in Printing after saving.

The windows that use them​

The options apply right after a new document is added in these windows, and only when the matching option of printing with advanced reports is on in Program Options > Display:

  • The invoice windows. After a new invoice is added the program always starts a new invoice, after the printing or after the Print window closes if it appeared.
  • The journal entry window.
  • The receipt voucher and payment voucher windows.
  • The packing list window.

Other windows do not use these options. See Print documents with advanced reports for the program options and the buttons.

The options work on new documents only. Saving a change to an existing document does not print.

The Print window​

The Print window is where you set the options. It opens when you click Print in a document window with advanced printing on.

PartWhat it does for the options
TemplateThe list of your templates and the shared templates of this document type. The template shown when the window closes becomes your default template for the document.
Print automatically when saving and Show this window automatically when addingThe two options of this page. They start with the values saved before.
Print, PreviewPrint or preview the open document with the chosen template. The window stays open.
DesignOpens the designer on the chosen template.

When the window closes, by any button or by the close button, the program saves the two options as they are in the window, and saves the shown template as the default. It does so even if you changed nothing. See Print, preview and print options for every field and button.

Example: print every new sales invoice​

You want each new sales invoice to print as soon as you add it, with the template Sales Invoice A5.

  1. Open any saved sales invoice and click Print. The Print window opens.
  2. In Template, choose Sales Invoice A5.
  3. Tick Print automatically when saving.
  4. Close the window. The program saves the option and Sales Invoice A5 as the default for this sales invoice type.
  5. Add a new sales invoice and save it. The program prints it with Sales Invoice A5 and starts a new invoice.

Each invoice type has its own default template. For a purchase invoice, open a saved purchase invoice, choose its template and close the Print window. The option stays ticked.

If something goes wrong​

What you seeWhy it appearsWhat to do
Nothing happens after you add a documentBoth options are cleared, or the window does not use these options.Tick one option in the Print window, and check the window in the list above.
The Print window opens although Print automatically when saving is tickedYou have no default template for this kind of document, or it was deleted.Choose a template and close the window.
The document prints with a template you did not expectThe default is the template that was shown when you last closed the Print window for this kind of document. In the journal entry and packing list windows, it can be the last closing in another window that shares the default with them.Open the Print window, choose the right template and close it.
The Print window appears after every saveShow this window automatically when adding is ticked.Clear it, or tick Print automatically when saving instead.

This page applies to alameen ERP 10, version 10.1.79.764.