Skip to main content

Design or change a print template

In this task you design a print page for a sales bill: a title, the customer data, a table with the bill lines, a header and a footer. Then you preview it with the data of a real bill and save it as a named design. The example is sales bill number 5 for Alnakheel Est. You change an existing design the same way. Every command is explained in Print designer.

Before you begin​

  • To save a new design you need the permission Print Templates - Add. To save a change to an existing design you need Print Templates - Modify. You find them in Users Management > Operations > General. Without them you can design and preview, but you cannot save.
  • Save a bill to preview the design with. The preview reads the data of the bill you opened the designer from.
  • Do not follow these steps if the program option for printing with advanced reports is on: another designer opens then. See Design an advanced report.

Steps​

Open the designer​

  1. Open sales bill number 5 and click Print. The Printing Bill window appears. See Print a bill.
  2. Click Design. The print designer opens on the design of the Main Form, and its title is the design name. The print windows of vouchers, cheques and other documents have a Design button too.
  3. To start a new design, click File > New and choose Blank document. If the current design has changes, the program asks "Want save changes to …?". An A4 portrait page appears, with a small grey line and the page number at the bottom. For ready-made templates and files see Import or download a print template.

Set the page​

  1. Open Page Layout. From Size choose your printer paper, such as A4. From Orientation choose Portrait, and from Margins choose Normal. For margins of your own, click the small button in the corner of Page Setup to open Page Setup.

Add text and fields​

  1. Click at the top of the page and type the document title: Sales Bill. Select it, then on Home choose Center (Ctrl+E) and make the font bigger.
  2. If the field list is not shown, choose View > Field List.
  3. Click in the page where you want the customer data and type the label: Customer:. Then double-click the field you need from the bill fields group in the list. The field goes in at the cursor and shows with its title between two marks. You can also drag the field to the page.
  4. Repeat step 7 for each item you want, such as the bill number and date. Do not type between the marks of a field: typing there is cancelled.

Add the lines table​

  1. Click in the page under the data, then choose Insert > Tables > Table. Move the mouse over the grid to select 4 columns and two rows, and click. The program inserts the table and puts the cursor in a cell of the first row.
  2. In the field list, open the bill lines group. With the cursor in a cell of the first row, double-click the first field, such as the material name. The program writes the field title in the cell, puts the field itself in the cell below it, and moves the cursor to the next cell in the row.
  3. Repeat step 10 for the other columns, such as quantity, price and total. Hold Ctrl while inserting if you do not want the program to write the title.
  4. Click inside the table. From Table Tools > Design > Table Styles click Table Styles and choose a style. The program applies it at once. Click Close.

Header and preview​

  1. Choose Insert > Header & Footer > Header, type the company name Alnakheel Est., then click Close Header & Footer.
  2. Click Preview on Home. The program reads the data of bill number 5 and shows the pages as they will print, with the words "Initializing...", "Reading Data..." then "Generating Preview...".
  3. Check the page. If something needs changing, click Design, change it, and preview again.

Save​

  1. For a new design click File > Save As, type Alnakheel bill, and click Save. For an existing design click Save or press Ctrl+S.
  2. Click File > Close to close the designer and go back to the print window.

Result​

The program saves the design under its name in the database for this document type. A new design is yours alone. To make it available to other users, share it from Manage print designs. The print and preview windows pick it according to the program options. See What the lists show. Every later print with this design uses its new look.

Designing changes nothing in the accounts or in the stock.

If something goes wrong​

Message or stateWhy it appearsWhat to do
You don't have sufficient permissions to save the document.You save without Print Templates - Modify.Ask for the permission.
You don't have sufficient permissions to create documents.You save a new design without Print Templates - Add.Ask for the permission.
You can insert "…" field into table only.You tried to insert a bill lines field while the cursor is outside a table.Insert a table and put the cursor in it.
All fields must belong to the same data set.The table holds fields of a group other than the new field's.Use fields of one group in one table.
… already exists. Do you want to replace it?In Save As, the name is of a design of yours that exists.Ok to replace, or Cancel and type another name.
An error occurred while generating preview.The preview could not be generated.Click Design, check the fields and preview again.
Save is not shown in the quick access toolbar.You do not have Print Templates - Modify.Ask for the permission.
note

Opening a design from File > Open replaces the current page without asking about unsaved changes. Save your work before that.

This page applies to alameen ERP 10, version 10.1.79.764.