background image

1-20

8/25/02

UNIX Printing Software Administration and Installation Guide

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

The

 lpspr 

command lets you view the Printer Dependent Options, including the 

banner options of a specific printer through the command line interface. 

This section describes how to use 

lpspr

 in its informational mode. To display banner 

options for a particular printer model, enter the following command at the command 
line:

Example:

lpspr -W -P xyz

where 

%

 is the system prompt

where

 lpspr

 is functioning in an informational mode.

where 

-W

 will display all of the available options (including banner options) for 

the printer model.

where 

-P

 identifies the print queue.

i

To learn more about how lpspr works, refer to Chapter 6, lpspr Command.

Summary of Contents for B6100n

Page 1: ...OKI DATA 81 3ULQWLQJ 6RIWZDUH GPLQLVWUDWLRQ DQG QVWDOODWLRQ XLGH...

Page 2: ...in other countries GENICOM is a registered trademark of GENICOM Corporation COMPAQ Alpha Tru64 COMPAQ Corporation HP HP UX LaserJet Hewlett Packard Co IBM AIX International Business Machines Corporati...

Page 3: ...Queues for a Compaq Tru64 UNIX System 15 Using a Banner Page 19 Configuring a Banner Page 19 Displaying Banner Options Using the lpspr Command 20 Maintaining Banner Information in the printer2mdl File...

Page 4: ...CD ROM on a LINUX Alpha or INTEL System 60 Unarchiving tar Files 61 Unarchiving the Master tar File 61 Unarchiving a tar File Kit 61 Installing UNIX Printing Software on a Linux Alpha or Intel System...

Page 5: ...printer2mdl 88 lpsprodb File 89 xlpsprint Command 90 Displaying xlpsprint 91 Selecting a Printer 91 Selecting a File to Print from xlpsprint 92 Printer Dependent Options 93 Printing a File from xlpspr...

Page 6: ...vi8 25 02 UNIX Printing Software Administration and Installation Guide Contents...

Page 7: ...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 size duplex o...

Page 8: ...nstalling and running the software Once you complete the installation and configuration phase refer to the final chapter in this guide for instructions on how to use the software A description of each...

Page 9: ...t 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 Table P 1 How to Use thi...

Page 10: ...Vendor The Internet 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 se...

Page 11: ...y pressing RETURN or you can provide a new one at the command line lprflag An LPRCOM flag that is usually followed by the print queue name The flag that you select for LPRFLAG will depend upon your UN...

Page 12: ...to the printers via xlpsprint The second item is the model name associated with the print queue The model name is used as a key to search the modl2ppd file The third item is the banner page option UNI...

Page 13: ...nd configuring UNIX Printing Software on a Compaq Tru64 UNIX system Topics in this chapter include lpr and lp on page 1 8 Installation Prerequisites on page 1 9 Installing UNIX Printing Software on a...

Page 14: ...ms that are based on the BSD derivative must enter the lpr command at the command line to send files to the spooler daemon for printing lpr Pprinter filename where printer is the name of the print que...

Page 15: ...the section Unarchiving tar Files on page 1 11 to learn more about this topic 4 With the Tar File unarchived you can run the lpspr_install command Refer to the section within this chapter that is spec...

Page 16: ...e following command at the command line Press RETURN 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 M...

Page 17: ...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 unprswxx tar includ...

Page 18: ...r File Kit To unarchive one of the tar files that was maintained by the master tar file enter the following command at the command line tar xvf filename tar where filename identifies the software kit...

Page 19: ...LPSROOT is an upper level directory structure under which the rest of the code will be installed 2 Press RETURN to accept the default or enter another pathname to be used by LPSROOT Another prompt ap...

Page 20: ...ollowing command lpspr_deinstall The following prompt appears Select LPSROOT opt lpspr LPSROOT is an upper level directory structure under which rest of the installation code is installed 2 Press RETU...

Page 21: ...the instructions below 1 Enter the following command at the command line usr sbin lprsetup The following prompt appears add modify delete exit view quit help 2 Type add Press RETURN The following pro...

Page 22: ...usr admin lp20acct 9 Enter a path for the log file or accept the default Press RETURN The following prompt appears Set spooler directory sd usr spool lp20 10 Press RETURN to accept the default directo...

Page 23: ...Note The socket number used will vary from printer to printer The release notes for this product contains a list of socket numbers for supported printers The following prompt appears Enter symbol nam...

Page 24: ...cap File The final step in configuring a Compaq Tru64 UNIX print queue is to remove the OF entry from the printcap file Instructions are as follows 1 Enter the following path at the command line vi et...

Page 25: ...simultaneously only the name of the first file in the book will appear on the banner page the UNIX system group of the user who printed the print job The time that the print job was submitted to the p...

