Oki B6100n Guide: Administration and Installation, B6100 UNIX Printing Softwar - Page 79

or you can provide a new one at the command line.

Page 79 highlights

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 printer is the name of the print queue created by the system administrator using lpadmin, SMIT or another System V related utility. where filename is the name of a file that you would like to print using the queued printer. Example: # 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 is a program file that sends flags to the spooler daemon for printing. It has a default path of /usr/bin/lpr. You can accept the default path by pressing RETURN, or you can provide a new one at the command line. LPRFLAG is an LPRCOM flag that is usually followed by the print queue name. The flag that you select for LPRFLAG will depend upon your UNIX printing subsystem. If it is a BSD-derivative, press RETURN to select the default flag -P. However, if the subsystem is a SYSTEM V derivative, you must change the default flag to -d. UNIX Printing Software Administration and Installation Guide 8/25/025-73

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106

lpr and lp
UNIX Printing Software Administration and Installation Guide
8/25/02
5-73
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
printer
is the name of the print queue created by the system
administrator using
lpadmin
,
SMIT
or another System V related utility.
where
filename
is the name of a file that you would like to print using the
queued printer.
Example:
#
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
is a program file that sends flags to the spooler daemon for printing. It
has a default path of /usr/bin/lpr. You can accept the default path by pressing
RETURN
, or you can provide a new one at the command line.
LPRFLAG
is an
LPRCOM
flag that is usually followed by the print queue name.
The flag that you select for
LPRFLAG
will depend upon your UNIX printing
subsystem. If it is a BSD-derivative, press
RETURN
to select the default flag
-P
.
However, if the subsystem is a SYSTEM V derivative, you must change the
default flag to
-d
.