l8HP DECprint Supervisor (DCPS) for OpenVMSG

HP DECprint Supervisor (DCPS) for OpenVMS
System Manager's Guide



 w d f  
PreviousContentsIndex




I

Chapter 2
Setting Up Printers




LIf you are installing DECprint Supervisor for the first time, or installing Gnew printers, read this chapter. You may also find this chapter useful Dif you are changing the setup of an existing printer. The following Osections describe how to set up your printers to work with DECprint Supervisor software.



/  
Note

BIf you are changing the setup of a printer for which a DCPS queue Balready exists, you must first stop the associated queue using theSTOP /QUEUE /NEXT orSTOP /QUEUE /RESET command.


CThe devices that can be used with DECprint Supervisor software are 1listed in the Software Product Description (SPD).Q

2.1 Networked Printers



BYour printer may contain a network interface card (NIC) or may be Baccessable to the network via a print server of a terminal server.

2Printers can be configured as network printers if:



0Network printing has the following implications:



HExcept for LPD connections, DCPS requires that the entire communication Epath between your OpenVMS system and your printer be bi-directional. >For a networked printer, this communication path includes the Econnection between the printer and the network device as well as the >connection between the network device and your OpenVMS system.

BLAT and AppleTalk network devices, and serial interfaces, usually Fprovide bi-directional communication. Raw TCP/IP network devices, and Gparallel ports on a printer, terminal server, or print server, may not Hsatisfy this requirement. Except for LPD connections, the DCPS software Hwill not work with a connection that does not allow status messages and Eother information to be sent from the printer to your OpenVMS system.=

2.1.1 TCP/IP Printers



FPrinter protocols that layer upon TCP/IP are Raw TCP, LPD, Telnet and GCPAP. DCPS uses CPAP to communicate with DIGITAL PrintServer printers. *DCPS does not support the Telnet protocol.

BBefore you can communicate with your printer via TCP/IP, you must Hdefine an IP address for it. You may also assign a name to the address. BRefer to the printer documentation for information on setting the Gprinter's IP address. Refer to HP TCP/IP Services for OpenVMS, Process ;Software MultiNet for OpenVMS, or Process Software TCPware Cdocumentation for information on configuring your OpenVMS system's TCP/IP environment.

HIf your printer is connected through a print server or terminal server, Byou must configure the IP address of the server. You also need to Aconfigure the connection between the printer and the server (for Gexample, you may need to perform actions similar to those described in wSection 2.1.2.2 for LAT printers). Refer to documentation for your Eterminal server or printer server for information on configuring its network and printer interfaces.D

2.1.1.1 Raw TCP/IP Printers



CRaw TCP/IP is a network protocol that utilizes the TCP/IP protocol Gdirectly without any additional interpretation of the TCP data stream. FIt is supported by many printer Network Interface Cards (NICs), print Cservers, terminal servers and other systems with remote LPD queues.

BTo communicate with your printer using Raw TCP/IP, the NIC, print Fserver or terminal server that you use to connect your printer to the Fnetwork must provide a Raw TCP/IP port. Further, this Raw TCP/IP port Gmust support bi-directional communication between the printer and your BOpenVMS system. DCPS does not work with unidirectional Raw TCP/IP Fports, such as those found on the NICs for the DEClaser 3500 and 5100 Gprinters, the RapidPrint 200, and Hewlett-Packard JetDirect cards that 9interface with the printer via its XIO (versus MIO) slot.:

2.1.1.2 LPD Printers



DLPD is a network protocol that is supported by many printer Network HInterface Cards (NICs), print servers, terminal servers and PrintServer @printers. Unlike the other protocols that DCPS supports, LPD is Eunidirectional. This provides support for more printers but provides Hfewer features that rely on information returned from the printer, such as error and status messages.<

2.1.1.3 CPAP Printers



DCPAP (Common Printer Access Protocol) is a network protocol that is Asupported by DIGITAL PrintServer printers. CPAP is the preferred Bprotocol for printing to PrintServer printers over TCP/IP and the required protocol for DECnet.8

2.1.2 LAT Printers

V

2.1.2.1 Configuring the Printer for LAT Access