Page 26: ...ommand lets you view the Printer Dependent Options including the banner options of a specific printer through the command line interface This section describes how to use lpspr in its informational mo...

Page 27: ...b4iso 11 b5iso 12 statement Ksides 1 none 2 duplexnotumble 3 duplextumble i Not all printer dependent options will be available for all printer models i The options listed under the Itray let you pri...

Page 28: ...rinter_1 Default Engineering_Printer4 Printer_4 NoBanner where Hallway_Printer2 Copyroom_Printer3 Reception_Printer1 and Engineering_Printer4 all identify the names of the individual print queues on y...

Page 29: ...nformation 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 Installing UNIX Print...

Page 30: ...are based on the BSD derivative must enter the lpr command at the command line to send files to the spooler daemon for printing lpr Pprint_queue filename where printer is the name of the print queue f...

Page 31: ...he lpspr_install command Refer to the section within this chapter that is specific to your UNIX system 5 You should have a basic understanding about UNIX printing subsystems and the types of commands...

Page 32: ...on an HP UX System Instructions on how to mount the CD ROM on an HP UX System are as follows 1 Create a directory to serve as the mounting point for the CD ROM Refer to the section Creating a Tempora...

Page 33: ...d by the ioscan command Unarchiving tar Files There is a master tar file i e unprswxx tar within your software kit that must be unarchived Inside the master tar file is a set of individual tar files t...

Page 34: ...ntained by the master tar file enter the following command at the command line tar xvf filename tar where filename identifies the software kit for your UNIX operating system Refer to the section Viewi...

Page 35: ...Installation Prerequisites UNIX Printing Software Administration and Installation Guide 8 25 022 29 lpsprodb ini make_model lpspr_deinstall...

Page 36: ...ectory structure under which the rest of the code will be installed 2 Press RETURN to accept the default or enter another pathname to be used by LPSROOT Another prompt appears Select LPRCOM usr bin lp...

Page 37: ...ms 1 From the command line enter the following command lpspr_deinstall The following prompt appears Select LPSROOT opt lpspr LPSROOT is an upper level directory structure under which rest of the insta...

Page 38: ...command lets you add the printer model to the system The information that you supply under the make_model command will be used by lpadmin to actually create the print queue The lpshut command shuts do...

Page 39: ...ompt appears Enter the port of the printer 4 Enter a port number for the printer Press RETURN Note This is the socket that sdriver will use for connecting to the printer Example 6869 The following pro...

Page 40: ...sched has been stopped the lpadmin command will work Instructions on how to create a print queue are as follows 1 Enter the lpadmin command at the command line Press RETURN Example lpadmin p40_test M4...

Page 41: ...are on a HP UX System UNIX Printing Software Administration and Installation Guide 8 25 022 35 scheduler is running 5 Enter the accept command at the command line to prepare the print queue to accept...

Page 42: ...e documents are queued to print simultaneously only the name of the first file in the book will appear on the banner page the UNIX system group of the user who printed the print job The time that the...

Page 43: ...pendent Options including the banner options of a specific printer through the command line interface This section describes how to use lpspr in its informational mode To display banner options for a...

Page 44: ...7 5 a3 6 a4 7 a5 8 b4 9 b5 10 b4iso 11 b5iso 12 statement Ksides 1 none 2 duplexnotumble 3 duplextumble i Not all printer dependent options will be available for all printer models i The options liste...

Page 45: ...r4 Printer_4 NoBanner where Hallway_Printer2 Copyroom_Printer3 Reception_Printer1 and Engineering_Printer4 all identify the names of the individual print queues on your computer system where Printer_2...

Page 46: ...2 408 25 02 UNIX Printing Software Administration and Installation Guide Chapter 2 Installing and Configuring UNIX Printing Software on a HP UX System...

Page 47: ...ormation 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 Installing UNIX Print...

Page 48: ...t are based on the BSD derivative must enter the lpr command at the command line to send files to the spooler daemon for printing lpr Pprint_queue filename where printer is the name of the print queue...

Page 49: ...he lpspr_install command Refer to the section within this chapter that is specific to your UNIX system 5 You should have a basic understanding about UNIX printing subsystems and the types of commands...

Page 50: ...ons on how to mount the CD ROM on an IBM AIX System are as follows Instructions are as follows 1 Create a directory to serve as the mounting point for the CD ROM Refer to the section Create a Temporar...

Page 51: ...nd at the command line usr sbin umount mycdrom Identifying the CD ROM Device File To identify the CD ROM Device File enter the following command at the command line lsdev C c cdrom Typically the first...

