| # Selecting a print device After specifying what you want to print, you can specify a print device in the Select Device (ttstpsplopen) session. You can print to the following: A printer Your screen A file A message Printing to a printer In the Select Device (ttstpsplopen) session, click the Printer tab. Specify the printer in the Device field. If the system manager has defined a default printer, LN uses that printer. Note LN cannot use the default printer: If the report width is greater than the paper type width. If the paper type defined for the report is different from the device paper type. In these cases you must select a printer. You can select these devices types:
Printer | Only applicable for a Unix printer using the LN printer daemon.
Direct | Only applicable for a Unix printer without using the LN printer daemon.
Windows printer | Only applicable for a Windows network printer or a Local printer
Logical printer | Only applicable for a logical group of Unix printers
Note For some output devices it is supposed that specific software is installed and configured on the LN server or on the Client. Examples If you select a device that sends your report to Microsoft Excel then MS Excel must be installed. If you select a device that sends your report to a Unix printer (Device type: Printer or Logical printer), the LN printer daemon must be up and running on the LN Unix server. If you select a device that sends your report to Business Objects Enterprise, the Business Objects (TM) Xi Integration Kit for Baan must be installed and configured. Displaying the report on your screen In the Select Device (ttstpsplopen) session, click the Display tab. In the Device field, select a device of the device type Screen. The report is displayed on your screen and the Display Browser starts. Printing to a file In the Select Device (ttstpsplopen) session, click the File tab. In the Device field, select a device of one of the following device types: Rewrite file Append to file Specify a file name in the Output File field. The file is stored in your home directory on the LN server. A File device can be configured by the LN System Administrator to print your report, for example, to an Excel worksheet. This table shows several examples:
Description | 4GL Program | Argument
ASCII file | ttstpconv | ASCII
Excel file | ttstpconv | ASCII:excel
HTML file | ttstpconv | HTML:iexplore
Notepad file | ttstpconv | ASCII:notepad
RTF file | ttstpconv | RTF:winword
Business Objects Enterprise | <empty> | XML server=ssssss port=pppp
Send report to E-mail address(es) | ttcmfprint | outlook
You can use an ftp program or another UNIX program to copy the file to your own computer. Sending a message To send the document to an e-mail address: In the Select Device (ttstpsplopen) session, click the Send Message tab. Enter the subject of the message and, optionally, a list of the categories to which it belongs. Specify the delivery options. If you want the message to be delayed, enter the time after which it can be delivered in Deliver After. If you want the message to be deleted after a certain time, enter this time in Expire After. The valid format is the standard LN yyyymmdd hhmmss. You can specify a template and charge code only if the message is a fax. You can enter the message body text by pressing Message. You can enter the message recipients by pressing Recipients. If you do not add recipients to the message, the message is always forwarded to the client service, for example, Outlook. Printing or sending the message Click Continue to start the printing. Printing at a specified date and time Enter the date and the time in the Date and Time fields of the Select Device (ttstpsplopen) session. Document date LN prints the report creation date and time on the document. This is the date and time when the data is retrieved from the database. The document date is independent of the date and time when the report is actually printed. |