• Aucun résultat trouvé

RTEĆA Print and Spooling

N/A
N/A
Protected

Academic year: 2022

Partager "RTEĆA Print and Spooling"

Copied!
98
0
0

Texte intégral

(1)

/ 0 12 0 3

4 !&$!%$

0 # :>455:4><= +"% % 3::;

!4<:; " !

(2)

>

1,%/>;>>>5543?

# ) %

-@ *

*,)#!"",$/%%/)'+2%/+/$"!-@

#'2+1#67+)#$)20)!1)$)-!02!1%//%#)!"$,0!/'-%#)%72)%#1 -!2!))%'8%/10%8!"#$%//%#)$,%#8#1)-/!6%/1)$)-!0% )!/%2

)

)A

- @' /!")/')!1/6-)"2!6!#1

+ 6ABCB3CBC/)1'"

' E 3::? 3::; -@ ' -@

(3)

?D<

2

) - @ %

! E ) # ) 0 # , B) 0 # , F0G C

, ! # 3::?

" ! % 3::;

(4)
(5)

;DH

! " # $%

! &' (' )

! & # *+

,"-- *+

' .+ +/ 0 ! ( )1

! ( # .+ ! .+

' 2&-332---&

! ) # +/ +/

' 2&-332---)

(6)
(7)

5

5

1 )

1 "

+ 2

4 &"

4 # &&

* + &&

/5 + &&

+ &(

+ &(

+ 6 7 &(

+ ! &)

# &) . 7 7 &8

*+ . . 9 &, accept &3 cancel &:

disable &""

enable &"(

lp &") lpadmin &":

lpalt &&&

lpfence &&8 lpmove &&, lpsched &&:

lpshut &(- lpstat &("

reject &(8

*+ . &(3 /5 + &(3 /.+;+ ! &(3 rlpout + &(3 rlpdaemon + &(3 . . . &(:

. 5 &)"

* 7 6 &)8 # . / &)8

&),

<+. + &)2

* + &)2 rtestd &8- passthru &8, + /5 + &83 rrte 6 &83 rhpux 6 &8:

(8)

=

rbsd 6 &8:

hpnp_pcl 6 &82 hpnp_passthru 6 &,-

! + &,"

+ 6 7 7 &,"

6 + . &,&

+ ! &,&

1 6 2

.+ ("

! ("

4/ * ! 4 ((

*9 (( . *9 4 () . ! * 7 (8

.+ . (, + . (,

1 $ 1 ) (2

+/ )"

+/ 4 )"

=> )( = )( =? )( @? )( =! )) =7 )) =< )) = )) =* )8

=6 )8

=/ )8

=4 )8

=+ )8

=A ), =. ), = ), =B ), =C ), =D ), =E )3

+/ 4 )3

+/ 6 ): +/ F ): +/ G )2 +/ )""

(9)

:

5

H&" *+ . . + &, H&& +!* * <+ + 6 &8&

H)" +/ 4 . )&

H)& I77* F )""

(10)
(11)

) ****

)

' $%' ' ' 5 ' 5 5 5 5 G

5

' 5 6

$ %' 5 ' ' '

D *+ ' ' 5 ' 5 <+9C /.+;"--- <+9C' 5 <+9C

D .+ 5 $F!= % 6 *+ ' 5 .+

*9 ' *9 ' '

D +/ +/- ' F!=

G ? *9 5 '

(12)
(13)

+**2*****"

+ 2

*+ ;F!=

<+9C *+ !+;+ *+

' 5 ' 5 <+9C /.+;"--- <+9C' 5 <+9C

*+ G .+ +/

? *9 5 '

00/

*+ ' J *+ <+9C 5 K '

$% $% '

7 + ! '

$5% *+ $ % 0 ' 1 4 ' lp' $ #% *+

' 5

*+ ' lpadmin ' *9 ' *+

(14)

""*****+**2

" 0 1

& ' '

( /

) $ %

#

8

*+ ' $% ' 5 <+9C *+

' <+ ' '

*+ ' ' 5 ' */ 0 1' ' 5 5

+

* ' 69C' .!' <+? *+

'

/7 1

*+ 5 */ <+ L#

D /.+;"--- +;"--- /5 */

(15)

+**2*****"6

5 5 /.+;"--- +;"---

D

D

' $ % 5 ' L#

' 5 5 5 /.+;"--- +;"---' <+ 2--- <+9C' ?.# 9/CM /. + <+ "---

)

# 5 5 ' 5 lpout lpout

<+ *+

' $<+. + % *+ D G K $! + %

.

7 ' ' G ' 5 /usr/spool/lp/modelK B ' /usr/spool/lp/interface/ ' ' /usr/spool/lp/interface 7 G' $%'

CI> li /usr/spool/lp/interface/raptor

"K ' "

&,"

M 9/C 5 9/C . * 9.

(16)

"$*****+**2

*+

7 G' ' *L + *L ' $J%

' ' '

$J% G *L +

*L ' / 5

! lpadmin 6 *+

052

' ' J ' J

*+

' J B '

accept J

reject 5 G ' G

' ' / ' ' ' B ' enable disable 5 '

' '

(17)

+**2*****"&

. .

*+ ' .+

*9 ' *+

'

D G - &

76+ ' C*9C

D *9 .+

C! !/B# C! ( C! *+

C!

D 7 "' $ % 76+

"

' 9/C

' ' 74/ . $<+. + % <+

<+K <+

' " 5 "

.! "& ' 5G ' "

47 5 " 5' 5 &' " 9/C' 9/C $%

9/C K

(18)

"8*****+**2

+ 2 ( )

*+

H&" 6 G

5*"9 + 2

( :

lp ' F*G 2

lpstat 2

cancel / * 2 *

*

lpalt % * *

) *

2 :

lpadmin '

accept % *

reject *

enable % * *

disable 1 *

lpsched " 2 *

lpshut " lpsched 2

lpmove 0 *

lpfence " ) *

(19)

accept

+**2*****"#

accept