Page 52: ...agement button 6 Click the System Storage Management button 7 Click the File Systems button 8 Click the Mount a File System button A window appears 9 From the File System Name field click the List But...

Page 53: ...em linuxi tar for use on an Intel based Linux system an rs6000 tar for use with IBM AIX systems a sun4u tar for use on SUN Solaris systems Unarchiving the Master tar File To unarchive the master tar f...

Page 54: ...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 comman...

Page 55: ...an upper level directory structure under which the rest of the code will be installed 2 Press RETURN to accept the default or enter another pathname to be used by LPSROOT Another prompt appears Select...

Page 56: ...llowing command lpspr_deinstall The following prompt appears Select LPSROOT opt lpspr LPSROOT is an upper level directory structure under which rest of the installation code is installed 2 Press RETUR...

Page 57: ...appears Enter the name of the server 3 Enter a name for the printer Press RETURN The following prompt appears Enter the port of the server 4 Enter a port number for the printer Press RETURN Example 68...

Page 58: ...le documents are queued to print simultaneously only the name of the first file in the book will appear on the banner page the UNIX system group of the user who printed the print job The time that the...

Page 59: ...pendent Options including the banner options of a specific printer through the command line interface This section describes how to use lpspr in its informational mode To display banner options for a...

Page 60: ...x17 5 a3 6 a4 7 a5 8 b4 9 b5 10 b4iso 11 b5iso 12 statement Ksides 1 none 2 duplexnotumble 3 duplextumble i Not all printer dependent options will be available for all printer models i The options lis...

Page 61: ...r4 Printer_4 NoBanner where Hallway_Printer2 Copyroom_Printer3 Reception_Printer1 and Engineering_Printer4 all identify the names of the individual print queues on your computer system where Printer_2...

Page 62: ...3 568 25 02 UNIX Printing Software Administration and Installation Guide Chapter 3 Installing and Configuring UNIX Printing Software on an IBM AIX System...

Page 63: ...em 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 Installation Prerequi...

Page 64: ...e based on the BSD derivative must enter the lpr command at the command line to send files to the spooler daemon for printing lpr Pprint_queue filename where printer is the name of the print queue fro...

Page 65: ...the section Unarchiving tar Files on page 4 61 to learn more about this topic 4 With the Tar File unarchived you can run the lpspr_install command Refer to the section within this chapter that is spec...

Page 66: ...Instructions are as follows 1 Enter the following command at the command line Press RETURN mkdir tmp install 2 Enter the following command at the command line Press RETURN cd tmp install 3 Your next s...

Page 67: ...ntel based Linux system an rs6000 tar for use with IBM AIX systems a sun4u tar for use on SUN Solaris systems Unarchiving the Master tar File To unarchive the master tar file enter the following comma...

Page 68: ...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 directorie...

Page 69: ...Press RETURN to accept the default Another prompt appears Select LPRFLAG P 4 Press RETURN to accept the default The following message appears Installation Successful Deinstalling UNIX Printing Softwar...

Page 70: ...m Configuration topics include how to create print queues how to add banner pages to print jobs Creating a Print Queue for a LINUX Alpha or Intel System To create a print queue on a LINUX Alpha or Int...

Page 71: ...t appears Enter the port of the print server 5 Enter a port number for the print server Press RETURN Example 6869 Note This is the socket number that sdriver will use for connecting to the printer The...

Page 72: ...ystem Manager window appears 3 Highlight the printer that was created while running the make_filter script Click Add The Add a Printer Entry window appears 4 With the Local Printer option as the defau...

Page 73: ...nt simultaneously only the name of the first file in the book will appear on the banner page the UNIX system group of the user who printed the print job The time that the print job was submitted to th...

Page 74: ...lets you view the Printer Dependent Options including the banner options of a specific printer through the command line interface This section describes how to use lpspr in its informational mode To...

Page 75: ...b4iso 11 b5iso 12 statement Ksides 1 none 2 duplexnotumble 3 duplextumble i Not all printer dependent options will be available for all printer models i The options listed under the Itray let you pri...

Page 76: ..._1 Default Engineering_Printer4 Printer_4 NoBanner where Hallway_Printer2 Copyroom_Printer3 Reception_Printer1 and Engineering_Printer4 all identify the names of the individual print queues on your co...

Page 77: ...s 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 Installing UNIX Printing Soft...

Page 78: ...a printer differs Another difference between the two subsystems is in the command syntax that you enter at the command line A description of each command entry is as follows BSD based Printing Users...

Page 79: ...mple lp dCopyroom_40 Test2 txt The d flag indicates the print queue name for the print job i The installation script lpspr_install prompts you to select a path for LPRCOM and a flag for LPRFLAG LPRCOM...

