Thanks.
I guess this was an easy one.
1. Use 'mknod c 3 2 /dev/null2' to create a second 'null'-fil, and
'chmod 666 /dev/null2'.
2. Some proposed that I could create a symbolic link to /dev/null, but
3. some of you recommended not to use /dev/null for printing since
lpd's lock on /dev/null may interfere with ordinary (non-printing)
processes attempting to access /dev/null.
4. Some suggested I could create an empty file in each printers
spool directory and have printcap point to these files instead.
Thanks to
mueller@darmstadt.gmd.de
Martin Achilli
Birger A. Wathne
Anatoly M. Lisovsky
tim@ben.dciem.dnd.ca Tim Pointing
Brett Lymn
chrish@miles33.com Chris Habasinski
pauls@essex.ac.uk
andrew@dcs.bbk.ac.uk Andrew Watkins
peter.allan@aeat.co.uk
dlp@medphys.ucl.ac.uk Dave Plummer
fruechtenicht@rz.fh-wilhelmshaven.de Henning Fruechtenicht
ric@rtd.com Ric Anderson
blu@mc.com Brian Utterback
fletch@ain.bls.com
wightman@sol.acs.uwosh.edu Brian T. Wightman
anderson@neon.mitre.org Mark S. Anderson
dhb@ssd.ray.com David H. Brierley
rp2893@email.sps.mot.com RJ Nichols III
ichael.shon@East.Sun.COM Michael Shon
mike@trdlnk.com Michael T. Sullivan
dave@exar.com Dave Haut
pln@egret1.Stanford.EDU Patrick L. Nolan
....and I'm sure many more to come.....
The original:
----- Begin Included Message -----
Hello out there.
I have connected two printers to a dual parallel card on
an IPC running SunOS 4.1.3. The printcap entries look
like this:
Postscript-1|ps:\
:lp=/dev/null:\
:if=/soft/RWS/prog/sparc/ps_spool:\
:sd=/usr/spool/lpq1:\
:lf=/usr/adm/lpd-errs:mx#0:sf:sh:
Postscript-2|lp:\
:lp=/dev/null:\
:if=/soft/RWS/prog/sparc/ps_spool2:\
:sd=/usr/spool/lpq2:\
:lf=/usr/adm/lpd-errs:mx#0:sf:sh:
This brings me into a lock situation on /dev/null, so one printer
has to finish before the other can start. I want them both to
be active simultaneously.
Does anyone know how to create a second null file, /dev/null2?
Of course I will summarize.
Frode Stromsvag email: frode@read-well.no
READ Well Services a.s.
Ravnsborgveien 56
P.O. Box 25
1364 Hvalstad Phone number: +47-66982240
NORWAY FAX number: +47-66982022
----- End Included Message -----
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:28 CDT