From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,70f3e37303eec14a X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,70f3e37303eec14a X-Google-Attributes: gidf678f,public X-Google-Thread: 1020c6,70f3e37303eec14a X-Google-Attributes: gid1020c6,public X-Google-Thread: fc89c,70f3e37303eec14a X-Google-Attributes: gidfc89c,public From: "George Gallen" Subject: Re: Creating a Temporary Printer queue? Date: 1998/03/11 Message-ID: <01bd4d46$04f8b6e0$804600ce@ggallen.slackinc.com>#1/1 X-Deja-AN: 333135376 References: <01bd460b$e93cc360$804600ce@ggallen.slackinc.com> <3506E5C7.680C@hlthsrc.com> Organization: PSINet Newsgroups: comp.unix.admin,comp.unix.osf.misc,comp.unix.osf.osf1,comp.unix.programmer What I was looking to do was to link a device to print queue rather than linking a queue to a device. Sounds like HUH? Normally, a print queue sends jobs to a specific device (printer), I don't want that. I want jobs to go to a queue and stay there. Then I want to be able to assign a device to that queue and allow it empty. Why? We have 3 line printers and about 20 different forms we could print on It would be nice to have people (who can't see what form in what printer) just spool their jobs to a queue for that form. Then the person doing the printing when they load that form on whatever printer, have all jobs to that queue (form) print to that printer. What was suggested: Setup the queues for each form to print to say: /dev/form/FORM (/etc/printcap) With lpc setup those queues for queueing only, no printing (lpc start). When ready to print all jobs for a form, to ln -s /dev/printerdevice /dev/form/FORM lpc start queue FORM (now all the jobs will print) lpc stop queue FORM (when all forms have printed I would also have to use sudo to give the printing person access to lpc. Your Suggestion: setup queues for each form with the sd= and no lp= and create each dir lpr -Pprinter /usr/spool/FORM/df* lprm -PFORM - I would need sudo for printing person access to lpr /usr/spool & lprm I wouldn't want to change the permissions on the directory for security reasons (wouldn't want people looking at other jobs that arn't theirs...) Also suggested: To use LPRng (which I have downloaded, but haven't tried to compile and implement yet. Any other ideas?? anyone?? George Gallen ggallen@slackinc.com John McIntire wrote in article <3506E5C7.680C@hlthsrc.com>... > Send the jobs to a seperate spooling directory (sd parameter) and then > manually spool the jobs (lpr -Pprinter name job) > > George Gallen wrote: > > > > What I want to do is create printer queues that are not linked to a > > printer. > > Ex. Have say 3 queues (1=formx, 2=formy, 3=formz). This way if a job was > > needed for a specific type of form it would go into that queue. Then when > > we are ready "attach/link" that queue to a specific Device (printer), which > > might not be the same device each time. We have 3 different high speed > > printers. > > > > Right now, we have a queue for each printer, if you change paper and > > someone > > somewhere else in the building that can't see that the wrong paper is in > > the > > printer tries to print, well...It doesn't look so good. > > > > I am running DU3.2c on a 2100 system (BSD lpd/lpr). > > Any Ideas? > > > > Thanx > > George Gallen > > ggallen@slackinc.com >