blank.gif (43 bytes)

Church Of The
Swimming Elephant

Search:

CHGLPDA (Change LPD Attributes) Command

Purpose

The Change LPD Attributes (CHGLPDA) command provides an interface to configure line printer daemon (LPD) parameters. The changes made by this command take effect the next time the LPD servers are started.

Restrictions: You must have *IOSYSCFG special authority to use this command.

Optional Parameters

AUTOSTART Specifies whether to automatically start the LPD servers when TCP/IP is started by the Start TCP/IP (STRTCP) command. When LPD is started by the Start TCP/IP Server (STRTCPSVR) command, this parameter is ignored and the number of initial servers defined is started regardless of the value of this parameter.

*SAME: The autostart value that was previously set does not change.

*YES: Start the number of servers defined in the NBRSVR parameter.

*NO: Do not start the number of servers defined in the NBRSVR parameter when the STRTCP command is called.

NBRSVR Specifies the number of LPD servers to start initially when LPD is started by either the STRTCP command or the STRTCPSVR command. The initial number of servers is 2.

The STRTCP command starts all the servers specified in the CHGLPDA command. The STRTCPSVR command starts only one LPD server, regardless of the number of the servers currently running.

LPD works most efficiently when two or more servers are running. Running only one server works, but no jobs can be received while a current job is running. If a large print job is running, new jobs have to wait before LPD is ready to accept any new LPR requests.

*SAME: The number of servers that was previously set does not change.

*DFT: The number of servers is set to the default value of 2.

number-of-servers: The number of servers requested in this parameter is started the next time the LPD server is started. Valid values range from 1 through 20 servers.

Examples

Example 1: Displaying the Change LPD Attributes Display

CHGLPDA

This command, when prompted, shows the Change LPD Attributes display.

Example 2: Starting the LPD Servers Automatically

CHGLPDA AUTOSTART(*YES) NBRSVR(5)

This command indicates that the next time LPD is started by the STRTCP command, 5 LPD servers are to be started.

Example 3: Changing the LPD Attributes to not Start any LPD Servers when the STRTCP Command Is Issued

CHGLPDA AUTOSTART(*NO)

This command indicates that the next time the STRTCP command is issued, no LPD servers are started automatically. If the STRTCPSVR command is issued and STRTCPSVR indicates LPD servers to be started, CHGLPDA AUTOSTART(*NO) has no effect.

Cotse.Net

Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

 
.
www.cotse.com
Have you gone to church today?
.
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 Cotse.com.
Cotse.com is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609