Command line DB reads

Gerald (Jerry) Carter jerry at
Fri Nov 9 21:07:03 GMT 2001

On Fri, 9 Nov 2001, THIBADEAU,DAN (HP-Roseville,ex1) wrote:

> Thanks, I guess I could have been more specific.  Sorry. :)
> No the "lpq command" won't work.  I have a mixed client base that will
> be printing from PC's (Samba) and HPUX/Linux (LPD).  I would like my
> UX clients to be able to see the correct information when they run the
> "lpq command" from the command line (ie: lpstat or lpq).  Now all
> filenames are "smbprn.00001.a12345" and owned by "pcguest".
> Since the "real" information was in the Samba databases, it would be
> nice to have a "read only" tool to get that information from the TDB
> files.  It would make writing a "lpstat wrapper" and other tools much
> easier.

Shouldn't be hard to do at all really.  Most of the code can
probably be ripped out of the printing/ directory.

cheers, jerry
 ---------------------------------------------------------------------              SAMBA  Team                                 Hewlett-Packard
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba mailing list