Date: Wed, 19 Jan 2011 23:00:03 -0600 (CST) From: Robert Bonomi <bonomi@mail.r-bonomi.com> To: questions@freebsd.org, sfourman@gmail.com Subject: Re: FreeBSD cups printing server Message-ID: <201101200500.p0K503oX093451@mail.r-bonomi.com> In-Reply-To: <AANLkTim4WR9et%2BGkoBztQbqs2K51HB1XFJCUw9wqwyGU@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> From owner-freebsd-questions@freebsd.org Wed Jan 19 21:14:59 2011 > Date: Wed, 19 Jan 2011 20:39:01 -0600 > From: "Sam Fourman Jr." <sfourman@gmail.com> > To: FreeBSD Questions <questions@freebsd.org> > Cc: > Subject: FreeBSD cups printing server > > Hello list, > > I have a freshly installed FreeBSD 8.2 print server using the latest cups > from ports. > > I have a Brother 9440CN printer and a Virtual pdf printer installed with > cups-pdf > > both work great... > > my problem is I want to create a pdf for everything I send to the brother > printer (for archival purposes) > > can I add multiple printers to a single queue? or is there a script > somewhere, that I could copy the cups generated postscript to the > cups-pdf printer? At least a couple of options: (the *UGLY* one) 1) define a named pipe 2) tell CUPS that that pipe is the printer device 3) from the system start-up script, launch a script that does the following in a loop: uses tee(1) to read from the named pipe, and copy to a unique archive file pipes stdout from tee(1) to the actual printer device
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101200500.p0K503oX093451>