---
title: Print Reports and Change Layout
slug: help/en-us/dairycomp/reports-layout
docTags: 
createdAt: 2026-01-26T11:43:20.202Z
---

There are three ways to print a report that is currently being displayed in the browser:

- Press the **P** key on your keyboard.
- Click the printer icon on the toolbar.
- Select **Print** from the File menu.

::::ExpandableHeading
## Activate a New Printer

:::hint{type="info"}
**NOTE:&#x20;**&#x42;efore you continue with the procedure below, close DairyComp. If the printer has already been installed (per step 1), close and reopen the program.
:::

Follow the steps below to activate and test a newly installed printer:

1. Confirm that the printer is installed correctly by checking your **Printers and scanners** settings in Windows (see example below). Make sure the printer is installed correctly, according to the instructions that came with the printer. Run the CD or download the printer drivers if necessary.

   ::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/b_Nw6szKAvDGcW1MDcEcP_install-printer1.png" size="32" width="624" height="506" position="flex-start" darkWidth="624" darkHeight="506" showCaption="false"}
2. Once the printer is installed, open DairyComp and type **SETUP** in the command line to open the **SETUP** window.
3. Select the **Printer** tab in the SETUP window, and select the new printer in the drop‑down LIST under **Printer**.

   ::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/M-W2z-Hft12f0v-ifpyfg_install-printer4.png" size="32" width="650" height="560" position="flex-start" darkWidth="650" darkHeight="560" showCaption="false"}
4. After you select the new printer, you can test it by clicking the **Test Printer** button.

   ::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/QXS11cJljWjqkPGcXbxV3_install-printer3.png" size="32" width="624" height="495" position="flex-start" darkWidth="624" darkHeight="495" showCaption="false"}
5. <font color="#67854E">**Recommended\:**</font> Restart DairyComp after making changes to the Printer SETUP options.

If printing is enabled through the SETUP command or by toggling the Prt option in the status line to **Prt ON**, reports created by the LIST command automatically print when they are generated. Reports created with the SHOW command display on the Grid and Report pages.

:::ExpandableHeading
**Click here to set up a SHOW report to print by default.**

1. In the command line, type **ALTER**. Then, press the **Enter** key to open the **ALTER options** window.
2. Select the **Commands** option to open the **ALTER3 : Command Abbreviations** window.

   ::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/imkN2ofuUtO4urAKKUTS1_alter-options.png" size="32" width="350" height="242" position="flex-start" darkWidth="350" darkHeight="242" showCaption="false"}
3. Double-click a command using the SHOW action verb. DairyComp displays a pop-up window for the command.

   ::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/mZMINmfIUMCrLIU9Kw1mU_command-abbrev.png" size="32" width="837" height="670" position="flex-start" darkWidth="837" darkHeight="670" showCaption="false"}
4. In the **Content** field, replace SHOW with LIST.
5. Click **OK** to confirm the replacement. The Stored Abbreviation window confirms the change was successful.

   ::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/ph7w9TZ7wxkyJ37IvljWj_show-to-list.png" size="32" width="1039" height="260" position="flex-start" darkWidth="1039" darkHeight="260" showCaption="false"}
6. Click **OK** to return to the ALTER3 : Command Abbreviations window.

   ::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/2C3ehafx9ms43t1wYf24d_stored-abbreviation.png" size="32" width="497" height="182" position="flex-start" darkWidth="497" darkHeight="182" showCaption="false"}
:::
::::

You can also change the way reports display on screen and in print using various switches and syntax. See the topics below to learn more:

:::ExpandableHeading
## Display Reports in Multiple Columns

To have your reports display in multiple columns, add the "page mode" <font color="#EAB308">`\P`</font> switch to a SHOW or LIST command. For example, **SHOW  ID** **LACT FOR LACT >3 \P** creates a report that looks like this.

::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/i8MaZZuqCRczVleo-VjL0_multicolumns.png" size="32" width="1156" height="617" position="flex-start" darkWidth="1156" darkHeight="617" showCaption="false"}

You can also control the number of columns by adding the desired number of columns to the \P switch, as in **SHOW** **ID** **LACT FOR LACT >3 \P3.**

::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/0t8KQLxledXmH6wFLh8q0_numcolumns.png" size="32" width="926" height="592" position="flex-start" darkWidth="926" darkHeight="592" showCaption="false"}

DairyComp automatically decides how many columns can be printed based on the length of the report and whether or not the report is compressed (using the `\C` switch; see [How do I print a compressed report?](docId\:WTYClhIrNVX1r-87xCeay) to learn more).
:::

:::ExpandableHeading
## Specify Field Widths

You can change the way LIST and SHOW reports display by specifying field widths for items. To do so, enter the item code in the command line followed by a colon (:) and the amount of spaces you want the data displayed within.

Let's look at an example:

<font color="#6b7280">  </font>****<font color="#F97316">**\:6** </font>**FDAT**<font color="#F97316">**\:4**</font> **FDAT**<font color="#F97316">**\:2**</font>

This command returns the fresh date (FDAT) of animals in three columns, all with different widths (6, 4, and 2).

::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/Nc-kOtNF9PdCMGC3fiua8_reportlayout1.png" size="32" width="1023" height="584" position="flex-start" darkWidth="1023" darkHeight="584" showCaption="false"}

Sometimes, you'll want to shorten the length of a field to save space in your report. This can be helpful with the DIM (days in milk) item, which normally displays in five (5) spaces but almost never requires that much space. In this case, you can shorten the DIM item in your reports to three spaces:

<font color="#6b7280"> </font>****<font color="#F97316">**\:3**</font>

When you specify a field width for an item, then any results that would normally need more spaces than the number of spaces specified will show as an asterisk (\*). For example, if you enter the following command, you're telling the system to display DIM in both three and two spaces:

<font color="#6b7280">  </font>****<font color="#F97316">**\:3**</font> **DIM**<font color="#F97316">**\:2**</font>

In this case, you can see that DIM values that require three spaces (e.g., 579, 767) show properly in the first column, but show as an asterisk in the second column.

::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/7KyQYqtmlOyeQ-Gl8vn2Q_showpens.png" size="32" width="822" height="421" position="flex-start" darkWidth="822" darkHeight="421" showCaption="false"}

You can also add underlines to results (as a visual separator, for instance) by specifying a width greater than 100. Any spaces you specify over 100 control the width of the underline. Therefore, if you enter the following command:

<font color="#6b7280">  **\:6** </font>****<font color="#EAB308">**\:108**</font> <font color="#6b7280">**\:3**</font>

You're telling the system to display the MILK item as an underline, *and* telling it to make the underline eight (8) spaces wide.

::Image[]{src="https://api.archbee.com/api/optimize/3h8pSJcGUXEi4HGCCYPTA/uuu1hXwpLypaJiu0E2wvh_underlines.png" size="32" width="733" height="371" position="flex-start" darkWidth="733" darkHeight="371" showCaption="false"}
:::



