Date: Wed, 07 Jun 2006 21:44:58 +0200 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= <norgaard@locolomo.org> To: Frank Bonnet <f.bonnet@esiee.fr> Cc: freebsd-questions@freebsd.org Subject: Re: quota printing ? Message-ID: <44872CBA.9060002@locolomo.org> In-Reply-To: <44868C28.8030100@esiee.fr> References: <44868C28.8030100@esiee.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Frank Bonnet wrote: > I'm searching for a centralized quota printing solution that would run > over CUPS or LPRNG , I've reviewed pyquota but it doesn't fit our needings. > > Ideally it could use a SYBASE database system as backend as we have a > SYBASE > server ... This is one of the admin tasks that almost always cause headache. I think the standard solution is to hack up some Perl script that suits your needs. For LPRng, you might want to take a look at ifhp for a start. It doesn't do accounting but it may be useful to get every job into a particular format so you can count pages in that. I once made a script that counted pages in ps-files using the page separation tag in the code and rejected everything that didn't seem enough PostScript like. Once you have your Perl to count, you can do pretty much anything you like with the numbers. And there is a Sybase DB driver for Perl. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 [-- Attachment #2 --] 0 *H 010 + 0 *H 00נ UO0 *H 010 UES10U Daemon Security10UCertificate Authority10UCertificate Authority1$0" *H ca@daemonsecurity.com1 0U00 060420131650Z 070420131650Z0b10 UES10U LocoLomo.Org10U Erik Norgaard1$0" *H norgaard@locolomo.org0"0 *H 0 >NPLGMK $^ha~ Xם-`Y^P oœtƥ*\.e_!2\j]m)B>v+z2VfDѝR}Tc&E/#_.9DŽ9÷(3 ?ԝWu%)vŅͯTr)FA+(R6ƶw {9zP_Q^zpk/jXMY n0j0U0 0U0Uiy,]ñtb?i0U#0Àa&WtЕna=⥡010 UES10U Daemon Security10UCertificate Authority10UCertificate Authority1$0" *H ca@daemonsecurity.com1 0U0 UO0 U0norgaard@locolomo.org08U10/0-+)'http://www.daemonsecurity.com/ca/ds.crl0 *H ǟ@&<mWc4LS@G4['s5\\VN^`I &>"@>"[xq89`@sG;LP]ƜTT|sGٶ2 Ҋctx?'ҭ$0r;2#ba"%$B p%rԆU ì>!73ȁg6_I.2Ġ!AaAmF G'bךuf>-dxqq09#XOSk+FuyTvr+p!!}n.6NH'5+9`CVĩ;7RߔRKIpv&S@P`;%eƓxCuiL Cb Y,)x:3ѓGjRe EtPҰk< c\;9pT9/K̩ LHzMMuʔ(dkskj <ds08PxZ NWC00נ UO0 *H 010 UES10U Daemon Security10UCertificate Authority10UCertificate Authority1$0" *H ca@daemonsecurity.com1 0U00 060420131650Z 070420131650Z0b10 UES10U LocoLomo.Org10U Erik Norgaard1$0" *H norgaard@locolomo.org0"0 *H 0 >NPLGMK $^ha~ Xם-`Y^P oœtƥ*\.e_!2\j]m)B>v+z2VfDѝR}Tc&E/#_.9DŽ9÷(3 ?ԝWu%)vŅͯTr)FA+(R6ƶw {9zP_Q^zpk/jXMY n0j0U0 0U0Uiy,]ñtb?i0U#0Àa&WtЕna=⥡010 UES10U Daemon Security10UCertificate Authority10UCertificate Authority1$0" *H ca@daemonsecurity.com1 0U0 UO0 U0norgaard@locolomo.org08U10/0-+)'http://www.daemonsecurity.com/ca/ds.crl0 *H ǟ@&<mWc4LS@G4['s5\\VN^`I &>"@>"[xq89`@sG;LP]ƜTT|sGٶ2 Ҋctx?'ҭ$0r;2#ba"%$B p%rԆU ì>!73ȁg6_I.2Ġ!AaAmF G'bךuf>-dxqq09#XOSk+FuyTvr+p!!}n.6NH'5+9`CVĩ;7RߔRKIpv&S@P`;%eƓxCuiL Cb Y,)x:3ѓGjRe EtPҰk< c\;9pT9/K̩ LHzMMuʔ(dkskj <ds08PxZ NWC100010 UES10U Daemon Security10UCertificate Authority10UCertificate Authority1$0" *H ca@daemonsecurity.com1 0U0 UO0 + )0 *H 1 *H 0 *H 1 060607194459Z0# *H 1;Sy/tj&W0R *H 1E0C0 *H 0*H 0 *H @0+0 *H (0 +710010 UES10U Daemon Security10UCertificate Authority10UCertificate Authority1$0" *H ca@daemonsecurity.com1 0U0 UO0*H 1010 UES10U Daemon Security10UCertificate Authority10UCertificate Authority1$0" *H ca@daemonsecurity.com1 0U0 UO0 *H ZSh#))woYS)M[oу睴c2HmStV_)1}qNrâ)&m GCqdL~逼tny)Z_}\v?ozXM}Aܟ/.EG0%9nbBl8='r-W1>\ؐ 蘿oh80Gξ)0H5OѮD|U+d׆QF pߥƲ¿ Y
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44872CBA.9060002>
