P
art 3 is the administrators guide and covers the Administration menu of LP Plus (dccadmin). This part assumes the person installing printers understands printer device names and basic networking if setting up network printers. For more technical information about LP Plus and advanced functions refer to Parts 4 and 5 of this manual. Part 3 addresses LP Plus administration tasks including:Adding, modifying, and deleting local, network and remote printers.
Adding, modifying, and deleting printer classes.
Security.
Standard and advanced forms.
Printer control files.
Printer translation tables.
Default settings.
Message system.
Registration.
System information.
Network daemon administration.
System health check
Administering LP Plus
consists of setting up printers and printer classes, system defaults, user security,
forms, print control, and turning on and off system daemons. Many of these items require
no change after initially being set up. The person who administers LP Plus should have a
good understanding of the current print environment including printer device names, serial
printer settings, network host names, user requirements, any forms used, and any special
requirements such as print control (e.g. landscape or compressed printing). If there is no
one at your site that fits this description, then it is likely your software provider does
this for you. The command to enter LP Plus Administration is "dccadmin". The
main screen is where all of the administration functions described in Part 3 are accessed.
To add a new printer to LP Plus, select "Setup" and then "Printer Configuration" from the LP Plus Administration main menu. Displayed is the printer configuration menu where printers are added, modified, and deleted (see following example). A print destination must be added to LP Plus before print jobs can be sent to it. Printer configuration is very similar for all printers with the exception of the method by which printers are connected to the system (e.g. local, remote, or network).
The basic information required to add a printer to the LP Plus system is the "Printer Name" (usually the name of your existing UNIX lp printers), "Printer Mode", and the physical device of the printer. Press the "?" key in any of the fields for help on the field. Press the function key <F4> or (<CNTL> + f then 4) for choices where choices are available. After adding or modifying the printer it must be updated using the function key <F3> or (<CNTL> + f then 3) for changes to take affect.
The three steps for adding a printer are:
Enter the name of the new printer in the "Printer Name" field and press [ENTER].
Fill in the connection mode, device name, and other printer properties shown in the following example.
Update (save) the new printer and its configuration by pressing the function key <F3> or (<CNTL> + f then 3).
Following is a description of all of the printer configuration fields with specific information for setting up the three different types of printer connections.
The first screen of the printer configuration menu consists of the following information:
Printer Name: The name you would like to use for this printer destination. It is recommended that 8 characters or less be used. If you already have printers set up through UNIX lp, you may want to use the existing names.
Printer Mode:
The method by which the printer is connected to the system. Select "Choices" by
pressing the function key <F4> or (<CNTL + f then 4) to get the mode choices
dialog and select the appropriate mode. A complete description of the modes follows. Modes
are grouped by type of connection (local, remote, or network). After selecting the
appropriate mode, the next field prompts for the "UNIX Device Name" which is the
full path to the device (see "UNIX Device Name" on pg. 3-7).
"serial" - A printer
connected by a serial line. NOTE: If the serial line parameters for your printer are
not the default (9600, even, 7, 1, with software flow control), you will need some
knowledge of stty parameters before continuing. You may have to alter the line
discipline "stty parameters" if the current settings are not 9600 baud, 7 data
bits, 1 stop bit , using even parity. An example of a serial port would be
/dev/term/tty006. After selecting the serial mode, the screen shown in the following
example prompts for any changes to the serial line settings. Press <F4> or
(<CNTL> + f then 4) for field choices in any of the fields.
For more advanced serial line settings (stty parameters) press the function key <F1> or (<CNTL> + f then 1) twice after setting the initial port settings. The advanced stty parameters screen shown in the following example will be displayed. Use this screen to set or unset any advanced stty parameters.
"parallel" - A printer connected to the parallel port. Enter the full path for the parallel port. An example would be /dev/lp0.
"directory" - An existing directory for printing. LP Plus can print files to a directory. An example for this would be a directory called /reports/save for saving print jobs with LP Plus.
"pipe" - A named pipe. Use this mode for vendor supplied software used to route print jobs. Some network print server and terminal server vendors supply software filters for the print system to use. There is usually a better LP Plus mode to use as opposed to these filters (see a later section on Network Printers).
"scsi" - The printer is connected as a scsi device. Use the full path to the scsi device name (e.g. /dev/dsk/c0t5d0s0).
"system" - A printer connected to another UNIX host or a host that supports the LPD/LPR protocol. This mode is used to print to printers on other hosts. The host can be another UNIX system, Windows PC with TCP/IP software (or WinPrint also from Digital Controls), Novell server with LPD/LPR support (such as NovPrint from Digital Controls), a mainframe with TCP/IP, or any other system that supports LPD/LPR printing. The device for this type of printer is the host name of the remote system from the /etc/hosts file and the remote printer name. An example would be "hphost!printer3". Where "hphost" is the host name to which "printer3" is connected.
"LPPlus" - A printer connected to a remote UNIX host that has LP Plus installed and has the "dcclpdser" and "dccbkst" network daemons running (refer to the section on Network Management in Part 4 for information on LP Plus to LP Plus configurations). These allow one LP Plus host to get status information and control other LP Plus hosts. The device for this type of printer is the host name of the remote system from the /etc/hosts file and the remote printer name. An example would be "hphost!printer3". Where "hphost" is the host name to which "printer3" is connected.
"termserv" - A printer connected to a network terminal server. With LP Plus you can access a terminal server port directly without using any other software or reverse telnet. For the device you will need to know the host entry for the terminal server in the /etc/hosts file and the port address for the port the printer is connected to. An example would be "eqnx2!8004". Where "eqnx2" is the host name for the terminal server and "8004" is the port address for the printers port. Refer to the terminal server documentation for finding the port addresses.
"netprint" - A direct connect network printer that uses the LPD/LPR (UNIX) print protocol such as HP JetDirect. Most printers with network connections support the LPD/LPR protocol. The device for this type of printer is just the host name from the /etc/hosts file. An example would be "hpjet18".
"telnet" - A printer connected to a network terminal server with the port configured as a telnet port. For the device you will need to know the host entry for the terminal server in the /etc/hosts file and the port address for the port the printer is connected to. An example would be "eqnx2!8004". Where "eqnx2" is the host name for the terminal server and "8004" is the port address for the printers port. Refer to the terminal server documentation for finding the port addresses.
"annex3" - A special mode used only with Annex3 terminal servers with the reverse telnet protocol. Refer to your Annex documentation for information on device setup.
"fastport/p" - A special mode used only with the parallel ports on FastPort print servers. If you are using FastPort print servers and they support the LPD/LPR protocol try to use the "system" mode or go directly to the printer port using the "termserv" mode above.
"fastport/s" - A special mode used only with the serial ports on FastPort print servers. If you are using FastPort print servers and they support the LPD/LPR protocol try to use the "system" mode or go directly to the printer port using the "termserv" mode above.
UNIX Device Name: The device used for the printer as described above. This name depends on the mode selected. Refer to the mode information above for an example of the "UNIX Device Name" that corresponds to the mode selected.
Terminfo File for this Printer: Enter the terminfo type for the printer. The default of "dumb" will work with most printers. Change the terminfo type only if your application takes advantage of the terminal information database. Terminal information types can be found on most systems in the "/usr/lib/terminfo" directory.
LP Plus Pcap File: Enter the Pcap filename to be associated with this printer. A list of available Pcap files can be displayed by pressing function key <F4> or (<CNTL>+f then 4) for choices.
Should a Banner Page be Printed for each Report (y/n)?: Enter whether or not a banner page should be printed for each print job on this printer. The default is yes "y".
Sleep Time required for printer buffers to empty: Enter the number of seconds for LP Plus to wait to close the printer port after a print job completes. The default of 5 seconds will work with most printers. The symptoms of requiring a longer sleep time would be if the last pages of a print job get lost. This can occur when the printer buffer is not finished printing and LP Plus closes the port.
Default Form ID for this Printer: Enter the form name that should be used for this printer if no other is specified when the print job is submitted. This can be either an arbitrary form name or one specified through the LP Plus forms menu. Each print job submitted to a print destination, has a form name associated with it. The default is "stock". All print jobs will have the form name you enter here unless it is overridden using the "-f form_name" command line option of "dcclp".
Purge Delay Time in Seconds: The time in seconds for LP Plus to keep the print job in the queue after it has printed or been canceled. The default is 300 seconds. After a print job is completed it will remain accessible for this period of time. During this time, the print job can be restarted, viewed, moved, or any other function.
The second screen of
the Printer Configuration selection contains additional information for the printer (see
following example). This is accessed by pressing the function key <F1> or
(<CNTL> + f then 1).
Enter the Interface Script Name for Printing: Enter the printer interface to use for the printer. The interface selected is used as a template for the printers interface script when the printer is updated (saved). Press the function key <F4> or (<CNTL + f then 4) for choices. The default is determined by the mode selected and is the model that should be used unless you have previously customized an interface. The interface selected (from the $LPHOME/model directory) is copied to "$LPHOME/interfaces/printer_name" when the printer is created.
Should a form feed be appended after each report (y/n/s)?: Enter whether or not a form feed should be sent to the printer after each print job. Press <F4> or (<CNTL + f then 4) for choices. The default is yes "y". This can be used, for example, to eject the last page out of a laser printer.
The "s" option appends a form feed only if the job didnt end with a form feed.
Should a form feed be appended between each copy?: Enter whether or not a form feed should be sent to the printer between copies. Press <F4> or (<CNTL + f then 4) for choices. The default is yes "y".
Should LF be converted to CRLF?: Enter whether or not linefeed characters should be converted to carriage return/linefeed. Press <F4> or (<CNTL + f then 4) for choices. The default is no "n". This is used when printing from a UNIX application to a PC printer. The symptom of this not being set correctly is only a single line will print. This should be set to "y" when printing to an HP JetDirect type of network printer.
Translation Table for this Printer: Enter the translation table to use for the printer. Press <F4> or (<CNTL + f then 4) for choices. The default is standard (no translation). Translation tables are used to convert characters from application to printer. An example would be to convert all lowercase to uppercase characters. See the translation table section of the LP Plus Administration menu for more details on translation tables.
Attach Device: Enter the device where printer messages should be sent. The device attached to a printer is where messages about the printer will be sent. Messages such as attention required when LP Plus detects a problem with the printer and user alert when a print job requires a form change can be sent to a WinPrint client, a terminal device (including the printer), or a users login name. The default is the system console. An example would be to attach a users terminal to a printer so that all messages (form mounts, attention required, etc.) will be sent to the user.
Following is a description of the attach options:
WinPrint
Client - To send printer messages to a WinPrint client, WinPrint must be
installed and running on a Windows 3.11, 95, or NT client. Then the UNIX host with LP Plus
can send messages to it (see following example). Enter the TCP/IP host name of the
WinPrint client followed by an exclamation point (e.g. danspc!). The host name must
have an entry in the "/etc/hosts" file. Ask Digital Controls or your LP Plus
retailer for information about WinPrint.
Terminal Device - Enter the full path of a device or file name for message routing. This can be a users terminal, another printer, or an existing file name. An example would be /dev/term/tty006 for a serial terminal or /dev/lp0 to send printer messages to a printer.
Users Login Name - Enter the login name for a user. LP Plus will route printer messages to the first device where the user logs in. Provided the user logs out from the previous device, messages can follow a user.
Filter 2: Enter the second filter to use for the printer. There is no default. The filter can be any program that accepts standard input. An example of usage would be to send the output of a print destination to another program such as a fax software package or through a special lp filter.
Filter 3: Enter the third filter to use for the printer. There is no default. The filter can be any program that accepts standard input. The output from the second filter will be sent to the third filter.
This can be done with the printer disabled and the scheduler running, or on the fly.
To modify an existing printer, select "Setup" and then "Printer Configuration" from the LP Plus Administration main menu. Displayed is the printer configuration menu where printers are added, modified, and deleted. Enter the name of the printer or press the function key <F4> or (<CNTL> + f then 4) for printer choices (see following example) and select the printer from the list provided by pressing [ENTER].
Make any desired changes and press the function <F3> or (<CNTL> + f then 3) to update (save) the changes. Press the escape key to exit without making changes.
This can be done on the fly by first disabling the printer/queue.
To delete an existing printer, select "Setup" and then "Printer Configuration" from the LP Plus Administration main menu. Displayed is the printer configuration menu where printers are added, modified, and deleted. Enter the name of the printer to be deleted or press the function key <F4> or (<CNTL> + f then 4) for printer choices (see above) and select the printer from the list provided by pressing [ENTER].
When the printer you
wish to delete is displayed, press the function key <F5> or (<CNTL> + f then
5) to delete the printer. The dialog that follows prompts for confirmation. Press the
"x" key to delete the printer or any other key to stop the delete process.
The Printer Classes menu is where printer classes are created, modified, and deleted. A printer class is a group of printers that are printed to, based upon their availability (e.g. enabled or disabled) and the number of print jobs in the queue. Classes can be used for load balancing or for fault tolerance. Print jobs are sent to a class in the same way that they are sent to other LP Plus print destinations using the "-d printer_name" command line option of "dcclp".
A printer class name can not be the same name as a printer name
To add or create a
printer class, select "Setup" and then "Printer Classes"
from the LP Plus Administration main menu. The printer class maintenance menu will be
displayed as in the following example. This is where classes are added, modified, and
deleted. Enter the name of the class to add and press [ENTER].
After entering the name of the class to be created, the following window containing all existing LP Plus printers is displayed. By positioning the cursor on a printer and pressing the space bar, a printer is added to (an asterisk to the left of the printer) or deleted from the class (no asterisk). When the all the printers are marked for the class, press the function key <F3> or (<CNTL> + f then 3) to update (save) the class or escape to abandon the class.
To modify an existing
printer class, select "Setup" and then "Printer Classes"
from the LP Plus Administration main menu. The printer class maintenance menu shown below
is displayed. This is where classes are added, modified, and deleted. Enter the name of
the class to modify and press [ENTER] or use the function key <F4> or (<CNTL>
+ f then 4) for a list of existing printer classes. Select the desired class and press
[ENTER].
After selecting a class, a window containing all existing LP Plus printers pops-up. By positioning the cursor on a printer and pressing the space bar, a printer is added to (an asterisk to the left of the printer) or deleted from the class (no asterisk). When all the printers are marked for the class, press the function key <F3> or (<CNTL> + f then 3) to update (save) the class or escape to abandon the changes.
To delete an existing
printer class, select "Setup" and then "Printer Classes"
from the LP Plus Administration main menu. Displayed is the printer class maintenance menu
where classes are added, modified, and deleted. Enter the name of the class to delete or
use the function key <F4> or (<CNTL> + f then 4) for a list of existing
printer classes. Select the desired class and press [ENTER].
Use the function key <F5> or (<CNTL> + f then 5) to delete the class. The printers defined to the class are not deleted.
With so much functionality and easy access to print reports, security with LP Plus becomes more of an issue than with the standard UNIX lp system (you could never view reports with lp). Security with LP Plus is based on printer permissions models and groups of users. If a user is not described in the security system the "default" permissions model dictates what the user can perform on all printers. When LP Plus first installs the "default" permissions model allows unrestricted use. By adding a user to the security system, they can only access the printers assigned to their group and only perform the functions described in the permissions model applied to the printers. A user can only be in one security group at a time (a group can consist of one user or many users).
Before attempting to set up security it is best to write down who the users are, what printers the users need access to, what functions the users need to perform, and what other users (if any) have the same needs. Based on this information, it should be relatively easy to take this information and apply it to LP Plus security. The following examples describe this process. Two groups of users will be set up. Each group requires access to different printers and has different security needs on those printers. Scenario 1 will be used as the reference for the LP Plus Security section.
Scenario 1
USERS: markh, maryp, toms
PRINTERS: manuf1, manuf2
These users work in the manufacturing area. It has been determined that all of these users only need access to the two manufacturing printers "manuf1" and "manuf2" and only need to print to the printers and view reports. Based on the access needs of these users, a permissions model must be setup to only allow printing and viewing. The permissions model "viewonly" will be described in the "Permissions Models" section in this example.
PERMISSIONS MODEL: viewonly
USER GROUP: manufacture
After this is completed, all that remains is to apply the permissions model to the two manufacturing printers "manuf1" and "manuf2" and put the users with the printers. This is accomplished by setting up user groups. The user group that will be described in the "User Groups" section that follows is called "manufacture".
Scenario 2
USERS: audreyd, robe, susanw, tomp (accounting manager)
PRINTERS: system1, system2
These users work in accounting. It has been determined that three of these users "audreyd", "robe", and "susanw" need access to the printers "system1" and "system2" and are allowed to print to the printers and perform any function to the print jobs they own (the ones they spooled). The accounting manager "tomp" needs access to the same two printers and will have permissions to control his jobs as well as the any other users print jobs on these printers.
Based on the access needs of these users, two permissions models must be setup to allow printing and control over just the owners print jobs and another to allow tomp to access and control all print jobs on the two printers.
PERMISSIONS MODEL: owner, allfunctions
USER GROUP: accounting, accountingmgr
After this is completed, all that remains is to apply the permissions models to the two printers "system1" and "system2" and put the users with the printers. This is accomplished by setting up two user groups. Because "tomp" has different permission needs for the same printers than the rest of his department, he must be placed in a different group with different permissions models. Tomp will be in a group alone called "accountingmgr" that has the two printers "system1" and "system2" with the permissions model "allfunctions" applied to them. The other users will placed in the group called "accounting" with the permissions model "owner" applied to the printers.
This scenario illustrates how different users can have different permissions for the same printers.
Permissions models are used to describe what functions can be performed on a printer.
Permissions for individual command functions can be set to no access, user access, group access, or unrestricted access. These access options are described in detail in the next section on Adding Permissions Models. Models are applied to printers when setting up security user groups (see a later section on User Groups). Permissions models are setup using "Setup" then "Security" and then "Model Maintenance" from the LP Plus Administration main menu that follows.
To add or create a permissions model select "Setup"
and "Security" and then "Model Maintenance" from the LP
Plus Administration main menu. The model maintenance screen shown in the following example
is displayed. This is permissions models are added, modified, and deleted.
To add a new permissions model enter the name that you want to use to reference the model in the "Model Name:" field and press [ENTER]. Try to select a name that best describes what functions the model allows or disallows (e.g. owner, unrestricted, viewonly, cancelonly, etc.).
The model maintenance screen (previous page) is displayed. The example model "owner" shows how all functions are set to only allow the user who owns the print job to perform the functions. The permissions are selected by determining what level of permission is to be granted and what functions can be performed. When the permissions model is applied to a printer as part of group maintenance, (see Group Maintenance in a following section) the user or users in the group can only perform the functions described in the model and only at the level described. The levels of permissions are described as follows:
"0 = No Access" - The user(s) cannot perform the function.
"1 = User Access" - The user(s) can perform the function only if they are the owner of the print job.
"2 = Group Access" - The user(s) can perform the function if they own the print job or if another user in the group owns the print job.
"3 = Unrestricted Access" - The user(s) can perform the function regardless of the owner.
The current functions are described below.
"[1] Enable/Disable" - Enable and disable a printer.
"[1] Accept/Reject" - Set a printer to accept or reject print jobs.
"[1] Mount Form" - Mount a new form on a printer.
"[1] View " - View print jobs with the report viewer.
"[1] Cancel" - Cancel print jobs.
"[1] Suspend" - Suspend (stop from printing while active) print jobs.
"[1] Switch" - Move all print jobs from one printer to another (dccswitch).
"[1] Print Range" - Print a range of pages.
"[1] Data Type (-T)" - Set the data type for a print job (dcclp only).
"[1] Silent Flag (-s)" - Set the silent flag (dcclp only).
"[1] Destination (-d)" - Send a print job to a printer other than the default.
"[1] Title (-t)" - Change the title for a print job.
"[1] Copies (-n)" - Change the number of copies a print job will print.
"[1] Hold/Resume (-h,-H)" - Hold or resume (release from hold) a print job.
"[1] Priority (-q)" - Change the priority of a print job.
"[1] Form (-f)" - Change the form needed for the print job.
"[1] Print Control (-p)" - Change the print control sequence for the print job.
"[1] Character Set (-S)" - Select a different character set (dcclp only).
"[1] Timed Release (-W)" - Set a job to print at a later time.
"[1] FlexForm (-F)" - Change the FlexForm form for the print job.
"[1] Dest Change (-i, -d)" - Change the printer destination after spooling.
"[1] Attach Terminal (File)" - Attach a printer to another device for messaging.
"[1] Attach Tran Table" - Attach a translation table to a printer.
"[1] Remote Access" - Gain access to control a remote LP Plus system.
"[1] Purge/Nopurge" - Set a print job to purge or no purge (keep).
"[1] Banner/Nobanner" - Turn the banner page on and off for a print job.
"[1] Filebreak/Nofilebreak" - Set the "dcclp -o " option.
"[1] Copybreak/Nocopybreak" - Set the "dcclp -o" option.
"[1] Restart" - Restart a print job.
"[1] Lfc/Nolfc" - Set the "dcclp -o" option.
"[1] Archive Option" - Set the "dcclp -o" option.
"[1] Archive System" - Set the "dcclp -o" option.
"[1] Archive Delete" - Set the "dcclp -o" option.
"[1] Printer Status" - Display the printer on the Printer Status and Control screen.
"[1] Request Status" - Display print jobs on the Status and Control screen.
By positioning the cursor on the function and pressing either the "0", "1", "2", or "3" key the appropriate permissions are set. After setting these, press the function key <F3> or (<CNTL> + f then 3) to update (save) the permissions model.
After the permissions model is saved it can then be applied to a printer when groups of users are defined in Group Maintenance.
NOTE: The changes made to an existing model will apply to all existing groups where the model is applied to printers.
To modify an existing permissions model, select "Setup" then "Security" and then "Model Maintenance" from the LP Plus Administration main menu. Displayed is the model maintenance menu where permissions models are added, modified, and deleted. Enter the name of the model to modify and press [ENTER] or use the function key <F4> or (<CNTL> + f then 4) for a list of existing models (see following example). Select the desired model and press [ENTER].
After selecting a model, the model maintenance screen is displayed (Refer to Adding Permissions Models above for detailed model information). After modifying the model, press the function key <F3> or (<CNTL> + f then 3) to update (save) the permissions model.
NOTE: A permissions model cannot be deleted if it is in use (applied to a printer) by any group. The model must be removed from all groups before it can be deleted.
To delete an existing permissions model select "Setup" then "Security" and then "Model Maintenance" from the LP Plus Administration main menu. Displayed is the model maintenance menu where permissions models are added, modified, and deleted. Enter the name of the model to delete and press [ENTER] or use the function key <F4> or (<CNTL> + f then 4) for a list of existing models. Select the desired model and press [ENTER].
Use the function key <F5> or (<CNTL> + f then 5) to delete the model.
User Groups are groups of LP Plus users that have common printer and access needs. In the scenario 1 above, the users "markh", "maryp", and "toms" are all in a group called "manufacture".
The other component of a user group is the list of printer destinations. Each printer destination will have a permissions models applied to it. In scenario 1 above, the printer names are "manuf1" and "manuf2" with the permissions model "viewonly" applied to the printers. The remainder of this section describes how to add, modify, and delete user groups. The information from scenario 1 above is used as an example for the User Groups section below.
User groups are
configured using "Setup" then "Security" and then "Group
Maintenance" from the LP Plus Administration main menu.
To add or create a user group, select "Setup" and "Security" and then "Group Maintenance" from the LP Plus Administration main menu. The group maintenance screen is displayed as in the following example. This is where user groups are added, modified, and deleted.
To add a new group, enter the name you wish to use to reference the group in the "Group:" field and press [ENTER]. Try to select a name that best describes the users in the group or department (e.g. manufacture, accounting, etc.).
The model maintenance screen (previous page) is shown with the example group "manufacture" displayed. The information on the screen is as follows:
"Group:" - The group name being added or modified. Press the function key <F4> or (<CNTL> + f then 4) for existing group choices (Refer to Modifying User Groups for information on selecting existing groups).
"User:" - This field is an alternate method of selecting a group to modify. If you know the user login name but do not know which group they are in, press the function key <F4> or (<CNTL> + f then 4) for a list of all users that are defined in all groups (see following example). By selecting a user name, the group they are in is displayed.
"Admin (y/n):" - Whether or not the group (all the users in the group) can access LP Plus Administration "dccadmin". The default is "n" (no). This is toggled using the function key <F7> or (<CNTL> + f then 7).
"Status:" - The status of the user group. The two are "EXISTING" (the group is being modified) and "NEW" (the group is being added or created).
"Dest - Models in this group" - The LP Plus printers with the permissions models assigned are displayed below the title.
"Users in this group" - The users assigned to the group are displayed below the title.
The command area at the bottom of the screen is used for controlling the group maintenance screen. The screen functions are:
"TAB - Dest/User" - Makes the Dest/Model window or the Users window active. The title above the window is highlighted to show which window is active.
"F3 - Update" - Saves the group configuration.
"F4 - Add Choices" - Depending on which window is active, (Dest/Model, or Users) this displays printers or users to add to the group. If the Dest/Model window is active, the list of LP Plus print destinations is displayed. If the Users window is active, a list of users not yet assigned to a group is displayed.
"F5 - Delete" - Depending on which window is active (Dest/Model, or Users) this removes marked printers or users from the group. If the Dest/Model window is active, the marked (see "SP - Mark" below) LP Plus print destinations are removed from the group. If the Users window is active, the marked users are removed from the group.
"F6 - Change" - Changes the permissions models assigned to marked (see "SP - Mark" below) printers in the group. This only applies to the "Dest/Model" window (Refer to Modifying User Groups later in this section for information on changing printer models).
"F7 - Toggle Admin" - Switches the administration permissions on and off for the group. This determines whether or not the group (all the users in the group) can access LP Plus Administration "dccadmin". The default is "n" (no). This is toggled using the function key <F7> or (<CNTL> + f then 7). The current administration permissions are displayed in the upper right side of the group maintenance screen.
"SP - Mark" - (space bar) Depending on which window is active (Dest/Model, or Users) this marks (places an asterisk to the left side of) or unmarks printers or users in the group. Printers and users must first be marked in order to remove them from the group or, in the case of printers, change the permissions model assigned.
"CR - Show/Modify Permissions" - Changes to the permissions models maintenance screen for the model assigned to the printer (Refer to Modifying Permissions Models earlier in this section for information on modifying permissions models).
"? - Help" - Displays the help screen for group maintenance.
"ESC - Exit" - Quits the current group maintenance session and places the cursor back in the "Group:" field. From there, either press escape again to exit group maintenance or enter/select another group to add or modify.
After the group name
is entered, the "Dest - Model" window becomes active. Use the <TAB> key to
make the "Users" window active. To add users to a group press the function key
<F4> or (<CNTL> + f then 4) for user choices. A window such as the one
following, containing all system users not currently in a security group will be
displayed.
Select the users to add to a group by positioning the cursor on a user and pressing the space bar to mark (an asterisk to the left of the user name) or unmark a user (no asterisk). In the example above, the users "bevs" and "robw" are marked. When all the users are marked for addition to the group, press [ENTER]. The user names appear in the "Users" window. These users are now part of this security group. The printers these users require access to should also be added to the group. By pressing the <TAB> key the "Dest - Models" window becomes active.
The window of available users will begin with "NEW". If the user you wish to add to this group does not have a UNIX "login" you must select "NEW" and enter the user name. The list of available users is read from the UNIX password file. Some client applications (such as SAP) do not require UNIX logins for the clients, therefore no user names will appear in the window. You must select "NEW" for each user that does not have a UNIX login. Upon selecting "NEW" you will be prompted with a text field to enter the user' id.
To add printers to a
group, press the function key <F4> or (<CNTL> + f then 4) for printer choices.
A window containing all LP Plus print destinations pops-up (see following example).
Select the printers to add to a group by positioning the cursor on a printer and pressing the space bar to mark (an asterisk to the left of the printer) or unmark a printer (no asterisk). In the example above the printers "manufl" and "manuf2" are marked. When all the printers are marked for addition to the group, press [ENTER].
After selecting which
printers to add to the group, a window display prompts for the permissions model to apply
to the printer.
The "Destination Count" indication displays how many printers will be added to the group. As each model is selected for a printer, the next printer to be added is displayed with the option to change the model. To change the model press the function key <F4> or (<CNTL> + f then 4) for model choices (see following example) and select the desired model from the list by pressing [ENTER]. After the first model is chosen, the same model is initially display for all subsequent printers.
When the last model is selected for the printer, the printer names appear in the "Dest - Model" window. These printers, with permissions models, are now part of this security group.
After the printers and users are added to the group, press the function key <F3> or (<CNTL> + f then 3) to update (save) the group.
To modify an existing user group, select "Setup" then "Security" and then "Group Maintenance" from the LP Plus Administration main menu. Displayed is the group maintenance menu where user groups are added, modified, and deleted. Enter the name of the group to modify and press [ENTER] or use the function key <F4> or (<CNTL> + f then 4) for a list of user groups. Select the desired group and press [ENTER].
After the group is selected, you can add more printers or users to a group, remove printers or users from a group, or change the permissions model applied to a printer. (Refer to Adding User Groups for information on adding printers or users to a group). Follow the instructions below for removing printers or users from groups. After the modifications are made, press the function key <F3> or (<CNTL> + f then 3) to update (save) the group.
After the group name is entered the "Dest - Model" window becomes active. Use the <TAB> key to make the "Users" window active. To remove users from a group use the space bar to mark (an asterisk to the left of the user name) the user and press the function key <F5> or (<CNTL> + f then 5) to remove the user(s) from the group.
Press the function key <F3> or (<CNTL> + f then 3) to update (save) the modified group.
Removing Printers from a Group
After the group name is entered the "Dest - Model" window becomes active. To remove printers from a group use the space bar to mark (an asterisk to the left of the printer name) the printer and press the function key <F5> or (<CNTL> + f then 5) to remove the printer(s) from the group.
Press the function key <F3> or (<CNTL> + f then 3) to update (save) the modified group.
To delete an existing user group, select "Setup" then "Security" and then "Group Maintenance" from the LP Plus Administration main menu. Displayed is the group maintenance menu where user groups are added, modified, and deleted. Enter the name of the group to delete and press [ENTER] or use the function key <F4> or
(<CNTL> + f then
4) for a list of user groups. Select the desired group and press [ENTER]. A message is
displayed, prompting to either modify the group or delete the group.
Press the function key <F5> or (<CNTL> + f then 5) to delete the group. Deleting the group does not delete the users, printers, or models in the group.
Remote user security is used to control the access of users on remote systems to LP Plus. A user login on one host can have different permissions when printing and controlling print jobs and printers on another host. As an example, the user "tomstew" on the host "sco" (see following example) also has a login on the local host. "tomstew" may have security privileges on "sco" that the administrator on the local host does not wish to give him. The local administrator makes a local login called "toms" and uses remote security to define that when the user "tomstew" prints or sends commands from the host "sco", he has the permissions of "toms". The login "toms" would be set up in an LP Plus security user group.
Remote security is also used to control access from WinPrint
clients running on Windows 3.11, 95, and NT workstations. Because the WinPrint
client does not log into the local host in order to control print jobs and printers,
remote security is used to define, for example, the Windows workstation
"198.136.170.105" with WinPrint user "robe" (see following example).
Using the IP address and WinPrint user name, the administrator on the local host
defines security based on a UNIX login
name "robe".
Below are descriptions for using the Remote Security menu.
REMOTE HOST - The host name or IP address of the remote host where the user originates.
REMOTE USER ID - The login id for the user on the remote system.
LOCAL USER ID - The local login id that will be used for LP Plus security on the local system.
To add a remote user,
select "Setup" then "Security" and then "Remote
User Maintenance" from the LP Plus Administration main menu. Displayed is the
remote user maintenance menu (above) where remote users are added, modified, and deleted.
To add remote users, press the function key <F4> or (<CNTL> + f then 4). The
Add Remote User dialog pops-up.
Enter the host name or IP address of the remote host in the "Remote Host" field and press [ENTER]. The cursor then moves to the "Remote User" field. Enter the remote users login id and press [ENTER]. A window similar to the one following that contains all local login ids pops-up.
Select the local login id by positioning the cursor on a login id and press [ENTER]. Press the function key <F3> or (<CNTL> + f then 3 to update (save) the remote user.
To add an HTML user, select "Setup" then "Security" and the "HTML User Maintenance" from the LP Plus Administration main menu. HTML users are those users that will access the LP Plus system from a standard web browser. Since access into a UNIX system through a web browser does not require a UNIX login, LP Plus requires the user to "login" to LP Plus for security reasons. You will be required to enter three items for each HTML user. The first field is the HTML User Id. The second field is the Html Password, and the third field is the Local User Id field. The user-id and password combination will have to be entered by the user each time he/she starts accessing LP Plus. If the combination does not match an existing entry, then no access will be permitted. When the user successfully "logs in" (correct user-id password combination), the value specified for the local user will then be used by LP Plus for the purposes of any security restrictions. What all this means is that you can map an HTML user to some other local user id already defined to the LP Plus security system. To add an HTML user press <F4> to be prompted with a blank entry. To remove an HTML user, use the arrow keys to highlight to user id and then press <F5>. To make any changes to a user id, again use the arrow keys to highlight the entry and then press <F6>. You will then be able to type over any of the existing field values.
To delete an existing remote user, select "Setup" then "Security" and then "Remote User Maintenance" from the LP Plus administration main menu. Displayed is the remote user maintenance menu where remote users are added, modified, and deleted. To delete a remote user, position the cursor on the desired entry and press the function key <F5> or (<CNTL> + f then 5). The remote user entry is removed from the list.
The form name associated with a print job is used to ensure the correct paper is loaded in the printer prior to a job printing. The form name for the print job must match the form that is "mounted" on the printer in order to print. The form name for the print job is usually set when the job is spooled using the "-f form_name" command line option of "dcclp".
An example of this is if accounts payable wants to print checks and they use special check paper. The check print job would be spooled using a form name of perhaps "checks" so when the checks print job is submitted it will not print until an operator has loaded the correct paper in the printer. By mounting the form "checks" on the printer through LP Plus prior to loading the new paper into the printer, all of the other print jobs in the printers queue that do not need the form "checks" are held while the "check" job prints. When the "check" job is complete, the operator puts the "stock" (default paper) paper back into the printer and mounts the form that was on the printer prior to the "check" run. This puts things back to the original state.
The two types of forms used with LP Plus are standard and advanced forms. Standard forms are used as described above. They are used primarily to ensure the correct paper is loaded in the printer. Standard forms can also be used to send a download file to the printer prior to the print job. These are used to send special commands to the printer (Refer to Printer Control File Management later in Part 3 for detailed information on printer control sequences).
The other type of form is called advanced. This type of form is used to segment reports (split them to multiple printers), apply multi-part FlexForm electronic forms to segments, split reports into even segments automatically and to print multiple copies of reports to different printers simultaneously. Both forms are accessed using the "dcclp -f form_name" command line or from the Status and Control menu "dccstat". The following section describes configuration for both.
To add or create a standard form select "Utilities" then "Form Definitions" and then "Standard" from the LP Plus Administration main menu. The following forms maintenance menu is displayed. This is where forms are added, modified, and deleted. Enter the name of the form to add and press [ENTER].
After entering the name of the form to be created, press [ENTER]. The form maintenance screen (above) is shown with the example form "checks" displayed. The information on the screen is as follows:
FORM NAME - The name of the form to be created. Try to give the form a functional name (e.g. checks, PO, etc.). This is the name that the form will be referenced by when used from the command line or from dccstat.
NUMBER OF LINES PER PAGE - This optional value is used only for page counting purposes. LP Plus counts pages by counting form feeds, if they are present in the print job, or by counting the number of lines until the lines per page value is reached. In the example above the check only has 22 lines per page. If this is not set correctly, the number of pages that LP Plus counts will differ from the actual pages printed.
ENABLE FORM DOWNLOAD FILE? - Whether or not to send the download file. If this is set to "y", a copy of the file name in the next field is sent to the printer prior to the print job. If set to "n" the download file will not be sent.
FULL UNIX PATHNAME FOR DOWNLOAD FILE - The full pathname to the form download file. This file is used to send control information to the printer prior to the print job. The file specified must exist (Refer to Printer Control File Management later in Part 3 for detailed information on printer control sequences). When the form is saved, a copy of this file is placed in "$LPHOME/forms/form_name/download", this file (not the one specified) is used to send to the printer.
When the form is completed, press the function key <F3> or (<CNTL> + f then 3) to update (save) the form or escape to abandon the form.
To modify an existing
standard form, select "Utilities" then "Form Definitions"
and then "Standard" from the LP Plus Administration main menu. Displayed
is the forms maintenance menu where forms are added, modified, and deleted. Enter the name
of the form to modify and press [ENTER] or use the function key <F4> or
(<CNTL> + f then 4) for a list of existing forms. Select the desired form and press
[ENTER].
After modifying the form (Refer to Adding Standard Forms above for detailed form information), press the function key <F3> or (<CNTL> + f then 3) to update (save) the form.
To delete an existing standard form, select "Utilities" then "Form Definitions" and then "Standard" from the LP Plus Administration main menu. The forms maintenance menu where forms are added, modified, and deleted is displayed. Enter the name of the form to delete and press [ENTER] or use the function key <F4> or (<CNTL> + f then 4) for a list of existing forms. Select the desired form and press [ENTER]. Use the function key <F5> or (<CNTL> + f then 5) to delete the form.
To add or create an advanced form, select "Utilities" then "Form Definitions" and then "Advanced" from the LP Plus Administration main menu. The advanced form configuration menu will be displayed as shown in the following example. This is where advanced forms are added, modified, and deleted. Enter the name of the form to add and press [ENTER].
After entering the name of the form to be created, press [ENTER]. The advanced form configuration screen (above) is shown with the example form "split" displayed. In the example, the print job that uses this form (dcclp -f split) will be split into two equal halves and sent to "ptr2" and "ptr4". The information on the screen is as follows:
ADVANCED FORM NAME - The name of the form to be created. Try to give the form a functional name (e.g. split, PO, etc.). This is the name by which the form will be referenced when used from the command line (e.g. dcclp -f split).
LINES - (Lines per page) This value is used only for page counting purposes. LP Plus counts pages by counting form feeds, if they are present in the print job, or by counting the number of lines until the lines per page value is reached. In the example above, the form split has 66 lines. If this is not set correctly, the resulting "split" print jobs will not reflect the correct number of lines per page.
PURGE - Whether or not to spool the original print job as well as the separate segments. When an advanced form is used, the print job that is initially spooled can be optionally printed along with any segments or removed after all segments of the advanced form are spooled.
DEST - The LP
Plus print destination for the segment. This is specified for each segment. Use the
function key <F4> or (<CNTL> + f then 4) for a list of existing print
destinations. Select the desired printer and press [ENTER].
FFE - (optional) The FlexForm electronic form to apply to this segment. The default is "none". FlexForm is an electronic forms software product also from Digital Controls. It allows you to create and/or replace preprinted forms with electronic forms overlays printed to laser printers as well as bar codes, multi-part forms, forms distribution and more. FlexForm also integrates with UNIX fax software to provide a complete and professional image for your company. Contact your LP Plus sales representative for information on the savings FlexForm can provide your company.
Use the function key <F4> or (<CNTL> + f then 4) for a list of existing FlexForm (see following example) forms. Select the FlexForm form and press [ENTER].
FORM - The standard form to use with a segment. The default is the
default form for the segments print destination. Use the function key <F4> or
(<CNTL> + f then 4) for a list of existing standard forms (see following example).
Select the desired standard form and press [ENTER].
PG - The section of the original spooled print job to be sent to this segment. Use the function key <F4> or (<CNTL> + f then 4) for a list of existing options (as shown in the following). Select the desired option or page numbers and press [ENTER]. The options are described below:
"All" - Sends all of the original spooled print job to this segment.
"Split" - Sends an equal amount of the original print job to this segment. For example, if there are 3 segments the original print job is split into thirds.
"Number of
Pages" - The last page number to print for this segment. The starting page number
is based on the previous segments ending page or the beginning of the print job for the
first segment. An example would be if you wanted pages 1 to 100 to print to segment 1,
pages 101 to 200 to print to segment 2, and pages 201 to 300 to print to the third
segment. The "Pg" field for each segment would be 1. Pg[100 ], 2. Pg[200 ], 3.
Pg[300 ].
Add the number of required segments. When the form is completed, press the function key <F3> or (<CNTL> + f then 3) to update (save) the form or escape to abandon the form.
To modify an existing advanced form, select "Utilities" then "Form Definitions" and then "Advanced" from the LP Plus Administration main menu. Displayed is the advanced form configuration menu where advanced forms are added, modified, and deleted. Enter the name of the advanced form to modify and press [ENTER] or use the function key <F4> or (<CNTL> + f then 4) for a list of existing forms as shown in the following example.
Select the desired form and press [ENTER].
After modifying the form (Refer to Adding Advanced Forms above for detailed form information), press the function key <F3> or (<CNTL> + f then 3) to update (save) the form.
To delete an existing advanced form select "Utilities" then "Form Definitions" and then "Advanced" from the LP Plus Administration main menu. Displayed is the advanced form configuration menu where advanced forms are added, modified, and deleted. Enter the name of the advanced form to delete and press [ENTER] or use the function key <F4> or (<CNTL> + f then 4) for a list of existing forms. Select the desired form and press [ENTER]. Use the function key <F5> or (<CNTL> + f then 5) to delete the form.
Printer Control File Management
Print control files are used to set a printer into a special mode prior to printing and to reset a printer after printing. By defining a print control name (e.g. landscape or compressed) and associating a preload and an optional postload file with it, printers can be put into special modes on a per print job basis. The preload and postload files contain printer control (escape sequences) commands. These can be sent to the printer by using the command line (dcclp -p print_control_name) or sent with all print jobs by default by naming a print control the same as a printer. For example, by naming a printer "hpland" and having a print control file also called "hpland" that sets an HP compatible laser printer into landscape mode, all print jobs sent to the printer "hpland" (dcclp -d hpland) are printed in landscape mode.