Device Management ProceduresYou use the device management procedures to create devices, and specify the paper types and fonts for the printouts. With the main steps in the device management procedures, you can create a range of devices that can be used to view or print data that is processed by LN. Ensure that the physical printers are installed on your operating system. If the printers do not exist on the operating system, see the appropriate installation manual for your operating system. A printer in an LN environment must have a printer information file or printer device driver, which will contain the printer commands, for example, <Esc>, and <Ctrl>. The printer information file also contains the sequences for fonts, reverse video, underlining, and bold. The most important steps in the device management procedures are described here. For detailed instructions on how to specify data in the sessions that are mentioned in the procedure steps, see The Device Management sessions. Before LN can print the processed data, you must create the devices and the associated data: Step 1. Create paper types You must define the characteristics of the paper that can be loaded in a physical printer in the paper type. You can define specific paper types for every type of output. For example, if you want to print paychecks, you must define the characteristics of the preprinted checks that must be loaded in the printer. LN reports can be printed on different types of devices, for example output files and printers. A printer is always linked to a certain paper type. You must define for each paper type the specific fonts that are applicable for the printout.
Step 2. Create the fonts for the paper types You must define the fonts to use per paper type. The fonts define how many characters can fit on one line and how many lines can fit on a sheet of paper. You must also define the width and height of the sheet of paper. LN uses these dimensions to check whether the report fits on the selected paper type
Step 3. Create devices You must create the devices to which LN can send reports. These devices can be physical devices such as printers or logical printers, but a device can also be a file.
Step 4. Optionally, create logical printers You can group printers in close proximity into a logical printer. When a user sends a print request to a logical printer, the printer daemon checks the paper type of each printer in the logical printer, and automatically directs the output to the first printer in the logical printer that contains the required paper type.
| |||