Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#!/bin/rc
2
 
3
if (! ~ $DEBUG '') flag x +
4
 
5
if (~ $#* 0) *='/fd/0'
6
 
7
for (j in $*) {
8
	if (~ $j '/fd/0' || test -f $j) {
9
		@{bind -b $LPLIB/process /bin; $LPPROC} < $j | 
10
		aux/download -f -H/sys/lib/postscript/font -mfontmap -plw+ |
11
		/$cputype/bin/aux/lpdsend -d$OUTDEV -tf -H$LPMACHID -P$LPUSERID $DEST_HOST >[2]$LPLOGDIR/$LPDEST^.st
12
	}
13
	if not {
14
		echo $j cannot be opened >[1=2]
15
	}
16
}