Page 80: ...about this topic 4 With the Tar File unarchived you can run the lpspr_install command Refer to the section within this chapter that is specific to your UNIX system 5 You should have a basic understand...

Page 81: ...UNIX operating systems The tar files maintained by unprswxx tar include where xx is the version of the software kit a dunix tar for use with Compaq Tru64 UNIX systems an hp9000_778 tar for use with H...

Page 82: ...To unarchive one of the tar files that was maintained by the master tar file enter the following command at the command line tar xvf filename tar where filename identifies the software kit for your U...

Page 83: ...ructure under which the rest of the code will be installed 2 Press RETURN to accept the default or enter another pathname to be used by LPSROOT Another prompt appears Select LPRCOM usr bin lpr 3 Enter...

Page 84: ...following command lpspr_deinstall The following prompt appears Select LPSROOT opt lpspr LPSROOT is an upper level directory structure under which rest of the installation code is installed 2 Press RET...

Page 85: ...er You must run this command prior to running lpadmin If you do not shut down the line print scheduler the lpadmin process will not work However once the lpadmin command process completes the lpsched...

Page 86: ...e for the socket driver Press RETURN The following prompt appears Log Mode no n yes y 6 Enter y to activate the log mode Press RETURN The following prompt appears Enter the pathname of the log file 7...

Page 87: ...n p40_Test Iany where 40_Test is the queue name and I is the flag that allows you to include all text Postscript and PCI files 2 Enter the following command to reinstate lpsched usr lib lpsched The fo...

Page 88: ...iple documents are queued to print simultaneously only the name of the first file in the book will appear on the banner page the UNIX system group of the user who printed the print job The time that t...

Page 89: ...pendent Options including the banner options of a specific printer through the command line interface This section describes how to use lpspr in its informational mode To display banner options for a...

Page 90: ...1x17 5 a3 6 a4 7 a5 8 b4 9 b5 10 b4iso 11 b5iso 12 statement Ksides 1 none 2 duplexnotumble 3 duplextumble i Not all printer dependent options will be available for all printer models i The options li...

Page 91: ...r4 Printer_4 NoBanner where Hallway_Printer2 Copyroom_Printer3 Reception_Printer1 and Engineering_Printer4 all identify the names of the individual print queues on your computer system where Printer_2...

Page 92: ...5 868 25 02 UNIX Printing Software Administration and Installation Guide Chapter 5 Installing and Configuring UNIX Printing Software on a Sun Solaris System...

Page 93: ...line you have the exact same functionality as xlpsprint except that the tasks must be accomplished through a command line interface Both commands require data files known as Postscript Printer Descrip...

Page 94: ...nt queue name All print queues that are added to this file must point to printers with ppd files Additionally both lpspr and xlpsprint rely on this file for print queue printer model and banner page i...

Page 95: ...he defaults that you can modify within this file include the Paper Dimension Page Length and Page Width In addition to providing defaults lpsprodb also contains paths that point to all of the files us...

Page 96: ...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 printe...

Page 97: ...ts display will run from the same local system Example setenv display 10 10 156 0 To display the xlpsprint GUI enter the following command xlpsprint The xlpsprint GUI will appear Selecting a Printer T...

Page 98: ...k the directory containing the file that you want to print 3 Click the file that you want to print The file appears in the selection window 4 Click OK 5 a Repeat Steps 1 4 to select another file to pr...

Page 99: ...ach option can change or become unavailable depending on the printer model that you select You can easily identify the default value for each option because it appears on the button next to the option...

Page 100: ...automatically converted to PostScript in the output stream PostScript text If a particular input file is not specified lpspr will read directly from the standard input Defining Data Types The D flag...

Page 101: ...h sheet Use landscape or land for landscape mode and portrait or port for portrait mode o Output Selects the output tray where the printed output is to be deposited P queue Processes the input for the...

Page 102: ...laying Print Queues To display a list of print queues known to lpspr type the following command at the command line and press RETURN lpspr W A list of print queues known to lpspr will appear Printing...

Page 103: ...ny UNIX command directly to sdriver which in turn will send the data to the printer for printing sdriver will accept input via standard in stdin Data types accepted by sdriver include PostScript files...

Page 104: ...ug Mode Although sdriver will still log to your log file it will only provide the illegal number of input parameters message The following is a list of error conditions that sdriver will report while...

Page 105: ...ogging feature p Port Identifies the port number on which the printer or print server is listening The default port for the sdriver is 35 I netaddr Identifies the Internet Address of the Printer or Pr...

Page 106: ...6 1008 25 02 UNIX Printing Software Administration and Installation Guide Chapter 6 Running the Software...

Reviews: