In order to print a 132 column report that normally prints on a band printer on an HP compatible laser printer, the printer must first be placed into landscape and compressed print mode. Otherwise, the print job will not fit on the paper. The printer must be placed into landscape and compressed mode and then reset after the print job is complete. These printer commands can be found in the printers PCL Printer Language Reference Guide.
Using the UNIX editor "vi", escape sequences can be edited into a file. To do this, start the editor by executing the "vi" command.
$ vi landcomp [ENTER]
The vi editor executes. The escape character (hex 1b) is sometimes referred to in the printer manual as EC or ESC. The escape character begins a command. In this example, the escape sequences to place the printer into landscape and compressed modes are shown.
Press the "vi" insert command.
i
Press the "vi" nonprintable character command.
<CNTL> v (press and hold down the "Control" key then press "v")
Press the "Esc" key on the keyboard.
On the screen the characters "^[" appear. These represent the escape character described above. Most print control files should begin with a printer reset. This ensures that only the printers default settings and the commands issued are set. The command to reset the printer is "E". This will be the first printer command.
Press "E"
The next command will be to set the printer into landscape mode.
Press the "vi" nonprintable character command.
<CNTL> v (press and hold down the "Control" key then press "v")
Press the "Esc" key on the keyboard.
Press "&l1O" (ampersand, lowercase L, number one, capital O)
The next command will be to place the printer into 20 characters per inch mode.
Press the "vi" nonprintable character command.
<CNTL> v (press and hold down the "Control" key then press "v")
Press the "Esc" key on the keyboard.
Press "(s20H" (open parenthesis, lowercase S, the number twenty, capital H)
When completed the file should look exactly as shown below.
Get out of insert mode, write the file, and quit by doing the following.
Press the "Esc" key on the keyboard. Then press the "vi" commands:
:wq
(colon, lowercase w, lowercase q) [ENTER]At this time there is a file created called "landcomp" that has the escape sequences to reset the printer, place it into landscape mode, and place it into 20 characters per inch mode. These files are then used when configuring printer control files with LP Plus.
There are many PCL commands; following is a partial list of some commonly used commands.
COMMAND EXPLANATION
E
C E Reset the printerE
C &l1H Use main paper sourceE
C &l2H Use manual feedE
C &l0O Portrait modeE
C &l1O Landscape modeE
C (s20H 20 (any number within range) characters per inch (pitch)E
C (s12H 12 (any number within range) characters per inch (pitch)E
C (s10H 10 (any number within range) characters per inch (pitch)E
C (s8V 8 (any number within range) points (height)E
C (s20V 20 (any number within range) points (height)The "landcomp" file described above is used as an example below when describing adding, modifying, and deleting the printer control files below.
To add or create a
print control file, select "Utilities" then "Print Controls"
from the LP Plus Administration main menu. Displayed is the print control maintenance menu
(see following example) where print control files are added, modified, and deleted. Enter
the name of the print control to add and press [ENTER].
After entering the name of the print control to be created, press [ENTER]. The print control maintenance screen (above) is shown with the example "landcomp" displayed. The information on the screen is as follows:
Print Control Name - The name of the print control to be created. Try to give it a functional name (e.g. landcomp, landscape, etc.). This is the name that the print control will be referenced by when used from the command line or from dccstat.
Enable Preload File? - Whether or not to send the preload 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 (see previous example). If set to "n" the preload file will not be sent.
Full UNIX Pathname for Preload File - The full pathname to the preload file. This file is used to send control information to the printer prior to the print job. The file specified must exist. When the print control file is saved a copy of this file is placed in "$LPHOME/prtcntl/print_control_name/preload". This file (not the one specified) is used to send to the printer. LP Plus will display the original file used, but the copy of the file is actually sent to the printer. To modify the print control preload file you can edit the original file and then update (save) the print control or just modify the preload file "$LPHOME/prtcntl/print_control_name/preload".
Enable Postload File? - Whether or not to send the postload file. If this is set to "y", a copy of the file name in the next field is sent to the printer after the print job (see previous example). If set to "n" the postload file will not be sent.
Full UNIX Pathname for Postload File - (optional) The full pathname to the postload file. This file is used to send control information to the printer after the print job. The file specified must exist. When the print control file is saved a copy of this file is placed in "$LPHOME/prtcntl/print_control_name/postload". This file (not the one specified) is used to send to the printer. LP Plus will display the original file used, but the copy of the file is actually sent to the printer. To modify the print control postload file you can edit the original file and then update (save) the print control or just modify the postload file "$LPHOME/prtcntl/print_control_name/postload".
ENABLE PRECOPY FILE? - Whether or not to send the precopy file. If this is set to "y", a copy of the file name in the next field is sent to the printer before each copy of the report is printed. The preload file described above is sent only once, and is sent first.
Full UNIX Pathname for Precopy File - The full pathname to the precopy file. This file is used to send control information to the printer in front of each copy of the report. The file specified must exist. When the print control file is saved a copy of this file is placed in $LPHOME/prtcntl/print_control_name/precopy. This file (not the one specified) is used to send to the printer. LP Plus will display the original file used, but the copy of the file is actually sent to the printer. To modify the print control precopy file you can edit the original file and then update (save) the print control or just modify the precopy file "$LPHOME/prtcntl/print_control_name/precopy".
Enable Postcopy File? - Whether or not to send the postcopy file. If this is set to "y", a copy of the file name in the next field is sent to the printer after each copy of the report is printed. The postload file described above is sent only once, and is sent last.
Full UNIX Pathname for Postcopy File - The full pathname to the postcopy file. This file is used to send control information to the printer at the end of each copy of the report. The file specified must exist. When the print control file is saved a copy of this file is placed in $LPHOME/prtcntl/print_control_name/postcopy. This file (not the one specified) is used to send to the printer. LP Plus will display the original file used, but the copy of the file is actually sent to the printer. To modify the print control postcopy file you can edit the original file and then update (save) the print control or just modify
the postcopy file "$LPHOME/prtcntl/print_control_name/postcopy".
When the print control file is completed, press the function key <F3> or (<CNTL> + f then 3) to update (save) the print control or escape to abandon it.
To modify an existing print control, select "Utilities" then "Print Controls" from the LP Plus Administration main menu. Displayed is the print control maintenance menu where print control files are added, modified, and deleted. Enter the name of the print control to modify and press [ENTER] or use the function key <F4> or (<CNTL> + f then 4) for a list of existing print control files (see below). Select the desired print control and press [ENTER].
After modifying the print control file (Refer to Adding Print Control Files above for detailed print control information), press the function key <F3> or (<CNTL> + f then 3) to update (save) the print control.
To delete an existing print control, select "Utilities" then "Print Controls" from the LP Plus Administration main menu. Displayed is the print control maintenance menu where print control files are added, modified, and deleted. Enter the name of the print control to delete and press [ENTER] or use the function key <F4> or (<CNTL> + f then 4) for a list of existing print control files. Select the desired print control and press [ENTER]. Use the function key <F5> or (<CNTL> + f then 5) to delete the print control file.
Printer Translation Table Management
Translation tables are used to convert characters from application to printer. An example would be to convert all lowercase to uppercase characters or to strip out certain characters by translating them to nulls. The tables are configured and then "attached" to printers. An example translation table that translates lowercase to uppercase called "lwr2upr" is provided with LP Plus. This translation table will be used as an example in this section.
To add or create a translation table, select "Utilities" then "Translation Tables" from the LP Plus Administration main menu. The translation table maintenance menu as shown in the following example will be displayed. This is where translation tables are added, modified, and deleted. Enter the name of the translation table to add and press [ENTER].
After entering the name of the translation table to be created, press [ENTER]. The translation table maintenance screen (following example) is shown with the example "lwr2upr" displayed. Shown is a range of hexadecimal characters from "00" to "ff". The set on the left is input and the right side is output. For example, the translation table shown translates lowercase characters to uppercase. That means the hexadecimal representation for "a" through "z" must be converted to "A" through "Z". In the following screen, this is done by translating hexadecimal 61 (lowercase "a") to 41 (uppercase "A") and so on.
To do this, use the
arrow keys and position the cursor on the output character to be translated and enter the
new value. Continue this until all of the characters that require translating are
complete.
To save the translation
table, press the "x" key. The following message displays prompting for the
translation table name to save. If the table is the same name, press [ENTER] or enter a
new name for the translation table and press [ENTER].
To exit the translation table maintenance screen without saving the file, press "z" to abort.
To modify an existing translation table, select "Utilities" then "Translation Tables" from the LP Plus Administration main menu. Displayed is the translation table maintenance menu where translation tables are added, modified, and deleted. Enter the name of the translation table to modify and press [ENTER] or use the function key <F4> or (<CNTL> + f then 4) for a list of existing translation tables (see following example). Select the desired translation table and press [ENTER].
After modifying the translation table (Refer to Adding Translation Tables above for detailed translation table information), save it by pressing the "x" key. The following message will be displayed, prompting for the translation table name to save. If the table is the same name press [ENTER] or enter a new name for the translation table and press [ENTER].
To exit the translation table maintenance screen without saving the file, press "z" to abort.
To delete an existing translation table, select "Utilities" then "Translation Tables" from the LP Plus Administration main menu. Displayed is the translation table maintenance menu where translation tables are added, modified, and deleted. Enter the name of the translation table to delete and press [ENTER] or use the function key <F4> or (<CNTL> + f then 4) for a list of existing translation table files. Select the desired translation table and press [ENTER]. Use the function key <F5> or (<CNTL> + f then 5) to delete the translation table.
LP Plus System Default Settings
The system default menu is where system wide settings and default parameters are setup. System wide settings such as the maximum number of print jobs to allow, printer time-out settings, and system defaults (such as the default printer and form) are set here. These LP Plus parameters are very important because they can affect the whole LP Plus system and help speed things up when doing repetitive tasks.
To access the default
settings menu, select "Setup" then "System Defaults"
from the LP Plus Administration main menu. The first screen of the LP Plus default
settings menu shown in the following example, will be displayed. Press the function key
<F1> or (<CNTL> + f then 1) to move the next screen of default information and
the function key <F2> or (<CNTL> + f then 2) to move to the previous screen.
The scheduler must be stopped and restarted before any changes will take affect.
The first screen of default information (above) contains the following:
Default Printer Name: Enter the system default printer destination. Press the function key <F4> or (<CNTL> + f then 4) for choices. The default printer is where print jobs are spooled when the printer parameter "dcclp -d printer_name" is not used when submitting a print job. The default is "lp0".
Default Form Name: Every file spooled into LP Plus will have a form id associated with it. If a form id is not explicitly set on the lp command line then the value of the default form id for the printer in question will be used. This "default form" field described here in the default configuration menu is used only as a default value when adding a new printer. This value will be entered automatically in the default form field of the printer configuration menu. The value may be overridden at that time.
Should all Requests Default to Hold (y/n): Enter whether or not all print jobs should be placed on hold. Press the function key <F4> or (<CNTL> + f then 4) for choices. The default is "n". Enter "y" if you want all print jobs to require an operator to release each print job before they can print. This has the same affect as the hold "dcclp -H hold or dcclp -h" option being placed on every print job.
Should Requests be Purged After Printing (y/n): Enter whether or not all print jobs should be purged after printing. Press the function key <F4> or (<CNTL> + f then 4) for choices. The default is "y". Enter "n" if you want all print jobs to remain in the queues after printing. This has the same affect as a no purge option "dcclp -o nopurge or -o nop" being placed on every print job.
How Long Should Requests be Kept Before Purging?: Enter the default purge delay time when adding new printers. This is the amount of time in seconds for print jobs to remain in the queues after printing. The default is 300 seconds. Refer to Adding Printers earlier in Part 3 for information on the purge time for each printer.
How Long Should LP PLUS Retry a Network Device?: Enter the amount of time in seconds for LP Plus to try printing to a network printer before assuming there is a problem. The default is 300 seconds. After the time has expired, LP Plus will disable the printer and the print job will go to an "intrd" (interrupted) status.
Maximum Number of Requests to Reserve Shared Memory: Enter the maximum number of print jobs for which LP Plus should allocate shared memory. The default is 500 print jobs. The maximum value is 9999. When the LP Plus scheduler comes up it will reserve shared memory for the maximum number of print jobs that may be in the LP Plus queues at any time. The formula for calculating the memory required is shared_memory = (max_request * 340) +12.
The second screen of
default information (following example) is accessed by pressing the function key
<F1> or (<CNTL> + f then 1). The information is as follows:
How Often Should Form Mount Messages be Generated?: Enter the amount of time in seconds between form mount messages. The default is 120 seconds. This determines the delay between messages sent to the attach device (system console, terminal device, user login id, or WinPrint client) for a print job needing a form change.
How Many Times Should a Form Mount Message be Generated?: Enter the maximum number of form mount messages to be issued for a print job requiring a form change. The default is 5. This determines the number of messages sent to the attach device for a print job needing a form change.
Should the User be Notified of Form Mount Messages via Mail?: Enter whether or not to send the user a mail message when their print job requires a form change. Press the function key <F4> or (<CNTL> + f then 4) for choices. The default is "n". If selected, the user who submitted the print job will receive a mail message whenever a form mount message is issued.
How Long Should LP PLUS Retry Printing on a Printer?: Enter the amount of time in seconds for LP Plus to wait before disabling the printer after it goes off-line. The default is 5399 seconds (90 minutes). If a printer goes off-line while printing (runs out of paper, jams, etc.), LP Plus will wait until the printer comes back on-line and begin printing again. If the retry value expires, LP Plus will disable the printer and the print job will go to a status of "intrd" (interrupted).
How Long Should LP PLUS Wait for the Printer to Come Online?: Enter the amount of time in seconds for LP Plus to try to open a printer port (start printing) before disabling the printer. The default is 90 seconds. If a printer is off-line before printing begins, LP Plus will try to print for the maximum time specified before disabling the printer.
Should the Accounting Subsystem be Enabled?: LP Plus has a resource accounting system (refer to the section on Resource Accounting in Part 4 for detailed information) that provides information about printer usage (pages, form used, user, time printing, etc.). If set to "y" an entry in the accounting log is written for each print job. The default is "n".
The third screen of defaults is used for setting the default serial mode stty settings. If you are going to add several serial printers that have the same or similar stty settings, these can be set to display initially when the "serial" mode is selected. It is accessed by pressing the function key <F1> or (<CNTL> + f then 1). The information is as follows:
Default Terminfo for Printers: Enter the default terminfo type that appears when adding a new printer. The default is "dumb".
Baud Rate: The default baud rate that appears when adding a new serial printer. Press the function key <F4> or (<CNTL> + f then 4) for choices. The default is 9600.
Bits per Character (7/8): The default number of character bits that appears when adding a new serial printer. Press the function key <F4> or (<CNTL> + f then 4) for choices. The default is 7.
Number of Stopbits (1/2): The default number of stop bits appears when a new serial printer is added. Press the function key <F4> or (<CNTL> + f then 4) for choices. The default is 1.
Parity (odd/even/none): The default parity type that appears when adding a new serial printer. Press the function key <F4> or (<CNTL> + f then 4) for choices. The default is even.
Flow Control (hardware/software/both): The default flow control type that appears when adding a new serial printer. Press the function key <F4> or (<CNTL> + f then 4) for choices. The default is software.
Enter the Default Interface Script for Adding Printers:
The default printer interface that appears when adding a new printer. Press the function key <F4> or (<CNTL> + f then 4) for choices. The default is lpstandard.
The LP Plus message system is used to get additional information about an LP Plus generated message. The LP Plus system is very verbose and produces either informational, warning, or error messages for most every process that occurs either to the screen and/or to the messages file $LPHOME/messages/messages. These messages provide some information about the origin and cause of the message but little or no information about possible remedies. The message system is intended to be a source for this additional information about the messages LP Plus produces.
The three types of messages are Informational, Warning, and Error. The message system is accessed by selecting "Utilities" then "System Messages" from the LP Plus Administration main menu. The system message prompt will be displayed as shown in the following example.
Action messages indicate that some operator action is required for the current process to continue. These messages are things such as printer offline conditions, form mount requests, etc.
Additional information about these messages can be accessed by entering the message number into the system message prompt.
Informational messages
are used to indicate that a process has occurred. All informational messages end with the
letter "I". For example, when a print job is spooled through "dcclp"
three messages appear indicating the progress during spooling (see below).
Additional information
about these messages can be obtained by entering the message number into the system
message prompt (below). Enter the LP Plus message number (e.g. LPP080I) and press [ENTER].
The following
information is displayed based on the message number. This information will provide
additional details on the message and possible remedies to problems where appropriate.
Press escape to clear the displayed message.
Warning messages are used to indicate that a process has occurred that may result in unexpected results. The process, in most cases, will occur (such as printing) but something is not correct. All warning messages end with the letter "W". For example, there are many command line options with "dcclp" and most are compatible with UNIX lp. Some options are not. One such command line option is "-o lpi=#" to tell UNIX lp to print the report in # lines per inch (e.g. lp -o lpi=8 for 8 lines per inch). In this case, LP Plus handles this type of setting through print control files (see Print Control Files earlier in Part 3). When the print job is spooled to LP Plus using this option (e.g. dcclp -d ptr2 -o lpi=8 /report), a warning message is written to the LP Plus message log.
LPP050W Unsupported -o suboption lpi=8. Processing continued
.Additional information
about this message can be obtained by entering the message number into the system message
prompt (below). Enter the LP Plus message number (e.g. LPP050W) and press [ENTER].
The following information is displayed based on the message number. This information will provide additional details on the message and possible remedies to problems where appropriate. Press escape to clear the displayed message.
Error messages are used to indicate that a process has occurred and a problem has resulted. The process, in most cases, will not occur (such as printing). All error messages end with the letter "E". For example, after a print job is spooled LP Plus will attempt to print the job. If there is something wrong with the printer when LP Plus tries to "open" the printers port, the print job will go to a status of "intrd" (interrupted), the print queue will be disabled, and an error message is written to the LP Plus message log.
LPP004E Unable to open printer device manuf1. errno = 2
.Additional information about this error message can be obtained by entering the message number into the system message prompt (below). Enter the LP Plus message number (e.g. LPP004E) and press [ENTER].
The following
information is displayed based on the message number. This information will provide
additional details on the message and possible remedies to problems where appropriate.
Press escape to clear the displayed message.
LP Plus is licensed based on the number of printers configured per host. When you purchase you will receive a License and Registration form from your vendor or Digital Controls (see following picture). This form is used to permanently activate LP Plus for the license you have purchased. The licenses are 2, 4, 8, 12, 16, 24, 32, 100, 250, 500, 1000 and unlimited printers per host. For example, if you have 15 printers configured through LP Plus, you would require a 16 printer license.
The Registration and
Activation form instructs you to fill out your company information, run
"dccadmin" in order to get your LP Plus serial number, and fax the form into
Digital Controls. Digital Controls will provide a registration number and fax the form
back to you. The registration number is entered and your copy of LP Plus is officially
registered with Digital Controls and activated. Following is a description of the system
registration menu of "dccadmin".
The registration
system is accessed by selecting "Utilities" then "System
Registration" from the LP Plus Administration main menu. The system registration
prompt will be displayed as shown in the following example.
DAYS REMAINING IN FREE TRIAL - When LP Plus is first installed it will run for 31 days as an evaluation. The days remaining reminder is displayed at the top of the LP Plus Status and Control main screen and on the system registration screen (above). This is for information purposes only. LP Plus can be registered anytime during or after the 31 day trial period. This message will reflect the number of printers licensed after registration (see following example).
SERIAL NUMBER - The serial number for the LP Plus on this host.
VALIDATION CODE - The registration code provided by Digital Controls used to license LP Plus for the number of printers purchased.
The Registration and
Activation form instructs you to fill out your company information, run
"arcadmin" in order to get your LP Plus Archive serial number, and fax the form
into Digital Controls. Digital Controls will provide a registration number and fax the
form back to you. The registration number is entered and your copy of LP Plus Archive is
officially registered with Digital Controls and activated. Following is a description of
the system registration menu of "dccadmin".
DAYS REMAINING IN TRIAL PERIOD - When LP Plus Archive is first installed it will run for 31 days as an evaluation. The days remaining reminder is displayed at the top of the LP Plus Archive Administration screen (above). This is for information purposes only. LP Plus can be registered anytime during or after the 31 day trial period.
SERIAL NUMBER - The serial number for the LP Plus Archive on this host.
VALIDATION CODE - The registration code provided by Digital Controls used to license LP Plus Archive.
The Registration and Activation form instructs you to fill out your company information, run "dccadmin" in order to get your LP Plus Browse serial number, and fax the form into Digital Controls. Digital Controls will provide a registration number and fax the form back to you. The registration number is entered and your copy of LP Plus is officially registered with Digital Controls and activated. Following is a description of the system registration menu of "dccadmin".
The registration
system is accessed by selecting "Utilities" then "HTML
Registration" from the LP Plus Administration main menu. The system registration
prompt will be displayed as shown in the following example.
DAYS REMAINING IN FREE TRIAL - When LP Plus Browse is first installed it will run for 31 days as an evaluation. The days remaining reminder is displayed at the top of the LP Plus Status and Control main screen and on the system registration screen (above). This is for information purposes only. LP Plus can be registered anytime during or after the 31 day trial period. This message will reflect the number of printers licensed after registration (see following example).
SERIAL NUMBER - The serial number for the LP Plus Browse on this host.
VALIDATION CODE - The registration code provided by Digital Controls used to license LP Plus Browse.
The system information screen is accessed by selecting "Utilities" then "System Information" from the LP Plus Administration main menu. The following example shows the system information screen.
This screen shows
information about the LP Plus system and information about the UNIX resources LP Plus is
using. When working with technical support, you may be asked for some of this information.
A description of this information is found follows.
VERSION= The LP Plus version number.
LPHOME= The current LP Plus home directory.
CURRENT SPOOL FILES= The number of print jobs currently in the LP Plus queues.
MAXIMUM SPOOL FILES= The maximum number of print jobs LP Plus will schedule to print. This also relates to the amount of shared memory LP Plus will reserve for queue entries.
PRINTERS CONFIGURED= The total number of printers configured through LP Plus.
LICENSE= The current number of printers licensed on this host.
MESSAGE LOG SIZE= The size of the LP Plus message log file ($LPHOME/messages/messages).
ACCOUNTING SUBSYSTEM IS DISABLED - The current state of the resource accounting system.
ACCOUNTING LOG SIZE= The size of the resource accounting log file ($LPHOME/messages/acctlog).
FILE SYSTEM FREE BLOCKS= The amount of free space in blocks on the file system that holds the LP Plus reports directory ($LPHOME/reports).
FILE SYSTEM % FREESPACE= The percentage of free space remaining on the file system that holds the LP Plus reports directory ($LPHOME/reports).
LPP ARCHIVE STATUS= Indicates the current state of LP Plus Archive (Trial, Active, or Expired).
ARCHIVE FREE BLOCKS= The amount of free space in blocks on the file system that holds the LP Plus Archive directory.
ARCHIVE % FREESPACE= The percentage of free space remaining on the file system that holds the LP Plus Archive directory.
The dcchealth program checks as much of the LP Plus file system as possible to determine if the required files are present, have the required permissions, and contain good data. The features explained below are enhancements that are part of dcchealth for revisions 3.1.1 and higher.
dcchealth [-c -d -f]
[-c] Displays curses formatted screen shown in the following example.
[-dfilename] Outputs configuration for all printers to specified filename.
[-f] Fixes problems where possible. Problems that are fixed are so noted on the display. If the "-c" option is used and the "-f" option is not specified, the system will ask if you wish to perform fixes.
Usually dcchealth is run from dccadmin by selecting "System Health Check" under the Utilities menu, resulting in a display like the one shown in the following example. The LP Plus revision number is displayed in the upper right corner of the display when dcchealth completes (revisions 3.1.2 and higher).
The top third of the curses display will contain the items checked preceded by the status of those tests. The status will be "checking", "fixing", "Fixed", "ok", or "*ERROR*".
The main section of the display will list the individual errors.
The lower part of the display will show the number of bytes of free space, the number of printers in the configuration, and the number of fixes performed.
If the -d option is used, configuration information will be written to the specified file for each printer (see the following example). Several printers will be shown on a page and the total number of printers in the configuration will be displayed on the last page as shown below.
Printer Name: xerox
LP Plus Mode : netprint
Unix Device : engxerox!PASSTHRU
Unix Terminfo: dumb LP Plus Pcap : pcl4
Print Banner : yes Status : accept
Default Form : stock Mounted Form : stock
Sleep Time : 05 Purge Delay : 120
Interface : lpsystem LP Plus Filter: dcclpdcli
Filebreak : yes Copybreak : yes
LF to CRLF : yes
Filter2 : none
Filter3 : none
STTY Settings: none
63 printers in this configuration.
LP Plus has three daemons (processes that run in the background) that perform three separate functions. Their states are either active (started) or inactive (stopped).
These daemons can be
started and stopped by using the LP Plus Administration System "dccadmin" or
from the command line. These functions are accessed by selecting "Services" from
the LP Plus Administration main menu. A menu for the three daemons will be displayed as
shown in the following example.
The services menu performs two functions. It shows the current state of the daemon (if the menu shows "Stop" it means the daemon is running and visa versa) and allows for the starting and stopping of the daemon. Following is a description of the three daemons and how to stop and start them.Starting/Stopping the LP Plus Scheduler The LP Plus scheduler is started and stopped by selecting "Services" then "Stop/Start Scheduler" from the LP Plus Administration main menu. The services menu is displayed (above).
The LP Plus scheduler controls the scheduling of printing. If the scheduler is stopped, print jobs can still spool (come into LP Plus) but will not de-spool (print). The scheduler can be stopped from the UNIX command line by running "dccshut" and started by running "dccsched".
To start or stop the scheduler, position the cursor on the "Stop/Start Scheduler" menu selection and press [ENTER].
Because the time varies for stopping and starting the scheduler, the change may not take effect immediately.
Starting/Stopping the LP Plus LPD Server
The LP Plus line print daemon (LPD) is started and stopped by selecting "Services" then "Stop/Start LPD Server" from the LP Plus Administration main menu. The services menu is displayed (above).
The LP Plus LPD server receives print jobs from remote LPR clients across a TCP/IP network. If the LPD server is stopped, no print jobs can be received from remote hosts. The LPD server can be stopped from the UNIX command line by running "dcclpdshut" and started by running "dcclpdser".
To start or stop the LPD server, position the cursor on the "Stop/Start LPD Server" menu selection and press [ENTER].
Because UNIX lp also has a line print daemon and both it and the LP Plus LPD server attempt to listen to the TCP/IP socket 515, only one or the other can be active (listening) at one time.
If the UNIX line print daemon is active when the LP Plus LPD server is started, the LP Plus LPD server will fail and display the message above. Additional information on why this occurs and system specific information on how to stop the UNIX line print daemon will also be displayed. You can also consult your Network administration documentation for specific information on stopping the UNIX line print daemon. If you are unable to start the LP Plus LPD server, contact your LP Plus support organization.
Starting/Stopping LP Plus Network Status
The LP Plus network status server "dccbkst" is started and stopped by selecting "Services" then "Stop/Start Network Status" from the LP Plus Administration main menu.
The LP Plus network status (dccbkst) server is used to accept and send LP Plus print queue and printer status and commands between LP Plus systems over a TCP/IP network. It must be running on each system that requires centralized management. The network status server is not required for LP Plus to send print requests to other systems or applications supporting the LPD/LPR protocol. The server listens to socket 53971 (the "dccbkst 53971/tcp" service in the /etc/services file) by default for incoming LP Plus commands. It also uses this socket to send printer and queue commands to other LP Plus systems. Refer to the section on Network Management in Part 4 for more information about remote systems management.
To start or stop the network status server, position the cursor on the "Stop/Start Network Status" menu selection and press [ENTER].