Contents About this Guide 1 Intended Audience ............................1 What You Need to Know ..........................2 How to Use This Guide ............................2 Conventions ..............................3 Customer Support ............................4 Your Okidata Vendor ..............................4 The Internet ................................4 Acronyms & Commands ..........................5 Chapter 1 Installing and Configuring UNIX Printing Software on a Compaq Tru64 UNIX System ........................
Page 4
Contents Installation Prerequisites ..........................43 Super User Privileges ............................43 Create a Temporary Directory ..........................44 Mount the CD-ROM on an IBM/AIX System ......................44 Mount the CD-ROM on an IBM/AIX System Using SMIT ................46 Unarchiving .tar Files ............................47 Unarchiving the Master .tar File ...........................47 Unarchiving a .tar File Kit ............................47 Installing UNIX Printing Software on an IBM/AIX System ..............
Page 5
Contents Displaying Banner Options Using the lpspr Command ..................83 Maintaining Banner Information in the printer2mdl File ..................85 Chapter 6 Running the Software ....................87 About xlpsprint and lpspr ........................... 87 Model-to-ppd File (mdl2ppd) ..........................88 Printer to Model Map File (printer2mdl) ......................88 lpsprodb File .................................89 xlpsprint Command ............................
Preface About this Guide This guide describes the installation and configuration procedures necessary for running UNIX Printing Software on the following platforms: • Compaq Tru64 System • HP/UX System • IBM/AIX System • Linux System (Alpha or Intel) • Sun Solaris In addition to providing you with installation instructions for each of the above UNIX Platforms, This guide also provides instructions on how to create print queues, and how to prepare the output of a print job (e.g., selecting a printer, determining page...
Preface: About this Guide What You Need to Know A working knowledge of the UNIX platform(s) on which you will be installing, configuring, and using UNIX Printing Software is necessary for executing commands on the command line interface or for setting up printer information on the graphical user interface for UNIX Printing Software.
Conventions Table P-1. How to Use this Guide Read To Learn About Chapter 6 The two commands (i.e., xlpsprint and lpspr) that let you run the software. Use xlpsprint to invoke the graphical user interface for UNIX Printing Software or lpspr to bring you into the command line interface for installing and configuring UNIX Printing Software.
Okidata Technical Support Your Okidata Vendor Your local Oki Data vendor from whom you purchased this product may be best equipped to help you. Your vendor has specially trained service technicians available to answer questions and the equipment to analyze your problems.
Acronyms & Commands Acronyms & Commands This section contains a general list of acronyms and commands found throughout this guide. Table P-3. Acronyms & Commands Acronym/Command Definition Command Line Interface Graphical User Interface. To display the GUI for UNIX Printing Software, enter xlpsprint at the command line. Internet Protocol lpadmin A command that lets you create print queues for HP/UX...
Page 12
Preface: About this Guide Table P-3. Acronyms & Commands Acronym/Command Definition mdl2ppd Model-to-PPD File. A system file made up of a number of lines with two items on each line. The first item is the printer model name. The second item is the name of its corresponding ppd file.
Installing and Configuring UNIX Printing Software on a Compaq Tru64 UNIX System This chapter contains information for installing and configuring UNIX Printing Software on a Compaq Tru64 UNIX system. Topics in this chapter include: • “lpr and lp” on page 1-8 •...
Chapter 1: Installing and Configuring UNIX Printing Software on a Compaq Tru64 UNIX System lpr and lp are two separate commands that are used by xlpsprint lpspr for sending files to a spooler daemon for printing. The command is used for BSD-based printing, and the command is used for System V-based printing.
Installation Prerequisites lp -dCopyroom_40 Test2.txt flag indicates the print queue name for the print job. The installation script lpspr_install prompts you to select a path for LPRCOM a flag for LPRFLAG is a program file that sends flags to the spooler daemon for printing. It LPRCOM has a default path of /usr/bin/lpr.
Chapter 1: Installing and Configuring UNIX Printing Software on a Compaq Tru64 UNIX System Super User Privileges To be a Super User (root), follow the instructions below: 1. Type at the command line. Press RETURN. You will be prompted for the super user password. If you do not know the super user password, contact your system administrator.
Installation Prerequisites # mount -r -t cdfs -o noversion -v /dev/rz4c /mycdrom where is read only. where is the file type where is the CD-ROM file system. cdfs where noversion invokes the skip version process. where selects the device drive. where is the CD-ROM device file.
Chapter 1: Installing and Configuring UNIX Printing Software on a Compaq Tru64 UNIX System Unarchiving the Master .tar File To unarchive the master .tar file, enter the following command at the command line: # tar xvf unprswxx.tar Refer to the section, “Viewing tar File Contents”...
Installing UNIX Printing Software on a Compaq Tru64 UNIX System Installing UNIX Printing Software on a Compaq Tru64 UNIX System Instructions for installing UNIX Printing Software on a Compaq Tru64 UNIX System are as follows: 1. Enter the following command at the command line. Press RETURN ./lpspr_install The following prompt appears:...
Chapter 1: Installing and Configuring UNIX Printing Software on a Compaq Tru64 UNIX System Deinstalling UNIX Printing Software If lpspr_install does not successfully copy all of the files within the kit, you must delete the existing files from the system before reinstalling the software. The lpspr_deinstall command will remove the directory structure for all existing files for lpspr, xlpsprint and sdriver.
Configuring Unix Printing Software on a Compaq Tru64 UNIX System Creating Print Queues for a Compaq Tru64 UNIX System Each print queue within a UNIX system corresponds to an internet address of a particular printer. You establish this association during the creation of the print queue. When configuring and/or running sdriver, the printer’s IP address is included after the -I switch.
Page 22
Chapter 1: Installing and Configuring UNIX Printing Software on a Compaq Tru64 UNIX System Set device pathname: 7. Enter the following pathname: /dev/null The following prompt appears: Do you want to capture print job accounting data ([y][n]): To capture logging, you must use the flag on the sdriver command line Note: within...
Page 23
Configuring Unix Printing Software on a Compaq Tru64 UNIX System xs ya yd yj yp ys yt Da Dl It Lf Lu MI Nu Or Ot Ps Sd Si Ss Ul Xf 12. Enter the symbol: . Press RETURN. 13. Enter the following command. Press RETURN. # /usr/sbin/sdriver -F [-Ixxx.xxx.xxx.xxx | -Pqueue] -pyyyy [-L -d] •...
Page 24
Chapter 1: Installing and Configuring UNIX Printing Software on a Compaq Tru64 UNIX System 20. Type EXIT at the command line. Updating the Printcap File The final step in configuring a Compaq Tru64 UNIX print queue is to remove the OF entry from the printcap file.
Using a Banner Page Using a Banner Page A banner page is a lead sheet that can precede a print job. It contains useful information that lets other users who are printing from the same print queue, determine the ownership of a print job. A banner page is also useful for dividing print jobs, in the event that multiple print jobs are in the output tray.
Chapter 1: Installing and Configuring UNIX Printing Software on a Compaq Tru64 UNIX System • A specific Input Tray for the banner Select the “Input Tray for the banner” option if you want to print the banner pages in tray that is separate from the tray used by the actual print jobs. Displaying Banner Options Using the lpspr Command command lets you view the Printer Dependent Options, including the lpspr...
Page 27
Using a Banner Page The following illustrates a typical display of Printer Dependent Options for a printer. Not all printer dependent options will be available for all printer models. [ -Rresolution ] :: 1.) 300dpi 2.) 600dpi [ -Itray ] :: 1.) upper 2.) middle 3.) lower...
Chapter 1: Installing and Configuring UNIX Printing Software on a Compaq Tru64 UNIX System Maintaining Banner Information in the printer2mdl File The printer2mdl map file maintains a list of all the print queues, printer model names, and banner page options associated with a specific computer system. The printer2mdl map file found in your installation kit is to be used as an example only.
Installing and Configuring UNIX Printing Software on a HP/UX System This chapter contains information for installing and configuring UNIX Printing Software on an HP/UX system. Topics in this chapter include: • “lpr and lp” on page 2-24 • “Installation Prerequisites” on page 2-25 •...
Chapter 2: Installing and Configuring UNIX Printing Software on a HP/UX System lpr and lp are two separate commands that are used by xlpsprint lpspr sending files to a spooler daemon for printing. The command is used for BSD-based printing, and the command is used for System V-based printing.
Installation Prerequisites lp -dCopyroom_40 Test2.txt flag indicates the print queue name for the print job. The installation script lpspr_install prompts you to select a path for LPRCOM a flag for LPRFLAG is a program file that sends flags to the spooler daemon for printing. It LPRCOM has a default path of /usr/bin/lpr.
Chapter 2: Installing and Configuring UNIX Printing Software on a HP/UX System 2. Enter the super user password. Press RETURN. Create a Temporary Directory You must make a temporary directory for the UNIX Printing Software kit. Instructions are as follows: You must have super user privileges to complete this task.
Installation Prerequisites where is the mount point. /mycdrom Once the software kit is in its temporary directory, you will need to untar the tar File. Refer to the section, “Unarchiving .tar Files” on page 2-27 of this guide. Determining an HP/UX Device File Type If you do not know the device file type of your HP/UX system’s CD-ROM, enter the following command at the command line: # /usr/sbin/ioscan -Fn -C disk...
Chapter 2: Installing and Configuring UNIX Printing Software on a HP/UX System Before unarchiving a .tar file, make sure that you are located in the temporary directory into which you want to install the kit. Unarchiving the Master .tar File To unarchive the master .tar file, enter the following command at the command line: # tar xvf unprswxx.tar Refer to the section, Viewing tar File Contents to find out how to display the contents...
Chapter 2: Installing and Configuring UNIX Printing Software on a HP/UX System Installing UNIX Printing Software on an HP/UX System Instructions for installing UNIX Printing Software on an HP/UX System are as follows: 1. Enter the following command at the command line. Press RETURN ./lpspr_install The following prompt appears:...
Deinstalling UNIX Printing Software Deinstalling UNIX Printing Software If lpspr_install does not successfully copy all of the files within the kit, you must delete the existing files from the system before reinstalling the software. The lpspr_deinstall command will remove the directory structure for all existing files for lpspr, xlpsprint and sdriver.
Chapter 2: Installing and Configuring UNIX Printing Software on a HP/UX System You must be a Super User (Root) in order to perform any of the configuration tasks described in this chapter. Refer to the section, “Super User Privileges” on page 2-25 for instructions on how to accomplish this task.
Page 39
Configuring UNIX Printing Software on a HP/UX System 2. Enter a name for the printer model. Press RETURN. Example: printer2 The following prompt appears: Enter the name of the printer: 3. Enter a name for the printer. Press RETURN. Printer is the name of the printer as it exists in /etc/hosts or YP/DNS. Note: Example: hallway_40...
Page 40
Chapter 2: Installing and Configuring UNIX Printing Software on a HP/UX System Shutting-down the Line Printer Scheduler lpsched must be shut-down before running the lpadmin command; then turned back on once the lpadmin command process completes. To shut down , enter the following command at the command line. Press lpsched RETURN: lpshut...
Page 41
Configuring UNIX Printing Software on a HP/UX System scheduler is running 5. Enter the accept command at the command line to prepare the print queue to accept requests: Example: # accept 40_test UNIX Printing Software Administration and Installation Guide 8/25/022-35...
Chapter 2: Installing and Configuring UNIX Printing Software on a HP/UX System Using a Banner Page A banner page is a lead sheet that can precede a print job. It contains useful information that lets other users who are printing from the same print queue, determine the ownership of a print job.
Using a Banner Page • A specific Input Tray for the banner Select the “Input Tray for the banner” option if you want to print the banner pages in tray that is separate from the tray used by the actual print jobs. Displaying Banner Options Using the lpspr Command command lets you view the Printer Dependent Options, including the lpspr...
Page 44
Chapter 2: Installing and Configuring UNIX Printing Software on a HP/UX System The following illustrates a typical display of Printer Dependent Options for a printer. Not all printer dependent options will be available for all printer models. [ -Rresolution ] :: 1.) 300dpi 2.) 600dpi [ -Itray ] ::...
Using a Banner Page Maintaining Banner Information in the printer2mdl File The printer2mdl map file maintains a list of all the print queues, printer model names, and banner page options associated with a specific computer system. The printer2mdl map file found in your installation kit is to be used as an example only.
Page 46
Chapter 2: Installing and Configuring UNIX Printing Software on a HP/UX System 2-408/25/02 UNIX Printing Software Administration and Installation Guide...
Installing and Configuring UNIX Printing Software on an IBM/AIX System This chapter contains information for installing and configuring UNIX Printing Software on an IBM/AIX system. Topics in this chapter include: • “lpr and lp” on page 3-42 • “Installation Prerequisites” on page 3-43 •...
Chapter 3: Installing and Configuring UNIX Printing Software on an IBM/AIX System lpr and lp are two separate commands that are used by xlpsprint lpspr sending files to a spooler daemon for printing. The command is used for BSD-based printing, and the command is used for System V-based printing.
Installation Prerequisites lp -dCopyroom_40 Test2.txt flag indicates the print queue name for the print job. The installation script lpspr_install prompts you to select a path for LPRCOM a flag for LPRFLAG is a program file that sends flags to the spooler daemon for printing. It LPRCOM has a default path of /usr/bin/lpr.
Chapter 3: Installing and Configuring UNIX Printing Software on an IBM/AIX System 2. Enter the super user password. Press RETURN. Create a Temporary Directory You must make a temporary directory for the UNIX Printing Software kit. Instructions are as follows: You must have super user privileges to complete this task.
Page 51
Installation Prerequisites where identifies the mount point for the CD-ROM. /mycdrom 3. Once the command successfully executes, you can refer to the device by the mount point, e.g., /mycdrom Once the software kit is in its temporary directory, you will need to untar the tar File.
Chapter 3: Installing and Configuring UNIX Printing Software on an IBM/AIX System Mount the CD-ROM on an IBM/AIX System Using SMIT To mount a CD-ROM on an IBM/AIX system using SMIT, follow the instructions below: 1. Enter the following command at the command line: SMIT The System Management Window appears 2.
Installation Prerequisites Unarchiving .tar Files There is a master .tar file (i.e., ) within your software kit that must be unprswxx.tar unarchived. Inside the master .tar file is a set of individual .tar files that must also be unarchived, as necessary, for each of the UNIX operating systems. The .tar files maintained by include: unprswxx.tar...
Page 54
Chapter 3: Installing and Configuring UNIX Printing Software on an IBM/AIX System Refer to the section, Viewing tar File Contents to find out how to display the contents of this file. Viewing tar File Contents To view the contents of the newly unarchived tar file, enter the following command at the command line: # ls -l You should see the following directories and files in your kit:...
Installing UNIX Printing Software on an IBM/AIX System Installing UNIX Printing Software on an IBM/AIX System Instructions for installing UNIX Printing Software on an IBM/AIX System are as follows: 1. Enter the following command at the command line. Press RETURN ./lpspr_install The following prompt appears: Select LPSROOT [/opt/lpspr]:...
Chapter 3: Installing and Configuring UNIX Printing Software on an IBM/AIX System Deinstalling UNIX Printing Software If lpspr_install does not successfully copy all of the files within the kit, you must delete the existing files from the system before reinstalling the software. The lpspr_deinstall command will remove the directory structure for all existing files for lpspr, xlpsprint and sdriver.
Configuring UNIX Printing Software on an IBM/AIX System Creating a Print Queue for an IBM/AIX System To create a print queue for an IBM/AIX system, follow the instructions below: 1. From the /tmp/install directory, enter the following command at the command line.
Chapter 3: Installing and Configuring UNIX Printing Software on an IBM/AIX System Using a Banner Page A banner page is a lead sheet that can precede a print job. It contains useful information that lets other users who are printing from the same print queue, determine the ownership of a print job.
Using a Banner Page • A specific Input Tray for the banner Select the “Input Tray for the banner” option if you want to print the banner pages in tray that is separate from the tray used by the actual print jobs. Displaying Banner Options Using the lpspr Command command lets you view the Printer Dependent Options, including the lpspr...
Page 60
Chapter 3: Installing and Configuring UNIX Printing Software on an IBM/AIX System The following illustrates a typical display of Printer Dependent Options for a printer. Not all printer dependent options will be available for all printer models. [ -Rresolution ] :: 1.) 300dpi 2.) 600dpi [ -Itray ] ::...
Using a Banner Page Maintaining Banner Information in the printer2mdl File The printer2mdl map file maintains a list of all the print queues, printer model names, and banner page options associated with a specific computer system. The printer2mdl map file found in your installation kit is to be used as an example only.
Page 62
Chapter 3: Installing and Configuring UNIX Printing Software on an IBM/AIX System 3-568/25/02 UNIX Printing Software Administration and Installation Guide...
Installing and Configuring UNIX Printing Software on a Linux System This chapter contains information for installing and configuring UNIX Printing Software on a LINUX (ALPHA or INTEL) system. Topics in this chapter include: • “lpr and lp” on page 4-58 •...
Chapter 4: Installing and Configuring UNIX Printing Software on a Linux System lpr and lp are two separate commands that are used by xlpsprint lpspr sending files to a spooler daemon for printing. The command is used for BSD-based printing, and the command is used for System V-based printing.
Installation Prerequisites lp -dCopyroom_40 Test2.txt flag indicates the print queue name for the print job. The installation script lpspr_install prompts you to select a path for LPRCOM a flag for LPRFLAG is a program file that sends flags to the spooler daemon for printing. It LPRCOM has a default path of /usr/bin/lpr.
Chapter 4: Installing and Configuring UNIX Printing Software on a Linux System Super User Privileges To be a Super User (root), follow the instructions below: 1. Type at the command line. Press RETURN. You will be prompted for the super user password. If you do not know the super user password, contact your system administrator.
Installation Prerequisites Unarchiving .tar Files There is a master .tar file (i.e., ) within your software kit that must be unprswxx.tar unarchived. Inside the master .tar file is a set of individual .tar files that must also be unarchived, as necessary, for each of the UNIX operating systems. The .tar files maintained by include: unprswxx.tar...
Page 68
Chapter 4: Installing and Configuring UNIX Printing Software on a Linux System Viewing tar File Contents To view the contents of the newly unarchived tar file, enter the following command at the command line: # ls -l You should see the following directories and files in your kit: Directories •...
Installing UNIX Printing Software on a Linux (Alpha or Intel) System Installing UNIX Printing Software on a Linux (Alpha or Intel) System Instructions for installing UNIX Printing Software on a Linux (Alpha or Intel) System are as follows: 1. Enter the following command at the command line. Press RETURN ./lpspr_install The following prompt appears:...
Chapter 4: Installing and Configuring UNIX Printing Software on a Linux System Select LPSROOT [/opt/lpspr] is an upper level directory structure under which rest of the installation LPSROOT code is installed. 2. Press RETURN if the default is OK. Otherwise, enter a new path. The following message appears: Deinstallation successful Configuring UNIX Printing Software on a LINUX...
Page 71
Configuring UNIX Printing Software on a LINUX System 3. Enter a name for the filter. Press RETURN. If the filter name already exists, you will be prompted to overwrite it. If the filter name does not already exist, the following prompt appears: Enter the name of the printer: 4.
Page 72
Chapter 4: Installing and Configuring UNIX Printing Software on a Linux System Running Printtool The Printtool command creates an entry in . Refer to the section, /etc/printcap “Printer to Model Map File (printer2mdl)” on page 6-88 to learn more about this file. You must run the command before you can run Printtool.
Using a Banner Page Using a Banner Page A banner page is a lead sheet that can precede a print job. It contains useful information that lets other users who are printing from the same print queue, determine the ownership of a print job. A banner page is also useful for dividing print jobs, in the event that multiple print jobs are in the output tray.
Chapter 4: Installing and Configuring UNIX Printing Software on a Linux System • A specific Input Tray for the banner Select the “Input Tray for the banner” option if you want to print the banner pages in tray that is separate from the tray used by the actual print jobs. Displaying Banner Options Using the lpspr Command command lets you view the Printer Dependent Options, including the lpspr...
Page 75
Using a Banner Page The following illustrates a typical display of Printer Dependent Options for a printer. Not all printer dependent options will be available for all printer models. [ -Rresolution ] :: 1.) 300dpi 2.) 600dpi [ -Itray ] :: 1.) upper 2.) middle 3.) lower...
Chapter 4: Installing and Configuring UNIX Printing Software on a Linux System Maintaining Banner Information in the printer2mdl File The printer2mdl map file maintains a list of all the print queues, printer model names, and banner page options associated with a specific computer system. The printer2mdl map file found in your installation kit is to be used as an example only.
Installing and Configuring UNIX Printing Software on a Sun Solaris System This chapter contains information for installing UNIX Printing Software on a SUN Solaris System Topics in this chapter include: • “lpr and lp” on page 5-72 • “Installation Prerequisites” on page 5-74 •...
Chapter 5: Installing and Configuring UNIX Printing Software on a Sun Solaris System lpr and lp are two separate commands that are used by xlpsprint lpspr sending files to a spooler daemon for printing. The command is used for BSD-based printing, and the command is used for System V-based printing.
Page 79
lpr and lp • System V-based Printing Users Using UNIX systems that are based on the SYSTEM V derivative must enter the lp command at the command line to send files to the spooler daemon for printing. # lp -dprinter filename where is the name of the print queue created by the system printer...
Chapter 5: Installing and Configuring UNIX Printing Software on a Sun Solaris System Installation Prerequisites There are several prerequisite tasks that you must complete before you can install the software. A description of each one is as follows: 1. You must be a Super User (Root) in order to install UNIX Printing Software. Refer to the section, “Super User Privileges”...
Installation Prerequisites # cd /tmp/install 3. Your next step is to mount the CD-ROM. Refer to the next section, Mount the CD-ROM for instructions on how to accomplish this task. Mount the CD-ROM on a SUN Solaris System SUN Solaris will self-mount the CD-ROM once it is placed in the CD-ROM drive. The CD-ROM drive is mounted on the mount point /cdrom You must have super user privileges to complete this task.
Chapter 5: Installing and Configuring UNIX Printing Software on a Sun Solaris System Unarchiving the Master .tar File To unarchive the master .tar file, enter the following command at the command line: # tar xvf unprswxx.tar Refer to the section, Viewing tar File Contents to find out how to display the contents of this file.
Installing UNIX Printing Software on a SUN Solaris System Installing UNIX Printing Software on a SUN Solaris System Instructions for installing UNIX Printing Software on a Sun System are as follows: 1. Enter the following command at the command line. Press RETURN ./lpspr_install The following prompt appears:...
Chapter 5: Installing and Configuring UNIX Printing Software on a Sun Solaris System Deinstalling UNIX Printing Software If lpspr_install does not successfully copy all of the files within the kit, you must delete the existing files from the system before reinstalling the software. The lpspr_deinstall command will remove the directory structure for all existing files for lpspr, xlpsprint and sdriver.
Configuring UNIX Printing Software on a SUN Solaris System Creating a Print Queue for a SUN Solaris System To create a print queue on a SUN Solaris System, you must execute the following commands: • make_model • lpshut • lpadmin command lets you add the printer model to the system.
Page 86
Chapter 5: Installing and Configuring UNIX Printing Software on a Sun Solaris System The following prompt appears: Enter the port of the print server: 4. Enter a port number for the print server. Press RETURN. Example: 6869 This is the socket number that sdriver will use for connecting to the Note: printer.
Page 87
Configuring UNIX Printing Software on a SUN Solaris System Creating a Print Queue Using the lpadmin Command Now that has been stopped, the command will work. lpsched lpadmin Instructions on how to create a print queue are as follows: 1. Enter the following two commands at the command line.
Chapter 5: Installing and Configuring UNIX Printing Software on a Sun Solaris System Using a Banner Page A banner page is a lead sheet that can precede a print job. It contains useful information that lets other users who are printing from the same print queue, determine the ownership of a print job.
Using a Banner Page • A specific Input Tray for the banner Select the “Input Tray for the banner” option if you want to print the banner pages in tray that is separate from the tray used by the actual print jobs. Displaying Banner Options Using the lpspr Command command lets you view the Printer Dependent Options, including the lpspr...
Page 90
Chapter 5: Installing and Configuring UNIX Printing Software on a Sun Solaris System The following illustrates a typical display of Printer Dependent Options for a printer. Not all printer dependent options will be available for all printer models. [ -Rresolution ] :: 1.) 300dpi 2.) 600dpi [ -Itray ] ::...
Using a Banner Page Maintaining Banner Information in the printer2mdl File The printer2mdl map file maintains a list of all the print queues, printer model names, and banner page options associated with a specific computer system. The printer2mdl map file found in your installation kit is to be used as an example only.
Page 92
Chapter 5: Installing and Configuring UNIX Printing Software on a Sun Solaris System 5-868/25/02 UNIX Printing Software Administration and Installation Guide...
Running the Software In this chapter, you will learn about three separate commands that will run UNIX Printing Software. Included in this chapter are descriptions for xlpsprint, lpspr and sdriver. About xlpsprint and lpspr Both the command and the command give you the ability to xlpsprint lpspr manipulate different printer models within a UNIX environment.
Chapter 6: Running the Software Model-to-ppd File (mdl2ppd) file is made up of a number of lines with two items on each line, mdl2ppd separated by a space. The first item is the printer model name. The printer model name must be the name that appears in the printer’s PPD file.The second item is the name of its corresponding ppd file.
About xlpsprint and lpspr lpsprodb File During installation, a default version of lpsprodb is automatically created. You can modify this version to reflect your current printing needs. Some of the defaults that you can modify within this file include: the Paper Dimension, Page Length, and Page Width.
Chapter 6: Running the Software xlpsprint Command xlpsprint is a command that invokes a program that lets you control different printer models through a GUI. From this screen, you can select and prepare a printer for printing. You can also select the files that you want to send to the printer.
xlpsprint Command Displaying xlpsprint xlpsprint is a motif-based utility. If the display for is not on the same xlpsprint system that is executing from, you must change the environmental xlpsprint variable so that both xlpsprint and its display will run from the same, local system. Example: # setenv display 10.10.156:0 To display the xlpsprint GUI, enter the following command:...
Chapter 6: Running the Software Selecting a File to Print from xlpsprint To select one or more files for printing from xlpsprint, follow the instructions below: 1. Click the Select File button. A popup window containing directories and files appear. 2.
xlpsprint Command Filtering Files The Filter Option on the Select File popup lets you quickly locate a file. Instructions are as follows: 1. Locate the path of the file that you want to print. 2. Place the cursor in the top window displaying the path. 3.
Chapter 6: Running the Software lpspr Command The lpspr command prepares input files for printing on PostScript printers. It is a command line interface utility that lets you select printer features such as duplexing and paper size, that control how a print job is to be printed. lpspr will work on any PostScript printer model that has a PostScript Printer Description (ppd) file.
Page 101
lpspr Command Table 6-1. lpspr Command Option Flags Flag Description Definition Specifies whether the output is to print on one side sides of the sheet, on both sides of the sheet, or any other method available for the selected printer model. If this flag is not included on the command line, the output will print according to the printer’s default.
Chapter 6: Running the Software Displaying Printer Options To display the options of a specific printer enter the following command at the command line, and press RETURN. lpspr -W -P queue where ‘ ’ is the name given the printer when the queue was created. queue A list of printer dependent options, and default options will appear.
sdriver sdriver sdriver is a UNIX print filter that drives printers that can support raw TCP/IP sockets. Additionally, sdriver will drive printers that are attached to the network via a print server that can support raw sockets. sdriver is compatible with printing systems that are found in most of the major UNIX operating systems.
Page 104
Chapter 6: Running the Software stdin. The user’s file is then passed from the spooler through sdriver and on to the printer. • Event files (optional). To set up sdriver to log an event file of all of the output data returned by the printer over the raw TCP/IP socket, include the flag.
Page 105
sdriver General Information Sdriver Command Options The following is a list of command options that you can use to configure sdriver. Table 6-2. sdriver Command Option Flags Flag Parameter Definition Activates the sdriver debug mode. Activates the logging feature. Port # Identifies the port number on which the printer or print server is listening.
Page 106
Chapter 6: Running the Software 6-1008/25/02 UNIX Printing Software Administration and Installation Guide...
Need help?
Do you have a question about the B6100n and is the answer not in the manual?
Questions and answers