home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!ames!lll-winken!sundance!news
- From: ramsey@sundance.llnl.gov (Susanne B. Ramsey)
- Newsgroups: comp.sys.sgi.admin
- Subject: network printers..???
- Message-ID: <ramsey.728092533@moonshine>
- Date: 26 Jan 93 23:55:33 GMT
- Sender: news@sundance.llnl.gov (News Administrator)
- Organization: Magnetic Fusion Energy - LLNL
- Lines: 50
-
- I have tried several ways of accessing from the SGI some printers that are
- either on non-SGI systems or have network interfaces.. I am doing this so
- that users can print from the Workspace and not have to worry about issuing
- commands at the command line..
-
- The only success I have had is by doing the following:
-
- creating a file with the following in /usr/spool/lp/model
-
- #! /bin/sh
- NAME="Generic Postscript"
- TYPE=PostScript
- segid=$!
- name=$2i
- title="$3"
- copies=$4
- options="$5"
- shift; shift; shift; shift; shift
- files="$*"
- i=1
- while [ $i -le $copies ]
- do
- for file in $files
- do
- lpr -Pqmsps "$file"
- done
- i=`expr $i = 1`
- done
- exit 0
-
- Note if it is NOT a PostScript printer or queue then NAME is blank and TYPE is
- Dumb.
-
- I then do a lpshut; lpadmin -p<printer> -v/dev/null -m<modle>; lpsched; accept;
- enable <printer>
-
- My question is - is there a easier/better way to do this.. I am told that SGI
- does not support printers that are not on other SGIs or local - How do YOU
- access printers on SUNs or that have their own network interface...??? Is there
- a better file to be using in the model directory..???
-
- Thanks
- Susanne Ramsey
- --
- Susanne B. Ramsey Lawrence Livermore National Laboratory
- 7000 East Avenue L-630 | (510) 423-9530
- Livermore Ca 94550 | sbr@llnl.gov
- _____________________________________________________________________
- Fertility is hereditary. If your parents didn't have any children, neither
- will you.
-