?To configure serial printers as network printers through a LAT 1connection to the Ethernet, change the following:

    I
  1. If you are using a serial printer connected via a terminal server, I set the necessary port and server characteristics for the printer (see ] Section 2.1.2.2 for DECserver devices).G
  2. Make the necessary changes to SYS$STARTUP:LAT$SYSTARTUP.COM (see G Section 2.1.2.3).u
  3. Set the communications speed (see Section 2.1.2.4).


AYou can also change the printer password and printer name. These ³changes are optional and explained in Section 2.3.3 and Section 2.3.4.W

2.1.2.2 Setting DECserver LAT Port Characteristics





/  
Note

GThe process for configuring non-DECserver LAT devices is not described Ehere, but many LAT devices use the same commands used by a DECserver Fdevice. Refer to the online help or other documentation for your NIC, >terminal server, or print server for more information.


HTo change DECserver port characteristics, you need privileged status on Fthe DECserver device. Once you have privileged status, use the DEFINE PORT and SET PORT commands.

FThe DEFINE command changes the port's characteristics in the server's Dpermanent database. These changes do not take effect until the next login for the port.

@SET commands take effect immediately, but only alter the port's Dcharacteristics for the current session. For example, to change the BINPUT SPEED and OUTPUT SPEED values on PORT_6 to 19200 baud (on a EDECserver 200), issue the following commands from the console server manager:

 

"
)LOCAL> SET PRIVILEGED&PASSWORD> password 1LOCAL> SET PORT 6 SPEED 192004LOCAL> DEFINE PORT 6 SPEED 19200






/  
Note

NDECprint Supervisor supplies a sample command file for this purpose, if using ELAT. This command file sets the characteristics for a DECserver with Hthe Terminal Server Manager (TSM) software, and records data in the TSM Hdatabase. (TSM is a software product available separately from HP.) The command file is:

 

"
>SYS$COMMON:[SYSHLP.EXAMPLES.DCPS]DCPS$CONFIG-PRINTER-PORT.COM 




EThis command file provides examples of characteristics for DECserver 5100, DECserver 200 and DECserver 500 devices.



EFor information about the commands and procedures for your DECserver 1device, refer to your DECserver management guide.

HMake sure the DECserver port characteristics match the settings on your ¤printer. Table 2-1 and Table 2-2 list DECserver port Acharacteristics that must match the settings on your printer.

o                 
Table 2-1 DECserver Port Characteristics
 Character size  8
Parity None
 Input speed 9600
 Output speed 9600


FMake sure the queue limit is not set to 0, which disables queuing.

}  ) +                                                          
Table 2-2 Printer-Required DECserver Port Characteristics
Characteristic Default Settings
ACCESS REMOTE
 AUTOBAUD  DISABLED
 AUTOCONNECT  DISABLED
 AUTOPROMPT  DISABLED
BREAK  DISABLED
 BROADCAST  DISABLED
 FLOW CONTROL XON
 INPUT FLOW CONTROL 1 ENABLED
 OUTPUT FLOW CONTROL 1 ENABLED
 INACTIVITY LOGOUT  DISABLED
 LOSS NOTIFICATION  DISABLED
 MESSAGE CODES  DISABLED
QUEUING ENABLED
 VERIFICATION  DISABLED



E1Characteristic not supported by the DECserver 500 server.





/  
Note

=On many versions of DECserver devices, QUEUING is not a port @characteristic, but is a server characteristic whose default is ENABLED.
P

2.1.2.3 Editing the LAT Configuration File



HThe LAT configuration file (SYS$STARTUP:LAT$SYSTARTUP.COM) defines host Fnode service characteristics. Before you start the print queues, make 7sure the LAT driver is running and ports are available.



/  
Note

