Setup > Destinations > Destinations 

The software makes it possible to send a report to several destinations, in particular to all visible Windows(TM) printers on the network linked to the client workstation. You can also send reports to files or other destinations. To facilitate the choice and default destination assignment, it is recommended to centralise the description of these globally accessible destinations in this table.

Located in this table are the destinations, identified by a code, with the characteristics making it possible to have a sophisticated process for the choice and default assignment. You can also define if a Crystal Reports(TM) print server is used.

Prerequisite

SEEREFERTTO Refer to documentation Implementation

Screen management

Header

Fields

The following fields are present on this tab :

This code identifies the current record in a unique way.

  • Description (field DES)

Title associated with the previous code.

  • Short description (field SHO)

Short title over 10 alphanumeric characters.

Close

 

Entry screen

Presentation

The entry of the destinations is carried out on a single tab. Firstly the destination code is entered, then the principal characteristics are defined.

As well as its description, its short title, an Active flag and an access code to allow the filtering by user of the usage rights for the destination, the output type is found, and this can have the following values:

  • the pre-view (nothing else to enter)
  • the normal printer where additional characteristics are entered
  • the message and the file, for which a single format must be entered (in a list defined by local menu 91, comprising notably Word (TM), different versions of Excel (TM), Lotus 123 (TM), HTML, RTF format, ASCII, csv format...)
  • printer/file (the printer is defined to generate a file with a .prn extension, which contains all the code to be sent to the printer). The export format is then entered if necessary, then the Crystal Reports print server, and the printer in the form of a network name.

In addition it is possible to assign a destination type. This type, defined by local menu 22, possesses the following characteristics:

  • the first is a catch-all type (all reports are likely to be sent to destinations of this type).
  • the other types make it possible to establish specific categories (bar-code printers, fax, etc.), which can only be used by certain reports. Indeed, in the report dictionary, it is possible to define an output type dedicated to a report by using the same local menu. If this type is not the first, then there must be a link between the type assigned to the report and the destination type used.

Finally, it is possible to give a default value for the number of copies to be sent to the destination used.

Close

 

Fields

The following fields are present on this tab :

  • Active (field ENAFLG)

Select this check box to activate the current record.

Disabled records keep their content and setup but cannot be used by recalling their code:

  • On other records such as documents and settings
  • On mass processes

The authorizations for a given function can prohibit the creation of an active record. In this case, the check box is disabled by default. It can only be modified by an authorized user or through a signature workflow.

This access code makes it possible to prohibit access to the current record for some users.

If the field is populated, only users that have this access code with read access rights (and write access rights respectively) can view (or with write access rights, modify) the record.

The execution right associated with the destination controls the right to use this destination for the printing of a report.

  • Output type (field PRT)

It defines the destination of the report that is going to be calculated. If this field is assigned, most of the information of the next boxes is displayed. It should be noted that a destination code corresponds either to a printer, a file, a message, or a file containing the printing flow specified for a given type of printer.

  • Destination file (field PRTZPL)

This field is used to specify the name of the file generated for a ZPL type printer or the name of the directory in which the file is created. It must be indicated with the complete hard-coded path or in a formula (in the form = expression).

If the file ends with one of these two characters '/' or '\', this latter is considered as a warehouse directory for the files and in this case, the file generated in the PAT sub-directory of the folder is copied to the directory. The name of the file to be used is made of the concatenation of the tree following elements: the code of the ZPL template, the number of the current process (adxuid(1)), and the current date and time of the processing server, generated under the format YYMMDDhhmmss.

If the field Server is entered, the user must specify a path available from the print server (for example: file://machine/directory/file).

If the field Server is not entered, you can specify a path in one of the following formats:

  • machine:port@path
  • /path 
  • c:\path

If the file name contains an "@", the file is copied by a system command from the processing server or from the customer.

In any case, it is important to set up the access rights to the machines correctly. 

In the Print function, this file name is suggested by default after the selection of the report destination.

  • Server (field PRTSRV)

Define the print server from which the report will be printed.

Update 8.0.0 and higher :

Cloud-based solution

Send a Sage help request with the IPP printer address so that it can be added to your Enterprise Management site in the Cloud. Then enter the locations of the server and the printer provided by the technical support.

  • Printer (field PRTNAM)

The printer name defined here will be proposed when the printing of the report. It must correspond to the name of a printer defined in the Windows configuration panel.

  • Export format (field PRTFMT)

When the issue is made to file, different formats are available for selection here. This list of formats depends on the version of Crystal Reports, it is likely to evolve with time.

  • Type (field PRTNAT)

This field is used to assign a type to the destination. This type, defined by local menu 22, possesses the following characteristics :

  • the first is a catch-all type (all reports are likely to be sent to destinations of this type).
  • the other types make it possible to establish specific categories (bar-code printers, fax, etc.), which can only be used by certain reports. Indeed, in the report dictionary, it is possible to define an output type dedicated to a report by using the same local menu. If this type is not the first, then there must be a link between the type assigned to the report and the destination type used.
  • Number of copies (field NBRCPY)

This is used, in case of a printer output, to give a default value to the number of copies to be performed.

  • Assembled copies (field ASSCPY)

If several copies are requested, and the box is checked, the pages are assembled before printing the next exemplar. Otherwise, each page is repeated. For instance, for the printing of two copies of three pages :

  • if this box is checked, the page order will be 1, 2, 3, 1, 2, 3
  • if this box is not checked, the page order will be 1, 1, 2, 2, 3, 3

Close

 

Specific Buttons

Error messages

In addition to the generic error messages, the following messages can appear during the entry :

Printer not available

A path has been entered for a printer that is not recognised by the system

Tables used

SEEREFERTTO Refer to documentation Implementation