accept

accept CI> accept [ ...]

accept ' / J

accept / *+

J

D

accept' reject' lpshut G 4 , G K ' G' 5 , # ,

N9/" O K

;

CI> accept charges

$%

accept 4 $

% $ % J '

accept: destination ” ” was already accepting requests

accept: destination ” ” non-existent

(20)

cancel

"%*****+**2

cancel

cancel *+

' cancel

CI> cancel | [| ...] [-a | -e | -u [@]] [-i]

#' lpstat' D

@' @' @ ' K D

-a

-e D -u [@]

$ @%' ' 6 @ D

-i K

' '

' ' ' K

@ ' 5 '

cancel

N9/" O K N9/& O

(21)

cancel

+**2*****"!

;

CI> cancel milton-42 milton-43@antlan

! $)&% $)(P% # CI> cancel antway

! $%

CI> cancel antway -uantport

! $% $%

CI> cancel lj3d -e -i

! $J(%

cancel: must be superuser to use ”-e”

D @

cancel: must be superuser to use ”-u”

D @

cancel: unknown option: parm

cancel: ” ” does not name a legal destination

5 $lpstat –a%

cancel: you do not own request

D D Q

cancel: request ” ” not found

$lpstat –o%

(22)

cancel

"*****+**2

cancel: printer ” ” was not busy [locally]

cancel ' ' $%

@ ' cancel

cancel: no requests selected on ” ” [locally]

/ @ @ ' $%

@ ' cancel

cancel: warning: /usr/spool/lp/hostname

76+

(23)

disable

+**2*****"

disable

disable '

disable

CI> disable [-c] [-r[” ”]] [ ...]

-c

? ' ' -r[” ”] 5

lpstat :- ' 7 !' 5 @ K @ ' G ' ' $reason unknown% / K / *+

' @ ' 4' '

enable disable 4 '

enable disable G K

5

disable

N9/" O K

;

CI> disable -r‘”Changing paper”‘ lj0

# $J-%' $! %

(24)

disable

""*****+**2

disable: printer ” ” was already disabled

disable: missing trailing quote:

$% '

(25)

enable

+**2*****"6

enable

enable ' enable

CI> enable [ ...]

/ *+

enable disable 4 '

enable disable G K

5

enable

N9/" O K

;

CI> enable vice $%

enable: printer ” ” was already enabled

(26)

lp

"$*****+**2

lp

lp $ % *+ lp

CI> lp [-] | [ |...] [< ]

0@1' 5 5 ' 5

| 5

< '

-c ! 0 /usr/spool/lp/request 1K 5 ? ' lp 5 5 ' G 7 5 7 *9

-d + ' ' '

$LPDEST G' 0 lpadmin 1 -m .

K <+ "--- 6;"--- ? '

-n + " (&3,3 "

-o . 6 @ .

(27)

lp

+**2*****"&

? lp ' ' lp 7 G' $?.#%' lp

!

CI> lp -o‘bsd‘p

-p . ' - 3 <

'

0 lpadmin1'

-s . $request id is ...%

-t” ” 9 :- ' 5 B G lp !' 5

-w B notify ? '

' lp #' # *+ ' G' 0 lpstat 1' 0 cancel 1

lp

N9/" O K N9/R. O # '

;

CI> lp -dlj3p -n3 -occ black.lst aybe.c

+ ( black.lst aybe.c $J(%' $%

CI> lp -t‘“draft copy”‘ <files.txt

+ files.txt ' ' $draft copy%

lpalt lp G 4

, G K ' G' 5 , # ,

(28)

lp

"8*****+**2

lp: no files to print specified

/

lp: you must enter a destination; no system default

/ 0 @ 1' $LPDEST ' lpadmin

lp: Destination ” ” is not accepting submissions; the reason is:

J J accept

lp: destination ” ” non-existent

G '

$lpstat –a%

lp: request not accepted

76+

lp: couldn’t allocate a sequence number:

76+ # 76+

lp: Invalid # of copies:

@ "

(&3,3

lp: invalid priority:

@ - 3

(29)

lp

+**2*****"#

lp: missing trailing quote:

0”1 @

lp: unknown option:

5

lp: warning: lpsched is not running

' 0lpsched1

lp: warning: error scheduling lpsched

lpsched

lp: warning: /usr/spool/lp/hostname

76+

(30)

lpadmin

"%*****+**2

lpadmin

lpadmin ' ' lpadmin

CI> lpadmin -p

CI> lpadmin -x

CI> lpadmin -d[ ]

4 @' @G' @ lpadmin

-p G' ") ' 0@1' + <+ "---K '

–x '

–d[ ] '

<setopts=

0 1 @ K G

–c 65 G ' ' ' @ ' ? @ @ ! ") '

–e ! G Q G *+ K 7 G' $–edaveslj% $daveslj%

–g . 0- 31 ' ' @ lp

lpalt <

' -

(31)

lpadmin

+**2*****"!

–i !

–m ! G

/usr/spool/lp/model/ * 7 G' $–mpcl%

$/usr/spool/lp/model/pcl%

–r '

–v . *9 0- &881 ' *9 -

5

–orm 7 5 ' L# ' 5 ' /etc/hosts + 5

–orp 5 ' ' 5 ' ") ' 7 5 ' <'

lpstat @ 7 G' $–orpjetdirect% 5 L# $lpstat –v%

device for np: remote to jetdirect on npname

4 @' @' @ ' 7 genericK rhpux

4 ' ' ' accept enable ' J $new destination% K lpstat $new printer%

D lpadmin

lpadmin lpfence G 4 , G K ' G' 5 , # ,

(32)

lpadmin

""*****+**2

lpadmin

N9/" O K

;

CI> lpadmin -pp2608 -mgeneric -v114

$&,-:% *+ *9

"")K $%

CI> lpadmin -pp2608 -v115 -clocal

! *9 $&,-:% *9 ""8 $%

CI> lpadmin -prlj3d -mrhpux -ormhpdsorte -orplj3d

$J(% *+

$J(% <+9C $% $ G%

lpadmin: Expected ”-p”, ”-x”, or ”-d”:

lpadmin: printer names may not contain dash (-) 0@1

lpadmin: invalid priority:

@ + - 3

lpadmin: printer ” ” is not a member of class ””

@ '

lpadmin: printer ” ” is already a member of class ””

@ '

(33)

lpadmin

+**2*****""

lpadmin: default printer model is ” ”

/ @ ' lpadmin

lpadmin: more than one model interface type chosen (-e/-i/-m) 4 @' @' @

(34)

lpalt

"""*****+**2

lpalt

lpalt G ' '

' lpalt

CI> lpalt [-] [-] ...

# K D

-d ! ' ' ' # # N9/R. # #' 7 G

CI> lpalt ice-9@bokonon -dplan new request id is plan-9

-m . K <+ "--- 6;"---

-n ! "

(&3,3

-o ! 6 @ G .

? lp '

' lpalt

7 G' $?.#%' lpalt !

CI> lpalt mach-5 -o‘bsd‘p

-p ! ' - 3 <

(35)

lpalt

+**2*****""6 -s . $new request id is ...%

-t” ” ! :- ' 5 B G lpalt !' 5

-w B ' notify '

lpalt lp G 4

, G K ' G' 5 , # ,

lpalt

N9/" O K

N9/R. O #

lpalt: can’t accept requests for destination ” ” -

J J accept

lpalt: destination ” ” non-existent

G '

$lpstat –a%

lpalt: couldn’t allocate a sequence number:

76+ # 76+

lpalt: you do not own

D D Q

(36)

lpalt

""$*****+**2

lpalt: request is active on

' ' '

lpalt: no such request ” ”

# G $lpstat –o%

lpalt: invalid # of copies:

@ "

(&3,3

lpalt: invalid priority:

@ - 3

lpalt: missing trailing quote:

0%1 @

lpalt: unknown option:

5

lpalt: warning: lpsched is not running

' 0lpsched1

lpalt: warning: error scheduling lpsched

lpsched

lpalt: warning: /usr/spool/lp/hostname

76+

(37)

lpfence

+**2*****""&

lpfence

lpfence

CI> lpfence

+ - 0 1 3 0 1 4 ' ' 0 1

D lpfence

lpadmin lpfence G 4 , G K ' G' 5 , # ,

lpfence

N9/" O K

(38)

lpmove

""8*****+**2

lpmove

lpmove

J 5 lpmove

CI> lpmove [ ...]

CI> lpmove

#' $lpstat -o%

/ '

#

0 1 J $all requests

moved to % ' !!+ K

G' !!+

# 7 G' # $&&-% $J%

# $J&&-%

'

J K lpmove

D '

;

CI> lpmove levee chicago

6 $% $% # $%

J CI> lpmove lj-5 lj-7 pjxl

6 $J8% $J3% $JG% # $JG8%

$JG3%

(39)

lpmove

+**2*****""#

lpmove: warning: destination ” ” is not accepting requests

J

lpmove: destinations are identical

$% $%

lpmove: you do not own ” ”

D Q

lpmove: request ” ” is already destined for

lpmove: ”” is not a request id

G #

destination is not accepting requests

J

(40)

lpsched

""%*****+**2

lpsched

lpsched *+ G

*+ G

CI> lpsched [pq]

pq lpsched J .

lpsched 5 *+

B lpsched ' ' lpsched lpsched lpsched lpshut *+

lpsched

lpsched ! CA K lpsched

lpsched 5 /usr/spool/lp/log D 5

/usr/spool/lp/jobdone.cmd G' lpsched ! ' # N"

lpsched lpshut '

'

B lpsched *+ ' N9/" O K

lpsched 8

D $% ' 5

D ' 5 ' ' '

D + lpsched

$interface program aborted% D lpsched ' 7 G' 5 G' J ' G

lpsched '

CI> xq lpsched pq

D lpsched

(41)

lpsched

+**2*****""!

:

lpsched: scheduler was already active

lpsched lpsched

lpsched: invalid schedule

lpsched

scheduler is running

lpsched

(42)

lpshut

"6*****+**2

lpshut

lpshut lpsched ' *+

CI> lpshut

/

lpsched lpsched

D

accept' reject' lpshut G 4 , G K ' G' 5 , # ,

N9/" O K

lpshut: scheduler not running

lpsched

scheduler stopped

lpsched

(43)

lpstat

+**2*****"6

lpstat

lpstat *+ lpstat

CI> lpstat [- | ] [- | ] ... [>[>] ]

0@1 0S1 # ' $–o %

> ' lpstatQ ' G

>> ' lpstatQ G '

lpstat

6 5 '

D 5 7 G -plj3

D 5 0””1 7 G

-p”lj3, magiclj”

5 G

' ' 7 G

CI> lpstat -p

-a[] # ' ' ; ? ' G lj3 accepting requests since Mar 4 2:38 pm default priority : 0

lj4 not accepting requests since Mar 24 11:06 pm - down for repairs

default priority : 0

/ ' 5 <' J ' $remote host rejects submissions%

(44)

lpstat

"6"*****+**2

-c[] # ? ' G

members of class laserjets:

lj3 lj4

-d # lp ' '

-i K '

lpstat

@ @

-o[] # ; # ' ' # # ' @ ? ' G

lj-169 emo priority 0 Mar 25 3:14 pm lp.lod 2 copies 3 records lp.help 2 copies 93 records on printer lj3

lj-11@hpdsorte samantha priority 0 Mar 25 3:34 pm hpgl2 77212 bytes

G # $J",2%' $%

' $J(% # $J""P%' $% $%'

# K 9/C

'

#

'

* ' @

(45)

lpstat

+**2*****"66 -p[] # ? '

G

printer lj3 is idle. enabled since Mar 4 3:16 pm fence priority : 0

printer lj4 now printing lj4-166. enabled since Mar 24 5:01 pm fence priority : 0

/ ' 5

<'

-r # ' lpsched' -s # $–r –d –c –v% -t # $–s –a –p –o%

-u[] # ' 0P1 ? ' ' @ @ G

lpstat -uwoody . $%

lpstat -uwoody@vanguard . $%

$ %

G ' * ' @

–v[] # S ' *9

S '

S 5 ' <+ L# ' 5

? ' G

device for lj3: lu 114

device for rlj4: remote to lj4 on hpdsolab

device for rlj5: remote to jetdirect on hpswt06

(46)

lpstat

"6$*****+**2

lpstat: missing trailing quote:

lpstat: unknown option ””

lpstat: no printers

/ G + lpadmin

lpstat: printer ” ” non-existent

G 9 $lpstat –p%

lpstat: no classes

/ G ! lpadmin

lpstat: class ”” non-existent

G 9 $lpstat –c%

lpstat: no destinations

/ G # lpadmin

lpstat: destination ” ” non-existent

G 9 $lpstat –a%

lpstat: ”” is not a request id

' ' #

(47)

reject

+**2*****"6&

reject

reject '

reject

CI> reject [-r[” ”]] [ ...]

-r[” ”]

lp ' lpstat :- ' 7 !' 5 @ K @ ' G ' ' $reason unknown%

/ J J accept / *+

J J ' lp ' D

accept reject 4 $ % $ % J '

accept' reject' lpshut G 4 , G K ' G' 5 , # ,

N9/" O K

;

CI> reject -r‘”Printer on loan”‘ offer

J $%' $+ %

(48)

reject

"68*****+**2

reject: missing trailing quote:

$% '

reject: destination ” ” was already not accepting requests J

reject: destination ” ” non-existent

(49)

+**2*****"6#

+

6 G 7 '

/7

/.+;"--- +;"--- 5 5 ' ' 5

>

5 /etc/hosts 5 + :

/etc/services

printer 515/tcp spooler # remote print spooling + /.+

1 rlpout

rlpout remote '

<+ L# 5

rlpout lpsched 1 rlpdaemon

rlpdaemon

rlpdaemon

D D

D ' lpstat G

rlpdaemon inetd inetd /etc/inetd.conf

printer stream tcp nowait root /programs/rlpdaemon.run rlpdaemon -l

(50)

"6%*****+**2

*+

inetd.conf G CI> rlpdaemon [-l | -L ]

-l /usr/spool/lp/lpd.log J '

-L

) 1 2 /

5 5 ' +;"--- /.+;"--- *+ +;"---'

/.+;"---' 5 5 5 *4# rlpout rlpdaemon

' /rte_a/rte_install.cmd 5 mklp.cmd + ! " # $ 2&-332--()' rte_install.cmd

mklp.cmd *+

G 5 *+

0 /vcplus/lp1 CI> mklp []

*9 /usr ' G ! G 0 G1

$lp_hostname . # : ' ' 5 !'

CI> set lp_hostname = ‘myhost‘

5 ' /usr/spool/lp/hostname

G '

(51)

+**2*****"6!

$lp_loadprogs . $7% *+ 9 '

$lp_local . $7% *+

9 $7%'

S /usr/spool/lp ' '

S < /help

S *+

. $7% *+

$lp_remote . $%

$%

; L# 5 ' D $lp_remotein $lp_remoteout 5 4 +;"--- /.+;"--- 5

$lp_remotein . $%

$%

' 5 4 +;"--- /.+;"--- 5

$lp_remoteout . $%

$%

5 ' 4 +;"--- /.+;"--- 5

$lp_update . $%

$RTE_USR/spool/lp

$RTE_HELP $%

$rte_help # $% /help

$rte_libs #

/libraries

$rte_mklnks . $% 5 5 4' ! !4 4 5 0 1

(52)

"$*****+**2

$rte_progs # ,

/programs

$rte_snap

$rte_usr # /usr

D G $LINK ' link 7 G' /system/madison.snp'

CI> set -x link = madison.snp

' J '

D *+ '

D /usr/spool/lp/ '

D /usr/spool/lp/hostname'

D + model/ /usr/spool/lp/model/

4 G

D < /help/ 4 G

D ' /etc/inetd.conf rlpdaemon

D *+

D *+

G G 01 K 01

/programs/K 01 K

01 $% K 01 5 K 01 /usr *9 &&

CI> set lp_remote = T

CI> set lp_hostname = ‘myhost‘

CI> set rte_mklnks = T CI> mklp 22

D *+ '

lpsched

(53)

+**2*****"$

D lpadmin

link 5 ' N7/#*?

N7#.*?

7

" ! 0 G 1 D 5'

& . . $<+.

+ %

( ' ' *9

' : 0 G 1

/etc/hosts

5 ' : 5 0 G 1 /etc/hosts ) lpadmin *+

S 7

CI> lpadmin -p -m -v S 7

CI> lpadmin -p -m -orm -orp S 7 5

CI> lpadmin -p -m -orm -orpjetdirect . lpadmin

8 4 ' accept enable

(54)

"$"*****+**2 CI> accept CI> enable

, ' CI> lpadmin -d

" D sam 0. 61 rmodel sam

& 4 : <+ "--- 0 G 1 <+ "--- 0 G 1 <+9C /etc/hosts #/.

( .

$ lpshut

' ) lpadmin *+

$ lpadmin -p -v/dev/null -mrmodel -orm -orp -ocmrcmodel -osmrsmodel

<+9C

01

. <+9C / <+9C

8 4 ' accept enable <+9C <+ "---

$ accept

$ enable

, '

$ lpadmin -d

3 *+

(55)

+**2*****"$6

$ lpsched

" ! 0 G 1

& lpadmin CI> lpadmin -p -c

( CI> accept

) ' CI> lpadmin -d

!

" # reject CI> reject -r‘” ”‘

& F lpstat CI> lpstat -o

' '

( # disable '

CI> disable -r‘” ”‘

) B ' 8 '

' CI> lpstat -o

' lpmove CI> lpmove %

, ' lpadmin

CI> lpadmin -x

(56)

"$$*****+**2

"#

" . lp $@% B ' lpout

B ' T4 lpout

go lpout

lpout

& B ' lpout

T4 lpout

! "# #

" lp $@% ' T4 lpout

' '

CI> disable -r‘”Changing forms”‘

' ' D

CI> lpstat -o

& B lpout'

( 9 lpalt ' 7 ' G 3'

CI> lpalt -p7

) 9 lpfence ' $ %

CI> lpfence 7

/ G 3'

(57)

+**2*****"$&

8 ' CI> enable

$@% ' T4 lpout

go lpout

lpout

! T4 $@%

, B ' D

CI> lpfence 0

+ .

*+ 5 /usr/spool/lp/log

/usr/spool/lp/lpd.log

/usr/spool/lp/log ' *+ /usr/spool/lp/lpd.log rlpdaemon

/ ' 5 D

$.old% G G $.old%

1 ? ) ? 5

# ' /usr/spool/lp/seqfile G # "

(58)

"$8*****+**2

51

5 '

!5

D > $lpstat –r% ' $% D 5

lpsched

D $% > !5 $lpstat –p% '

D > !5

$lpstat –p% '

$lpstat –o% ' D > $lpstat –p%

' 5 lpout $@%

D *9 > D 5 $lpstat –v%

D !5 /usr/spool/lp/log

/

5 ' 5 5 8 lpsched 5

$%

!5 ' $lpstat –p%' .

D new printer

' enable

D interface program aborted

lpsched 0

lpout rlpout1 lpsched !5

D

76+ +Q

(59)

+**2*****"$#

D error scheduling

C!

D idget error on interface program

lpsched +Q lpsched +Q

D lurq error

C! 5 *9 !5 *9

D error on xluex( )

C!

C*9C *9 !5 *9 D device is down

*9 $%

4U' 9+ *9 D lpout break flag set for

? 4U'

D host unknown in /etc/hosts

5 /etc/hosts

D ’ ’ not found in /etc/services

!+ /etc/services + /.+

D unable to create socket

?.# +! 5 5 D /.;+ +

D unable to connect to remote

5 !5 5

D error reading acknowledgement Connection aborted on error

5 5

(60)

"$%*****+**2

D remote rejects submissions

J J ' 5 /usr/spool/lp/log

<+ "---

rlpdaemon ' 5 /usr/spool/lp/lpd.log <+ "--- 5 ' * @ rlpdaemon

/etc/inetd.conf inetd $inetd –c% ! lpd.log

D destination is not accepting requests

J accept

D destination non-existent

!5 4

<+9C ' $lpstat –v% D IP address not found in /etc/hosts: ...

+ /etc/hosts # 5 /etc/hosts

D NetIPC error

/.+ /+! . &!' ' 2"32-2--)8'

D unknown command code received:

unrecognized receive job subcommand:

control file byte count incorrect invalid control file name:

invalid byte count

5 ! <+

5 5 /system/ns_event.log

(61)

+**2*****"$!

)

<+5 *+ <+

) (

rtestd .

passthru *

remote /.+;"--- <+

)

. ( (

generic rtestd T +!*

pcl rtestd * +!*

passthru passthru * rrte remote rhpux remote <+9C rbsd remote ?.# 9/C hpnp_pcl remote +!* 5 hpnp_passthru remote 5 ' ' ' 5

+

* 5 lpout 0 lpout 1

<+ <+

.

5L generic

<+ &8,G' &2(G' #5L' *L' +L'

A L' B pcl

<+ passthru

<+ ;4 5 lpout <+

0 ? 1 ' '

(62)

"&*****+**2

1 rtestd )

rtestd

C!

##M"&' ##!"&' ##!--' ##!-"

generic pcl pcl <+ + ! * 0+!*1 generic +!*

. generic pcl

generic pcl rtestd pcl + lp @

D # <

cc 74/ " 9 $%

0 $%1 $%

kc C!

4/ .+ U!

C!;C*9C "

r 7 9 0 5 raw 1 ' ' !*7 "

9/C G ' 0 1 $%

nolnc #

!*7 9 0 5 1 $% ' G !*7 $%

D 4

# 0 1

(63)

+**2*****"&

. ' *9 5 ? ' lpout

: suspending per user request; enter ”GO,” to resume lpout

lpout T4

' J ' '

<+9C 4 $%

' $%

0 $%1 / <+ "--- . <+ "---

7 & C*9C 76+

76+ & ' '

D ! 74/ $%

D

7 ' ; G 0 R 1 $%

$%

"

9/C "

0 5 1 C*9C 7 ' ; C*9C $ % <' 9/C G '

B " ' $% 0 $%1 ' 9/C G 9/C G ' 0.! "&1 0.! "81 0.! ")1 9/C

$% 0 $%1 ' " 5 . ( ' 2&-332--""' 0 1

(64)

"&"*****+**2 1 pcl

pcl <+ + ! * 0+!*1 9 generic +!* pcl generic ' 6 <+9C

pcl 5 0V W1 ' $% $% 0 R 1 G' K $0%

$1%

+!*

5 +!*

+!* ' . +!* ' 5 ' ' +!*

+!* . +!* ' +!* +!*

<+ +!*

5*""9 + +0

' + +0

- >;H 10 - >:?>% 10

- >:??% >:?<% 10

1@I 1@I 1@I ;44 ;44' ;;4' 2I

2IJ 2I;44J 2I 1 2I 1 "

2I >444 I I K2 I K2 ?44 LI LI /

'2>

'2>

'2?

'2?

'2?

'2<

'2<

'2;

'2<

'23 '2?

'2;

'23 '2?

/ hpnp_pcl ' +!* */ <+ L#

(65)

+**2*****"&6 pcl generic ' D < + . 0 +!*) 1

! 0",3 !+ <+ &8,G1 VI5&. +!*"W G VI5".W

"- "- !+ 0+ 1 VI5(. +!*(W

"& "& !+ 0 1 VI5). +!*(' <+ &8,GW 0 $% $% 1

D + A . 0 +!*) 1

. $ % V0"A +!*&K W

. V0&A +!*(W . 0 5 1

V0-A +!*& 0 &8,3? 1W

. 01 01 V0RA +!*&W

D 7 .

.

. 01 01 # .

8M <+ 6: 0U 9. .!

8U <+ : 0N !62) * "

10U +!: 09.1 0O 4!

0A <+ 6 1E .4 ) 9 U 0B <+ * # 1U <+ 9. *

1G .4 &" T 8K <+ U:

#K ' <+

"--- lp V0RR +!*&W

: 5: . : 0:1 U: 05:1 V0:9 +!*&W

(66)

"&$*****+**2

. 01 01 .

- * + " +

& ( !

) < 8

, * T 3 .

: + 2 ! X( I 8)-

"- 4 V0RR +!*)W

+ 01 01 ;' VI0RR< +!*&W

. 01 01 ' VI0RR< +!*&W

. 01 01 .

- "

& )

8 :

&) G (&

,) "&:

",- V0RR. +!*(' &8,GW

. 0 1 0 1 0 1 V0-. +!*(' &8,GW

' ' ' '

. 01 01 V0".

+!*(' <+ &8,GW

. 01 01 V0&. +!*(W

. 01 01 5

Y- S-- 5

V0RR? +!*(W

(67)

+**2*****"&&

. 5 0 "1 V0"? +!*(W . 01 01

V0"+ +!*(W

. 01 01 G V0-+ +!*(W 07 $% $%

1 D + *

. '

VI-4 +!*)W

. '

VI"4 +!*)W

' 9 01 G'

VI". +!*)W

9 01 G

VI&. +!*)W

< ";"&- VI5RR< +!*(W

. G 0 $% 1 , VIRR# +!*&W

. G ";):

VIRR! +!*(W

. ,, VIRR+ +!*&W

. G ,- K )8 VIRR7 +!*&W

. 0 -1 VIRR* +!*&W

. VIRR6 +!*&W . VIRR +!*)W

01 01 VI-! +!*)W

5 5 051 051 VI"* +!*"W 5

(68)

"&8*****+**2

D + . 0 1 7 VI"< +!*)W 7 VI)< +!*)W

7 VI&< +!*)W 7 VI(< +!*)W 5 7 5 VI8< +!*)W

1 passthru )

' <+ G passthru K passthru

/ K 0 1 ' G . ( ' 2&-332--""' / / K J' '

+ lp @

D # <

5 C!

4/ .+ U!

C!;C*9C "

D 4

. ' *9 5 lpout ? ' lpout

: suspending per user request; enter ”GO,” to resume lpout

lpout $ %

T4 ' J ' '

(69)

+**2*****"&#

/7 1

' remote' /.+;"---

D ' <+9C' ?.# 9/C 5 K K

D 5 ' ' 5 5 7 G' */ <+ L# '

*/' */

5 ' */

rlpout 5 *+

D rrte D rhpux <+9C D rbsd ?.# 9/C

D hpnp_pcl +!* */ <+ L#

D hpnp_passthru */ <+ L#

* + # + 0*+#+1' 0 1 7! 7!""32 *+#+ ?.# 9/C rbsd ! G <+9C

rhpux rrte G 76+

9/C

remote 5

1 rrte

rrte /.+;"--- *+

rrte

(70)

"&%*****+**2

1 rhpux

rhpux <+9C <+9C *+

D # 7

+ ' 76+ '

9/C G K G

" ' 0 1

" ' ' 5' "& ' 0 <+ "---1

1 rbsd

rbsd ?.# 9/C ?.# 0lpr' lpd' 1

rbsd

D rbsd K

D rbsd D rbsd

D # 7

+ ' 76+ '

9/C G K G

" ' 0 1

(71)

+**2*****"&!

D ?.# 9/C . 4 0 1

?.# 9 ?.# ' ( #

?.#! .

?.#L) . J

?.# . $?.#%

?.#VW.

' :

?.# . $?.#%

?.# #F ' C

?.# 74/

?.# 9 5

?.# 9 pr

?.# .

. 0

1 / @ <+ "--- lp ' <+ "--- lp . lp

" ' ' 5' "& '

1 hpnp_pcl

hpnp_pcl +!* !+;+ */

<+ L# # *L +L ? !+ ' 5 !+

$% 0 $%1 '

D & 0 G 1' ; 76+

D " 09/C G 1'

(72)

"8*****+**2

D # 7

+ ' '

K G

D /5

. !+ 5 2"--' <+ L# 5

D 4

' pcl &8(

1 hpnp_passthru

hpnp_passthru !+;+ */

<+ L# # <+ #L ? !+ ' 5 !+

/ K / / K J

D /5

. !+ 5 2"--' <+ L# 5

(73)

+**2*****"8

)

<+

D <+

. .

"K " 5 ' 5

intf

+ lpout . G *+

5 ' rtestd '

remote

exec

. ? ' lpout K rlpout 0 5 1 5 lpout G

opts

5 '

@ lp 4 5

7 G' "

intf rtestd opts nb

rtestd $% '

D 5 <+ 5 <+

(74)

"8"*****+**2

2 )

<+ lpout' *+ . 5 .

lpout_if.ftn '

lpout_m.mac

lpout_rtestd.ftn +!* rtestd

pcl.ftn +!* pcl hpnp_pcl !

lpout rlpout lpout_passthru.ftn passthru

*5 $* POSSIBLE USER MODIFICATION%

lpout $ % J

$ % # ;"---

B cancel disable lpshut ' lpsched 47Q 47Q ' 7 ' <+

G 47Q 47Q

(75)

**2*****6

2

.+ J D *9 ' D *9'

D

6 .+ *+

! &' 5 .+

*9 *+

.+' CI> SP []

!

'

.+ .+ $@%

.+

IN . /

ON[,–S ][,][,[,]]

. *9 , *9

049.+44***.+*K ** 1 B ' *9

$–s % ? ' F /!' /7' ?+' ..

(76)

6"*******2

ON[,–S ][,+],,[,DC]

. *9 + , + *9 ,

;4 + , ? + , *9 ? ' & ;4 7 G' $sp,on,7,9% $sp,on,9,11% *9 3 *9 ""

$–s % ? ' #! 0 1

ON[,–S ][,], [,]

. *9 ' *9 ,

$–s % ? ' F /!' /7' ?+' ..' U!' +9

/ U! ' C! !/B#

*9 C! (

LI, [,][,] A *9 , F /!' /7' ?+' ..' U!' +9

RE, [, ] ' 0= @1 5 7 G'

$RE,FILE,–5% 5 .

PU, 0 ' 49.+44***.+*1 .

OF[,][, ] . *9 *9 , ' / . .+ *

(77)

**2*****66

LO,ON,

LO,OFF

QU ' ;4 ;4

? ?? # ' '

ST # '

' ' *9' '

LR[, |*] # *9 ' ZMQ ' ? '

LQ # 5 '

EX

+)

4/ * /!

/7

U! 5 +9

?+

..

+(

*9 *9 7 G' *9 &8 *9 ,' *9 &8' .+

CI> sp on 6 25

LU redirection started from LU 6 to LU 25

/' ' *9 &8 *9 , 4 *9 ,

&8' .+

CI> sp of 6

LU redirection terminated from LU 6 to LU 25

(78)

6$*******2

? ' *9 7 G CI> sp on 6 7

CI> sp on 7 8

' *9 , *9 :' *9 / *9 7 G' *9 : *9' *9 , *9 :' G 5

' #! 4/ 7 G CI> sp on 6 7 dc

CI> sp on 7 6 dc

' *9 , *9 3' *9 3 *9 ,

#! ' *9 ' ' 5 *9

+(

*9' 4/

*9 ' ' *9 47 ' *9 G *9 ,

CI> sp on 6

Spooling started from LU 6 to OUTSPOOL01.SPL::SPOOL CI> co boot.cmd::system 6

CI> co temporary.file::texts 6 CI> co letternine.txt::texts 6 CI> sp

RTE A Spooling System Type ? for help

–st

Spool File Status:

Reference : 1 Filename: OUTSPOOL01.SPL::SPOOL Owner : SCOUT Session : 1

Spool LU : 6 Status : Actively spooling Approx Lines : 21

–of 6

Spooling terminated from LU 6 to OUTSPOOL01.SPL::SPOOL –st

Spool File Status:

Reference : 1 Filename: OUTSPOOL01.SPL::SPOOL Owner : SCOUT Session : 1

Spool LU : 6 Status : Outputting to device Approx Lines : 21

(79)

**2*****6&

49.+44*-".+* .+44*

+9 ' '

D 49.+44*-".+* .+44*

4/ ' B

$47 % ' /4 *9 4 *9 47 *9' *

+ .

. ' LU redirections for session 93:

5 => 6 8 => 9 Spool File Status:

Maximum Spool Files= 59

Reference : 2 Filename: SRC/ARF::EMO Owner : TODD Session : 93

Spool LU : 6 Status : Actively Spooling Approx Lines : 0

' -

;4 *9 01

05 1 . 5 *9 4&)

4 # *9

A # *9

B 0 1 4 *9

(80)

68*******2

' ! CI> sp in

Maximum Spool Files= 74

To increase the spool file limit, change the E/VMA size of SPGET Spool System Initialized

6;F6 .+T G 3- 6;F6 .+T " ' G G ' .+T' G .+T 6' F6' '

CI> sp qu

Spool System Shutting Down CI> sz spget

Last Addr= 36441 Min.Part. 37 EMA/WS= 20 Mseg= 1 VMA = 0 CI> sz spget 30

CI> sz spget

Last Addr= 36441 Min.Part. 47 EMA/WS= 30 Mseg= 1 VMA = 0 CI> sp in

Maximum Spool Files= 112

To increase the spool file limit, change the E/VMA size of SPGET Spool System Initialized

. .+44*/74 ;.+44*

G .+' / ' .+

*9 5 5 .+ .+44*/74

4

" B ' 5 '

& 9 ! 47 ' .+T .6+

( 4 49+ *9 K G' 49+, *9 ,' 49(8 *9 (8

) + ;.+44*;.+44*/74.+*

8 $SP IN%

7 .+ ' ' ' 2&-332---3

(81)

1*) *(2*****$

1 ) (2

+ 0+/1 +/

+/

5 ' 5 4' +/

' '

+/

' ' ' D 5

)

+/'

CI> [RU,] PRINT [ ] [] []

D B ' +/

+/

/' +/ *9 , D *9 5 ' *9 *9 / +/

*9 *9 D 5 ' ' $+/ G%

)

D +/ 0 @? 1 4 =?' =' =B H)"

(82)

$"*****1*) *(2

5*$9 ) 2

@A /

@ % 2+

@'

B' 1

@ $#M$,, " $# $,,

@. %

@ $#M$,, B$#C B$,,C

@)

@+ "

@ 0 @

@

@ "

@

@C " @

@ " F A /#KG

@ )

@3 % @

@D

@, "

@E /#) /#4

(83)

1*) *(2*****$6

@A

G +/

+?

@

*9 ! = =4

+A:

@'

+B:

/ = G' G G

PRINT +b:pascal +b:stuff file.pas file.lod

< =

PASCAL STUFF

G

B'

–B

(84)

$$*****1*) *(2

@

4/ 477 B 4/' ' 0 5 1

B 477' '

' +/

0 $"% 5 1 3- ' +/

3- +/ $M%'

$=%' $-%' $&%' $(%

+C:ON|OFF

@.

[77*

. =7 (' G'

+F:

;4 ' "- !/'()?

!/'""?'" J 0. ! )' . ;4 #' ( ' 2&-332--""'

1

@

[77*

. =< 477

+H:ON|OFF

@)

+I:

(85)

1*) *(2*****$&

@+

[77*

7 G' =* "&- "&-

G , 0 =D 1

+L:

@

5 5

+M:

@

+N

@

9 =4 '

G ! =

+O:

@

5

+P

+/ ' 4U'

+P:OK

' '

(86)

$8*****1*) *(2

@C

5 =A' +/

5'

+Q

@

$+ J +/C%

[77*

+S

@

+/

+T:

' 5' 5 ' 4

@3

5

+W:%

@D

+X:

@,

[77*

0 =* 1 G ,

+Y:

(87)

1*) *(2*****$#

@E

+/ +/- +/

+/- 5 +/' 5 0 G !1

+Z

N9/ $+/

F %

)

B +/ ' G

" +/ G 5' G ' *9 +/

& +/ ' = '

( +/ + +/- +/" 0 +/& ' G1 +/

5 ' ' '

? +/ 5 ' <+5 5 +/-

) +/- 5 +/

! 76T ' =E

8 +/- 5 5 ' +/- 5 3- "

5 ? ' " +/

, =E ' +/- +/' $+/

F %

J' ! B< +/- ' ? 7 G

CI> br prin1

(88)

$%*****1*) *(2

)

B ' +/

D D D *9 J

D JQ 0 1 D *9 J 5

B ' +/ "'

&' 8' ,' 3 ' 76+

' G

+/

D ? 0?51 D

D ' 76+

D *9 ' *9 - &88 G D +/ +/-' ' G +/-

D +/

) F

+/

N9/" +/

N9/R. +/-

' =E +/ +/- +/

+/- 5 +/' 5 0 G' !1 ' =E '

N9/& +/- N9/( +/-

(89)

1*) *(2*****$!

) ;

; : 2 ) (9..4 / ((4 ) D9

CI> print input.roff output output index

; ": 1 (( +( " +( 89

CI> print output 12

; 6: 02 1 2 1 1 2 ; 9. 9

CI> print @.ftn

; $: 0 +( "$ +( 89

CI> print 24 kalderesult src/kalde@

; &: F9+ 1 2 /1 1 / :

/HELP/RN /HELP/TUTORIALS/CI /HELP/MO /HELP/TUTORIALS/MAKE /HELP/CO /HELP/TUTORIALS/MACRO

CI> print mv.help +w:/help rn mo co +w:/help/tutorials ci make macro

; 8: 1 / :

SRC/PLIBF.FTN SRC/PLIBM.MAC HELP/PRINT HELP/FILES /SCRATCH/OUT

CI> print +w:src plibf.ftn plibm.mac +w:help print files /scratch/out / .! <*+ K ;.!!<

B5 5

; #: 1 F9+ 1 /7 2 1 G+)'. .- 9

CI> print mv.help +w:0 &plibf

(90)

$*****1*) *(2

; %: ) 9%& 5 1 /1 1 5 19

CI> print +b:C.85 +b:libraries: fnewf.ftn @.mac G

C.85

LIBRARIES:

FNEWF.FTN

7/B77/' FOLDF.MAC

USERNAME

74*#76! 0 P6!1

; !: 1 / < 1 1 2 9. 4 '9. 4 9. 4 +)'94 '+)'94 9H4 H.)+9H=:

D 76+ .49!. 7/

7/ D ?7/ ?7/

D !7/ !7/

D *?6! *?6!

D ?*?6! ?*?6!

D 6U7*. 6U 6U

D 6U7*6U 6U7*6U

CI> print +b:fmp +b:sources @.ftn @.mac +b:makefiles @.make

(91)

1*) *(2*****$

)

+/ 5 +/ +/- ,

;+4T6. 9 5 X+/ X+/-

D +/ 5 I77*

H)&' I77*' 5 +/ +/- X+/

X+/- X+/' X+/- I77*

;R

I77* <+ 2&:(, 74/ 33 +/ 74/ 33

H)& I77* ' ' +/

I77* G I77*

5*$"9 G..+ F5

" N7

" J-

- > J,

1 2+ H

* " F A /#KG JL

) (

- =4 J2

- =4 J2

- ? J

- ? J

F5 ;

F ) *

0

(92)

$"*****1*) *(2

I77*

ftn7x,l,q,s,c

*

* NAME: FFL

* SOURCE: 92077–18067

* RELOC: 92077–16067

* PGMR: sb

*

* ****************************************************************

* * (C) COPYRIGHT HEWLETT–PACKARD COMPANY 1984. ALL RIGHTS *

* * RESERVED. NO PART OF THIS PROGRAM MAY BE PHOTOCOPIED, *

* * REPRODUCED OR TRANSLATED TO ANOTHER PROGRAM LANGUAGE WITHOUT *

* * THE PRIOR WRITTEN CONSENT OF HEWLETT–PACKARD COMPANY. *

* ****************************************************************

*

block data ffl

+,92077–16067 REV.6100 <930709.1609>

*

* Do not alter these declarations !!

*

common /defoptions/ defbanner,header logical*2 defbanner,header

common /ff/ numffs integer*2 numffs

common /outputlu/ outputlu integer*2 outputlu

common /lengths/ printerlength,filelength, + printerbanspace,filebanspace integer*2 printerlength,filelength, + printerbanspace,filebanspace

common /optprintmsg/ printmsgquiet logical*2 printmsgquiet

common /drivers/ driversok integer*2 driversok(0:3)

*

* Tailor the values within the slashes below according to local tastes

*

data defbanner /.true./ ! print banner before each file?

data header /.true./ ! print header before each file?

data numffs /2/ ! number of form feeds after last file

Références

Documents relatifs

[r]

[r]

[r]

See RTE-A System Generation and Installation Manual concerning * the functions of the WELCOME file.. This reflects

/ enter line of text / enter line of text.. The sum of the squares

[r]

fncnam A 3Ćword integer array containing the function name in the specified category whose CPLV will be changed. The array must be leftĆjustified, blankĆfilled, and upshifted

[r]