net _ lj4x(1) net _ lj4x(1)
NAME
net_lj4x
SYNOPSIS
lp [ -o option [ -o option ] ...] <filename >
DESCRIPTION
This manpage lists all -o options provided by net_lj4x. net _lj4x is
one of net_lj* scripts provided by JetAdmin. It is used with HP
LaserJets and DeskJets with PJL (Printer Job Language) capability.
Echo option is specified in -o format, as shown in Synopsis.
Not all options are applied to all models. Use them discreetly.
net _lj4x will not print following file types: shar, object,
executable, archive, library, and compressed. Instead, a single page
of message (indicating these file types) is generated.
OPTIONS
options List all options.
auto (default ) Auto-switch language (PS/PCL) based on file type.
postscript , pcl Print in PostScript/PCL mode. PostScript options
are not available for Deskjet 2000C.
hpg12 , hpg12 _p Print in HP-GL/2 landscape mode or portrait mode.
These options are not available for the DeskJet
2000C.
relay Pass data to printer without adding any commands.
r /raw Print in raw mode. No CR, LF, or FF processing is
done.
dpi # Set the resolution to # dpi (Default: Front
Panel).
half /2 /2up , quarter /4 /4up , 8 /8up
Print 2, 4 or 8 pages on one side of paper.
yb /banner , nb /nobanner
Print, or do not print banner page. These options
are not available for the DeskJet 2000C.
btray1 , btray2 , btray3
Feed banner page from tray1, tray2, or tray3.
These options are not available for the DeskJet
2000C.
- 1 - Formatted: January 20, 2000
net _ lj4x(1) net _ lj4x(1)
simplex Single side printing (Default: Front Panel).
vd /duplex , hd /hduplex
Double sided printing, long edge/short edge
binding.
md /mduplex Manual double sided printing. Manual duplexing is
available in HP-UX only for PCL/Text.
legal , letter , A4 , exec , ledger /llX17 , com10env
Select legal, letter, A4, executive, or 11X17
paper (For PS, 11x17 is portrait, and ledger is
landscape).
B5 -JIS Select B5-JIS paper. This option is available for
Deskjet 2000C only.
card3x5 , card5x8 , card4x6 , A6PostCard , hagaki
Select cardstock size. These options are available
for Deskjet 2000C only.
DL /DLenv , c5 /c5env , c6 /c6env , JIS -env2 , JIS -env3 , JIS -env4
Select envelope size. These options are available
for Deskjet 2000C only.
manual , tray1 , tray2 , tray3
Feed paper from the indicated tray.
bin1 , bin2 Output pages to bin1 or bin2.
econo # Print this job in econo/draft mode (#=on), or not
(#=off). This option is supported for Laserjet
Printers only.
srbb # Set the starting page number to recover or print
the specified page.
srb # Set the beginning page number for a silent run.
sre # Set the ending page number for a silent run.
color /gray Render page in color or gray (grayscale).
quality # # may be draft, normal, or high.
mtype Media type may be one of the following: paper,
glossy, transparency, or special.
HP Network Printers Only (see also man pages for xjjm and jetadmin)
- 2 - Formatted: January 20, 2000
net _ lj4x(1) net _ lj4x(1)
debugm/debugm
Send the model script output to a file for
examination. File name is optional. If not
specified, $TMP/ is used. If specified, it
must be an absolute path name.
job /jobnp , nojob Bring, or not bring up JobMonitor for a spool job.
An X-Window display may be specified using
job +display .
PostScript Only
a /ascii Print text, without interpreting it.
f Specify font (valid only when ascii is also
specified).
ps1 Use PostScript level 1 commands for print
formating
ps2 Use PostScript level 2 commands for print
formating
PCL Only
2 + Print 2up, with header and line numbers.
3hole Adjust left/top margin to account for the holes
(text files only). This option is not available
for Deskjet 2000C.
portrait , landscape Print in portrait/landscape mode (Default is set
by the printer's Front Panel).
textcolor # Sets the text color. # must be a integer between 0
and 7 specifying the color. Available colors are
0 (white), 1 (cyan), 2 (magenta), 3 (blue), 4
(yellow), 5 (green), 6 (red), 7 (composite black).
This option is available for Deskjet 2000C only.
eolwrap Print characters on 2nd line if right margin is
reached.
ln66 Print 66 lines of text on portrait.
l #, tl # Set logical page length/text length to # lines.
lm #/rm #, tm # Set left/right margin to column #, top margin to #
lines.
- 3 - Formatted: January 20, 2000
net _ lj4x(1) net _ lj4x(1)
n /nroff Print nroff file.
Other Options:
c , 10 , 12 , fp #, ps , fs , lpi #, hsi #, vsi #, style #, i , upright , cs #,
type #, height #, weight #, b /bold
NOTE:
1 AUTO option requires the utility "$HPNPDIR/bin/hpnps". If it
does not exist, print files will be printed in PCL mode.
PostScript files must have PostScript header (such as %!PS) in
order to be recognized correctly.
2. Mapping of input trays and output bins is printer-dependent. For
example: For the LaserJet 4Si, tray 1 is top tray, and tray2 is
lower tray. Also, bin1 is top output bin, and bin2 is rear
output bin. For the LaserJet 4, 4 Plus, and 4V, tray1 is PC
tray, tray2 is MP tray, and tray3 is LC tray.
3. Version D.0x.xx of JetAdmin provides an alternative for lp
command: JetPrint. JetPrint improves file printing with Motif-
based user interface. See manpage JetPrint for details.
- 4 - Formatted: January 20, 2000