Skip to main content.
Index | Support | Documentation | FAQ

Send a definition file to a different printer?

Normally any definition file you print will go your your default document printer. However, there are times where you want to send it elsewhere e.g. labels.

You should use the .PR (or .DP) command at the beginning of the definition file. For example, if you have a label setup and your label printer is printer C then:


---
.PR C

&client
&address1
etc.
----

Will do it for you.

Ah you say, you have a label printer beside each screen or you are at a different site and you want to print to YOUR label printer.

Two ways:

  1. Setup multiple definition files with different names, yes it will work but a little bit of a guddle.

  2. In addition to the standard 26 printer letters A...Z the .pr command also knows about YOUR current printer settings.

    You have three printers available to you all the time:

    1. Your main document printer
    2. Your label printer
    3. Your point of sale printer.

    These printers are setup to be specific to your terminal and should be set so they default to the printer most convenient for you. (see FAQ on setting terminal defaults for details on how to change).

If you use .pr 2 then this will automatically use your label printer, .PR 3 will use your POS printer.

This way you have ONE definition file that is the same for all screens and the system knows which printer to use automatically. So in our earlier example, change .PR C to .PR 2 and the same file can be used for any screen at any site.