Products   Support   Download   Contact

USING THE SAMPLE ELECTRONIC FORMS

Contents | Index | About the Icons

Abstract

This document explains how to use the sample Electronic Forms which ship with ScriptServer for OpenVMS.

Please Note

After placing the downloaded file on your OpenVMS system, you must set the file attributes (so that it can be recognized by the BACKUP utility as a saveset) with the following command:

   $ SET FILE/ATTR=(RFM:FIX,MRS:32256,LRL:32256) SAMPLEFORMS.BCK

Using the Sample Forms

To install the sample forms, first restore the contents of the saveset:

   $ BACKUP/SELECT=*.* SAMPLEFORMS.BCK/SAVE []

The saveset includes a command procedure that installs two sample forms for a fictional mattress manufacturing company, ZZZ Mattress. There is a sample invoice and purchase order form.

The command procedure places several modules in the ScriptServer device control library, so it requires write access to the device control library, SYS$LIBRARY:SSV$DEVCTL.TLB. You can provide this by either stopping all ScriptServer queues or by making a copy of the device control library. If you copy the file, make sure that the copy is placed in SYS$COMMON, e.g.:

   $ COPY SYS$LIBRARY:SSV$DEVCTL.TLB SYS$COMMON:[SYSLIB]

The command procedure will:

To execute the command procedure, type:

   $ @ZMAT

You're now ready to use your sample forms. Two text files (ZMAT_PO.LIS and ZMAT_INVOICE.LIS) are included that work with the forms. To print them:

$   PRINT/QUEUE=queue-name/FORM=ZMAT_PO ZMAT_PO.LIS
$   PRINT/QUEUE=queue-name/FORM=ZMAT_INVOICE ZMAT_INVOICE.LIS
© 2020 GrayMatter Software Corporation