ACommands referenced in this section are LATCP commands. For more uinformation on LATCP commands, refer to the HP OpenVMS System Management Utilities Reference Manual.
    H
  1. Edit LAT$SYSTARTUP.COM and add the following command to create an F applications port on the host node (service node) that will support  your printer:

     

    "
    /$ CREATE PORT LTAd:/NOLOG/APPLICATION 
    
    
    J
    In this command format, you supply the number of the applications C port for d, which must be a unique number from 1-9999.

    

    /  
    Note

    ELTA devices are not always dedicated to printers; they may be shared Awith other devices. Connections to the LTA device from the other Fdevices are established dynamically among the lowest available ports. GIf you assign a higher port number to the printer, you can help secure Fthe port for the printer and prevent interference from connections to other devices.
    
    G
  2. In LAT$SYSTARTUP.COM, add the following command to associate the 3 applications port with a remote port on a server:

     

    "
    ^$ SET PORT LTAd:/NODE=server_name/PORT=port_name/QUEUE/APPLICATION 
    
    
    ?
    In the command format, you supply the following values:            
     LTAd: " Name of the application port
     server_name % Name assigned to the LAT device
     port_name  LAT device's port name
    H
    The following example associates application port LTA9000: with 8 port PORT_7 on a remote DECserver 200 named LN03RDS:

     

    "
    ?$ SET PORT LTA9000:/NODE=LN03RDS/PORT=PORT_7/QUEUE/APPLICATION 
    
    
    L
    If the LAT device is dedicated to printing services, you can define J the LAT connection for the printer in the DCPS$STARTUP.COM file. This L makes it easier for you to solve configuration problems because all the I information is in one file. However, if the LAT device also supports C devices other than printers, you should define the port in the  LAT$SYSTARTUP.COM file.B

  3. To make a successful LAT connection, you must make sure the B following lists of groups have at least one LAT group in common: F
    If you did not set up these groups correctly, you receive the : following error message when a print job is submitted:

     

    "
    '%DCPS-E-LRJACCESSDENIED, Access denied 
    
    
    F
    You can use LATCP commands to include the necessary LAT group | designations. For additional information, refer to the HP OpenVMS System Management Utilities Reference Manual.

    

    /  
    Note

    FThis information is not required for the DECserver 90L device.
    
U

2.1.2.4 Setting the Communications Speed



HMake sure the serial printer communications speed is set to the default F(9600 baud). If you want the printer to run at a different baud rate, use the following procedure.

AIf the printer is on a DECserver device, use the following steps:

    E
  1. Set the printer to the appropriate baud rate (see your printer  hardware installation guide).G
  2. Set the DECserver communications speed (see your terminal server  installation guide).H
  3. Power on the printer. Wait for the printer to eject the power-up E test page, and then check the test page to ensure that the desired * settings are indicated on the test page.
>

2.1.3 DECnet Printers



@DCPS uses CPAP over DECnet only to print to DIGITAL PrintServer printers.

EBefore you can communicate with your DIGITAL PrintServer printer via GDECnet, you must assign a DECnet address to it. You may also associate a name with the address.

FRefer to the PrintServer documentation for information on setting the printer's DECnet address.

HTo associate a DECnet node name name with the printer's DECnet address, Huse the NCP command if you are running DECnet Phase IV software, or the ADECNET_REGISTER command if you are running DECnet-Plus (formerly ADECnet/OSI) software. Refer to the DECnet documentation for more 0information about node names and these commands.D

2.1.4 AppleTalk Printers



DIf you use your printer in an AppleTalk network, the address of the Fprinter in the AppleTalk network is normally the printer's PostScript Hprintername. If two or more printers have the same printer name and are Eon the same zone of the AppleTalk network, the actual node names for Ethese printers will be depend on the order in which the printers are Apowered up. Printers of the same product type will have the same Fprintername until it is explicity changed. Therefore, it is necessary Eto change a printer's printer name to ensure the printer is uniquely Hand consistently identified on the network. Use the tools provided with Gyour printer, and/or your Macintosh to change the name of your printer.i

2.2 Directly-Connected Serial Printers



HFor your printer and OpenVMS system to be able to communicate, you must Hset the baud rate of your printer and system's serial interfaces to the Gsame values. Also, your printer should be set for eight-bit characters with no parity.



/  
Note

HWhen choosing a baud rate other than the default of 9600 baud, consider the following limitations:
    F
  • OpenVMS drivers do not support baud rates of 3600 and 7200 baud.G
  • DMZ32 serial interfaces, Revision E or lower, require a speed of  4800 baud or less.J
  • If you select an improper speed, the printer may not operate or may  stop unexpectedly.



