• No se han encontrado resultados

Capítulo III. Materiales y métodos

3.4 Operacionalización de variables ¡Error! Marcador no definido.

SCO UNIX workstations require specific installation steps to communicate with the machine. The machines are BSD style UNIX printers, whereas SCO is System V style UNIX.

• Ensure the machine is connected to the network with Ethernet cabling.

• Add the machine printer hostname to the /etc/hosts file on the SCO workstation.

• Ensure that you can Ping the machine from the SCO workstation, using the hostname found in the /etc/hosts file.

Perform the following steps to create a machine print queue on a SCO UNIX workstation using either the GUI or the TTY method.

GUI Method

1. Log in as root.

2. From the Main Desktop, select icons: [System Administration: Printers: Printer Manager]. 3. Select [Printer: Add Remote: UNIX...].

4. Enter the following information into the Add Remote UNIX Printer form:

5. Host: hostname (Where hostname is the machine hostname from the /etc/hosts file). Printer: name of the queue being created, i.e: dc xxxq. Select [OK] to complete the form. 6. Select [OK] at the Message window.

7. Select [Host:Exit].

8. Select [File: Close this directory]. 9. Select [File: Close this directory].

10. Click [Save] at the warning confirmation window. 11. Type [exit] to log out of root account.

12. Open UNIX Window.

tty Method

1. Type [su] to become super user.

2. Type [rlpconf] to create a printer. Enter the following information:

[Printer Name: queuename] [Remote Printer: r]

[Hostname: hostname]

If the information has been entered properly, type [y]. 3. Click [Enter] to accept default of a non-SCO remote printer.

4. Click [Enter] to accept default of non-default printer. 5. Click [Enter] to start process of adding queue. 6. Type [q] to quit the rlpconf program.

CUPS

The Common UNIX Printing System (CUPS) was created by Easy Software Products in 1998 as a modern replacement for the Berkeley Line Printer Daemon (LPD) and A T and T Line Printer (LP) system designed in the 1970s for printing text to line printers.

Currently available for downloading from a number of sources on the Internet, such as www.cups.org, CUPS is offered in both source code and binary distributions.

Information Checklist

Before starting the procedure, please ensure the following items are available or have been performed: • Ensure TCP/IP and HTTP are configured on the device as per Enable TCP/IP and HTTP at the

Device on page 11, so that the web user interface (Internet Services) can be accessed. • Ensure that the DNS settings are configured.

Enable Port 9100 as additional support for HTTP (IPP) printing

1. At your Workstation, open the web browser and enter the IP address of the machine in the Address bar, and press [Enter].

2. Click the [Properties] tab.

3. If prompted, enter the Administrator User ID and Password. The default is [admin] and [1111]. 4. Click on the [Login] button.

5. Click on the [Connectivity] link. 6. Click on the [Protocols] link.

7. Select [Raw TCP/IP Printing] in the directory tree. 8. In the General area:

a. For Protocol, check the [Enabled] checkbox to enable Raw TCP/IP Printing.

b. Physical Connection displays the physical network connection, this will always display

“Ethernet”.

9. Upto three ports may be enabled and configured, in the Port Information area:

a. For Port 1 Leave the [TCP Port Number] set to 9100. If two additional ports are available, click [Default All] to see if they set to 9101 and 9102 respectively (emulating HP JetDirect EX Plus 3).

b. Leave the [Bidirectional] checkboxes and [Maximum Connections per Port] settings at their default values.

c. Set the [End of Job Timeout] to the number of seconds to wait before processing a job without an End Of Job indicator. The range is from 1 to 65535, and the default is 300. d. Leave the [PDL Switching] Enabled checkbox at its default value.

Note:Do not check the [Enabled] checkbox for PDL Switching, when Windows clients print using port 9100. this prevents each print job from generating a banner page.

10. Click on the [Apply] button to accept the changes or [Undo] to return the settings to their previous values, or [Default All] to enter printer defaults for all settings (recommended). 11. Click on the [OK] button when you see the message “Properties have been successfully

modified”.

Note:The settings are not applied until you restart the device.

12. Click on the [Status] tab, select [Description & Alerts] in the directory tree.

13. Click the [Reboot Machine] button and click [OK] to reboot the machine. The network controller takes approximately 5 minutes to reboot and network connectivity will be unavailable during this time.

Installing CUPS on the UNIX workstation

The instructions for installing and building CUPS are contained in the CUPS Software Administrators Manual, written and copyrighted by Easy Software Products and available for downloading at: www.cups.org/documentation.php.

An Overview of the Common UNIX Printing System, Version 1.1, and a wide range of other descriptive documentation, is also available at this site.

The binary distribution of CUPS is available in tar format with installation and removal scripts, as well as in rpm and dpkg formats for RedHat and Debian versions of Linux. After logging into the

workstation as root (su) and downloading the appropriate files to the root directory, the installation begins as follows:

Tar format:

After untarring the files, run the installation script with the ./cups.install (and press Enter).

RPM format:

rpm -e lpr

rpm -i cups-1.1-linux-M.m.n-intel.rpm (and press Enter).

Debian format:

dpkg -i cups-1.1-linux-M.m.n-intel.deb (and press Enter).

Note:RedHat Linux, versions 7.3 and newer, include CUPS support, so software downloading is unnecessary. CUPS is also the default printing system for Mandrake Linux.

Installing the Xerox PPD on the workstation

The Xerox PPD for CUPS is available on one of the CD-ROMs that came with your printer. From the CD- ROM, with root privileges copy the PPD into your CUPS ppd folder on your workstation. If you are unsure of the folder's location, use the Find command to locate the ppd's. An example of the location of the ppd.gz files in RedHat 8.1 is /usr/share/cups/model.

Adding the Xerox printer

1. Use the PS command to make sure that the CUPS daemon is running. The daemon can be restarted from Linux using the init.d script that was created when the CUPS RPM was installed. The command is > /etc/init.d/cups restart. A similar script or directory entry should have been created in System V and BSD. For the example of CUPS built and installed on a FreeBSD 4.2 machine from the source code, run cupsd from /usr/local/sbin. (cd /usr/local/sbin cupsd and press Enter).

2. Type http://localhost:631/admin into the address (URL) box of your web browser and press Enter. 3. For User ID, type root. For the requested password, type the root password.

4. Click [Add Printer] and follow the on screen prompts to add the printer to the CUPS printer list.

Printing with CUPS

CUPS supports the use of both the System V (lp) and Berkeley (lpr) printing commands. Use the -d option with the lp command to print to a specific printer.

lp -dprinter filename (Enter)

Use the -P option with the lpr command to print to a specific printer. lpr -Pprinter filename (Enter)

For complete information on CUPS printing capabilities, see the CUPS Software Users Manual available from www.cups.org/documentation.php.

6

Documento similar