SEH Print Server Installation Manual

Installation in unix systems

Advertisement

Quick Links

Print Server

Installation in UNIX Systems
Installation Manual

Advertisement

Table of Contents
loading

Summary of Contents for SEH Print Server

  • Page 1: Print Server

    Print Server Installation in UNIX Systems Installation Manual...
  • Page 2 SEH Computertechnik GmbH has endeavoured to ensure that the information in all manuals is correct. If you detect any inaccuracies please inform us at the address indicated below. SEH Computertechnik GmbH will not accept any liability for any error or omission.
  • Page 3: Table Of Contents

    4 Printing via Shell Scripts ....... . . 31 4.1 Creating the Print Server Directories....... 32 4.2 Integrating Shell Scripts into System V Systems .
  • Page 4 6 AS/400 - Printing via a Remote Output Queue ... . 49 6.1 Saving the IP address of the Print Server ......50 6.2 Testing the IP Connection .
  • Page 5: Information

    • ’ . .. about the Printing Methods and Installation Procedures’ • ’ . .. about the Assignment of the IP Address to the Host Name’ • ’ . .. about the Saving of the IP Address in the Print Server’ Print Server Installation Manual...
  • Page 6: About The Documentation

    * There is no ’Hardware Installation Guide’ for the Japanese market. The document is integrated into the Japanese version of the ’Quick Installation Guide’ . Scope and Content This documentation describes the installation of your print server in various UNIX systems. Print Server Installation Manual...
  • Page 7 Established terms (of buttons or menu items, for Bold example) are set in bold. Courier Command lines are set in Courier font. Proper names are put in inverted commas. ’Proper names’ Print Server Installation Manual...
  • Page 8: About Support And Current Services

    Friday from 8:00 a.m. to 4:15 p.m. (CET) ℡ +49 (0)521 94226-44 support@seh.de Current Services The following services can be found on the SEH website at www.seh.de. • current firmware • current tools • current documentation • current product information •...
  • Page 9: About Your Safety

    Improper Use All uses of the device that do not comply with the print server functionalities described in the documentation are regarded as improper uses. It is not allowed to make modifications to the hardware and software or to try to repair the device.
  • Page 10: About The Printing Methods And Installation Procedures

    System V. If your system has the '/ usr/lib/lpd' and '/etc/printcap' files, you have BSD. Printing Without a You can send print data directly to the print server by means of FTP Spooler while bypassing the spooler. This method of network printing is used for testing the print server after installation.
  • Page 11 What do you want ’Printing via the LPD Protocol’ to do? ’Printing via TCP/IP Ports’ ’Printing via Shell Scripts’ ’Printing in BS2000’ ’AS/400 - Printing via a Remote Output Queue’ ’AS/400 - Printing via a Device Description’ Print Server Installation Manual...
  • Page 12: About The Assignment Of The Ip Address To The Host Name

    The computer from which this installation is carried out must be in the same (sub)network as the print server. Later, the printer may be located anywhere in the network. Proceed as follows: 1.
  • Page 13: About The Saving Of The Ip Address In The Print Server

    Once the print server is connected to the network, it checks whether an IP address can be obtained from the boot protocols BOOTP or DHCP. If this is not the case, the print server assigns itself an IP address via ZeroConf from the address range 169.254.0.0/16, which is reserved for ZeroConf.
  • Page 14 IC0001FF 1 00:c0:eb:00:01:ff 192.168.0.123 Syntax for Token Ring: <host name> 6 <hardware address> <IP address> Example for Token Ring: IC0001FF 6 00:c0:eb:00:01:ff 192.168.0.123 2. Please make sure that the 'bootp' print daemon rereads the configuration file. Print Server Installation Manual...
  • Page 15 This permanently saves the entry in the ARP table; in other words, the entry does not expire and remains valid until the next time you turn on the UNIX computer. 2. As for internal print server models, turn the printer off and back As for external print server models, disconnect and reconnect the power socket on the print server or turn the print server off and back on.
  • Page 16 1. Start the InterCon-NetTool. 2. Select the print server from the print server list. The print server is displayed in the print server list under 'ZeroConf' with an IP address from the address range 169.254.0.0/16, which is reserved for ZeroConf.
  • Page 17: Printing Via The Lpd Protocol

    UNIX networks. Several UNIX systems support the linkage of network printers via the LPD protocol. In this case, the print server must be installed as a remote printer in the spooler. The user host transfers the print data to the printer by means of the print server.
  • Page 18: Ibm Aix (Version 4.X)

    Printing via the LPD Protocol IBM AIX (Version 4.x) When installing the print server in the spooler of an AIX system as a remote printer, you must enter a print queue, a host name, and a logical printer into the '/etc/qconfig' file. In this section, installation by means of the SMIT Administration Tool is described.
  • Page 19 ’/etc/qconfig’ file: Example: MY_QUEUE: device=MY_QUEUE up=true host=IC0001FF rq=lp1 MY_QUEUE: backend=usr/lpd/rembak 7. Change to the 'etc' directory. 8. Test the print server: Syntax: lp -d <host name of print server> <file name> Example: lp -d IC0001FF hosts Print Server Installation Manual...
  • Page 20: Ibm Aix (Version 3.X)

    Printing via the LPD Protocol IBM AIX (Version 3.x) When installing the print server in the spooler of an AIX system as a remote printer, you must enter a print queue, a host name, and a logical printer into the ’/etc/qconfig’ file. In this section, installation by means of the SMIT Administration Tool is described.
  • Page 21: Aix Without Smit

    AIX Without SMIT When installing the print server in the spooler of an AIX system as a remote printer, you must enter a print queue, a host name, and a logical printer into the ’/etc/qconfig’ file. In this section, manual installation without using the SMIT Administration Tool is described.
  • Page 22 'Logical Printers' in the user manual. Requirements The print server is known to the network via its IP address, see: The host name has been assigned to the IP address, see: The print server is connected and the printer is turned on.
  • Page 23: Hp-Ux (Version 10.20)

    Printing via the LPD Protocol HP-UX (Version 10.20) The print server is installed in an HP-UX UNIX system as a remote printer using either the System Administration Manager (SAM) or directly using the Common Desktop Environment (CDE) or, in older versions, the Visual User Environment (HP VUE).
  • Page 24 Printing via the LPD Protocol 6. Enter an arbitrary printer name into the Printer Name box: Example: my_printer 7. Enter the host name of the print server into the Remote System Name box: Example: IC0001FF 8. Enter a logical printer (lp1 - lp8) into the Remote Printer Name...
  • Page 25: Sunos

    ’/etc/printcap’ file. Requirements The print server is known to the network via its IP address, see: The host name has been assigned to the IP address, see: The print server is connected and the printer is turned on.
  • Page 26: Sco Unix (Version 3.2)

    Printing via the LPD Protocol SCO UNIX (Version 3.2) In SCO 3.2 systems, remote line printing (RLP) is used. When installing the print server, you must first install RLP in the SCO server and then install the print server as a remote printer. Requirements...
  • Page 27: Unixware (Version 4.2 - 1.1.2)

    Requirements The print server is known to the network via its IP address, see: The host name has been assigned to the IP address, see: The print server is connected and the printer is turned on.
  • Page 28: System V (General)

    Requirements The print server is known to the network via its IP address, see: The host name has been assigned to the IP address, see: The print server is connected and the printer is turned on.
  • Page 29: Printing Via Tcp/Ip Ports

    Requirements The print server is known to the network via its IP address, see: The host name has been assigned to the IP address, see: The print server is connected and the printer is turned on.
  • Page 30 -st <status>-si <task acceptance> -so <task processing> Example: xpchange -dev my_printer -st ACTIVE-si ON -so ON5. 5. Test the printer: Syntax: xpadd -job -dr <file name> -de <printer name> Example: xpadd -job -dr /etc/hosts -de my_printer Print Server Installation Manual...
  • Page 31: Printing Via Shell Scripts

    • sys5.sh (for System V with 'lpsched' spooler) Before you can print via shell scripts, you must first transfer the scripts from the print server and then adapt them to the respective UNIX network. For more detailed information; see: ’Functions and Variables of the Shell Scripts’...
  • Page 32: Creating The Print Server Directories

    Printing via Shell Scripts Requirements The print server is known to the network via its IP address, see: The host name has been assigned to the IP address, see: The print server is connected and the printer is turned on.
  • Page 33: Integrating Shell Scripts Into System V Systems

    FTP path must be edited. With print servers with several physical printer ports, the logical printer is used to address the port. For more information, please read the section 'Logical Printers' in the user manual. Print Server Installation Manual...
  • Page 34 Creating the Printer Device The print spooler requires a printer device. Due to the fact that the print server does not need a physical device, a link is made to a zero device. Proceed as follows: 1.
  • Page 35 Syntax: lpshut lpadmin -p <printer name> \ -v /dev/<zero device name> \ -i /etc/printserver/interfaces/<script name>\ -F beginning -o nobanner /usr/lib/lpsched Example: lpadmin -p my_printer \ -v /dev/my_device \ -i /etc/printserver/interfaces/my_script \ -F beginning -o nobanner /usr/lib/lpsched Print Server Installation Manual...
  • Page 36 Proceed as follows: 1. Enter the following command: Syntax: accept <printer name> enable <printer name> Example: accept my_printer enable my_printer 2. Test the new printer: lp -d<printer name> /etc/printserver/<file> Syntax: Example: lp -dmy_printer /etc/printserver/sys5.sh Print Server Installation Manual...
  • Page 37: Integrating Shell Scripts Into Bsd Systems

    '/etc/printserver/interfaces' directory. After that, the shell script is adapted to your system. This means that the host name of the print server, the logical printer, and the FTP path must be edited. Print Server Installation Manual...
  • Page 38 Creating the Printer Device The print spooler requires a printer device. Due to the fact that the print server does not need a physical device, a link is made to a zero device. Proceed as follows: 1.
  • Page 39 The backslash character itself must be the last character in a line. Proceed as follows: 1. Add the following entry to the ’/etc/printcap’ file: Syntax: <printer name>:\ :lp=/dev/<zero device name>:\ :of=/etc/printserver/interfaces/<script name>:\ :sd=/usr/spool/<spool dir. name.>: Example: my_printer:\ Print Server Installation Manual...
  • Page 40 1. Enter the following command: Syntax: lpc> enable <printer name> lpc> start <printer name> lpc> quit Example: lpc> enable my_printer lpc> start my_printer lpc> quit 2. Test the new printer: Syntax: lpr -P<printer name>/etc/printserver/<file> Example: lpr -Pmy_printer /etc/printserver/bsd.sh Print Server Installation Manual...
  • Page 41: Integrating Shell Scripts Into Aix Systems

    '/etc/printserver/interfaces' directory. After that, the shell script is adapted to your system. This basically means that the host name of the print server, the logical printer, and the FTP path must be edited. With print servers with several physical printer ports, the logical printer is used to address the port.
  • Page 42 /etc/printserver/interfaces/my_script Creating the Printer Device The print spooler requires a printer device. Due to the fact that the print server does not need a physical device, a link is made to a zero device. Proceed as follows: 1. Enter the following command: Syntax: ln -sf /dev/null /dev/<zero device name>...
  • Page 43 Once the printer has been entered into the spooler system, you must enable the printer so that print jobs can be accepted. Proceed as follows: 1. Enter the following command: Syntax: enq -U -P<printer name> Example: enq -U -Pmy_printer Print Server Installation Manual...
  • Page 44: Functions And Variables Of The Shell Scripts

    Data The print data is gathered in a temporary file ('/tmp/xxx.d') and then transferred to the print server via FTP. In the process, the name of the FTP target file determines the printer port of the print server. The transfer mode of the FTP server preset in the shell script is binary to suppress the conversion of LF to CR+LF and thus to make the correct transfer of graphic data possible.
  • Page 45 Variables Variables Description HOST Contains the host name or IP address of the print server, such as HOST=IC0001FF. PORTS Indicates the logical printer. The 'PORTS=lp1, lp2, lp3, lp4, lp5, lp6, lp7, lp8' presetting specifies all logical printers of the print server. Select the desired logical printer and delete the others.
  • Page 46: Printing In Bs2000

    With BS2000 systems, the TCP/IP port 2900 is used to implement a bidirectional socket connection. Refer to the print server documentation for more information on TCP/IP ports. Procedure Follow the instructions to carry out the installation:...
  • Page 47: Saving The Ip Address Of The Print Server

    One way is to assign an IP address via the ’arp’ and ’ping’ commands. In order to save the IP address in the print server, the ARP table must be edited first. After that, the ’ping’ command is used to send the IP address to the print server, where it is saved.
  • Page 48: Installation Of The Print Server In The Rso Spooler

    Printing in BS2000 Installation of the Print Server in the RSO Spooler The IP address of the InterCon print server and TCP/IP port 2900 must be entered into the RSO spooler. The SPSERVE utility program is available for this purpose.
  • Page 49: As/400 - Printing Via A Remote Output Queue

    • using a device description In both cases the print-out is carried out via the AS/400/iSeries spool output system. For information on how to prepare the print server for printing using a device description, see: Remote Output Starting with OS/400 V4R2, network printers can be addressed...
  • Page 50: Saving The Ip Address Of The Print Server

    Saving the IP address of the Print Server The print server must be known to the network via its IP address. If you want to assign an IP address to a print server, see: In pure AS/400 network environments, the IP address cannot be assigned using ’arp’...
  • Page 51: Testing The Ip Connection

    The IP address or the host name must be put in single quotation marks. If a connection cannot be achieved, check the network cabling and the IP connection of the print server from a PC. Make sure that the required TCP servers are started on the AS/400/iSeries. Creating a Remote Output Queue A remote output queue is created using the CRTOUTQ command.
  • Page 52 With print servers with several physical printer ports, the logical printer is used to address the port. For more information, please read the section ’Logical Printers’ in the user manual. 8. Press the page down key. The following dialog appears: Print Server Installation Manual...
  • Page 53 <manufacturer printer type and model> e.g. *HP4 INTNETADR '<IP address or host name of the print server>' e.g. '192.168.0.123' The IP address or the host name must be put in single quotation marks. HP 4 may be entered under MFRTYPMDL for printers supporting the PCL5 data stream.
  • Page 54: Starting The Printer Writer

    (held), release the file by chosing 6. The status will change from *RLS to SND (send). Once the file is printed it will be deleted from the list or will change to the status SAV (save). Print Server Installation Manual...
  • Page 55: As/400 - Printing Via A Device Description

    • using a device description In both cases the print-out is carried out via the AS/400/iSeries spool output system. For information on how to prepare the print server for printing using a remote output queue, see: Device Starting with OS/400 V3R7, network printers can be connected to an Description enhanced device description via IP.
  • Page 56: Saving The Ip Address Of The Print Server

    Saving the IP address of the Print Server The print server must be known to the network via its IP address. If you want to assign an IP address to a print server, see: In pure AS/400 network environments, the IP address cannot be assigned using ’arp’...
  • Page 57: Testing The Ip Connection

    The IP address or the host name must be put in single quotation marks. If a connection cannot be achieved, check the network cabling and the IP connection of the print server from a PC. Make sure that the required TCP servers are started on the AS/400/iSeries. Creating the Device Description A remote device printer may be created using the CRTDEVPRT command.
  • Page 58 5. Enter the following parameters into the mask: DEVD <arbitrary name> e.g. MY_DEVICE DEVCLS *LAN TYPE 3812 MODEL LANATTACH PORT 9100 or 9101 to 9104 with external print server models 6. Press the page down key. The following dialog appears: Print Server Installation Manual...
  • Page 59 Fig. 6: Create Device Description (Printer) - Part 2 7. Enter the following parameter into the mask: FONT 8. Press the page down key. The following dialog appears: Fig. 7: Create Device Description (Printer) - Part 3 Print Server Installation Manual...
  • Page 60 Fig. 8: Create Device Description (Printer) - Part 4 11. Enter the following parameters into the mask: TRANSFORM *YES MFRPRTYPMDL <manufacturer printer type and model> e.g. *HP4 PRTCVT *YES HP 4 may be entered under MFRTYPMDL for all printers supporting the PCL5 data stream. Print Server Installation Manual...
  • Page 61 13. Enter the following parameter into the mask: RMTLOCNAME '<IP address or host name of the print server>' 14. Press the page down key. The following dialog appears: Fig. 10: Create Device Description (Printer) - Part 6 Print Server Installation Manual...
  • Page 62: Attaching The Device Description

    1. Enter the following command: STRPRTWTR<arbitrary name> The printer writer is started. 2. Make sure that the status of the output queue is RLS. Release the output queue using the RLSWTR command, if necessary. The installation has been completed. Print Server Installation Manual...
  • Page 63: Troubleshooting

    (held), release the file by chosing 6. The status will change from *RLS to SND (send). Once the file is printed it will be deleted from the list or will change to the status SAV (save). Print Server Installation Manual...
  • Page 64: List Of Figures

    Create Device Description (Printer) - Part 5 ....61 Create Device Description (Printer) - Part 6 ....61 Print Server Installation Manual...

Table of Contents