GRefer to your printer's hardware installation guide for information on Dconfiguring its serial interface. After you have made the necessary Fchanges, turn the printer off and back on. Then manually print a test :page and verify that the reported settings are as desired.

?Set the baud rate of your OpenVMS system's serial interface by ?specifying a value for P6 when setting up the xcorresponding DCPS print queue, as described in Section 3.3.6.



/  
Note

FCSA0: (printer port 0 on VAXstation II and VAXstation II/GPX systems) 1is not a supported interface for serial printers.

EDEClaser printers may require an H8571--E adapter if you are using a FDECconnect serial cable. Refer to your printer installation guide for more information.
Q

2.3 General Information

9

2.3.1 Supported Printers



HYou can use DCPS with many PostScript printers. Consult the SPD for the Clist of supported printers. You may also be able to use DCPS in an =unsupported fashion with printers not listed in the SPD (see GSection 7.12).

3Before installing a printer, perform the following:



GPrinting legal size paper or printing duplex requires more memory than Ethe base configuration. Consult your printer manual for your minimum requirements.P

2.3.2 Setting the printer timeout



DThe printer may abort a print job if it does not receive data for a Dspecified period of time. HP recommends that you change the timeout *value to zero (0), which means no timeout.

EYou may be able to set the timeout value through the front panel, as 4documented in the operator's guide for your printer.

7You can also change the printer timeout value with the Dsetdefaulttimeouts PostScript operator. Modify the Estandard file SYS$COMMON:[SYSHLP.EXAMPLES.DCPS]LPS$SET_TIMEOUT.PS to 8change the timeout value to 0. Print the file using the BDATA_TYPE=POSTSCRIPT parameter to change the timeout value in the Fprinter's nonvolatile memory to 0, thus preventing timeout conditions on the printer.

GTo submit the file for printing as a PostScript job, use the following command:

 

"
Z    $ PRINT /QUEUE=queue-name /PARAMETERS=(DATA_TYPE=POSTSCRIPT)*    _$ LPS$SET_TIMEOUT.PS




HWhen the print job is processed, a page is printed to indicate that the !timeout was successfully changed.N

2.3.3 Changing the Printer Password



CPostScript printers have passwords that restrict access to certain Afunctions. You can change the password for your printer from the Edefault value. For serial printers, submit a print job that includes ?the current password as well as the new password. Refer to the mPostScript Printers Programmer's Supplement for information about changing your printer's password.

=The default password for ScriptPrinters is (LN03R), with the Fparentheses required. The default password for DEClaser printers is 0 B(the number zero), without parentheses. If you change the printer Hpassword from the default, print jobs may take longer to print, because Athe printer password is required to persistently load PostScript .prologues for ANSI files and separation pages.B

2.3.4 Setting the Printer Name



ESome system messages include the printer name. If you have not set a Funique printer name, these messages contain the default printer name. HThe default printer name is the model name of the printer. For example, Hon an HP LaserJet 9000 printer where the name has not been changed, the 4following message reflects the default printer name:

 

"
Q%DCPS-I-TRAYSUBST, Output will be delivered to the only tray on HP LaserJet 9000 




GIf you change the DEClaser printer name to "Office Printer", <the same error message reflects the unique new printer name:

 

"
S    %DCPS-I-TRAYSUBST, Output will be delivered to the only tray on Office Printer 




@For non-PrintServer printers, the printer name is stored in the Fprinter's nonvolatile memory. To set the printer name, edit a copy of *the file LPS$SET_PRINTER_NAME.PS found in CSYS$COMMON:[SYSHLP.EXAMPLES.DCPS]) to include the desired name and 9password. Select a printer name of 31 characters or less.

6Then submit the file for printing as a PostScript job:

 

"
]    $ PRINT /QUEUE=queue-name /PARAMETERS=(DATA_TYPE=POSTSCRIPT) - /    _$ LPS$SET_PRINTER_NAME.PS




HEdit and submit a copy of LPS$SET_PRINTER_NAME.PS for each printer that requires a unique name.




 w a d f  
PreviousNextContentsIndex