- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- use samba to act as a printing service
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2009 08:17 AM
тАО07-30-2009 08:17 AM
can samba keep a log of which user used which printer and how many pages he prints?
secondly, in my environment we have a Linux file server joined to a windows AD domain and windows users connected to the domain.
we need the linux file server to act as a printing service for the domain users and also want the samba to keep a log of how the printer is being used. can samba do it in this scenario?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2009 11:50 AM
тАО07-30-2009 11:50 AM
SolutionThe logs in /var/log/samba are pretty detailed. Further you can modify smb.conf and have a higher level of detail in the lobs if you have room for the data.
More:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html
http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/samba-file-and-print.html
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2009 08:29 AM
тАО08-01-2009 08:29 AM
Re: use samba to act as a printing service
is your answer applicable to the second part of my first post also.
i.e i have a linux file server add to a windows AD domain.
in that can the linux fileserver act as a printing service to the users of the windows AD system. i am not an expert in samba n the more i read its docs, more doubts i get.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2009 12:37 PM
тАО08-02-2009 12:37 PM
Re: use samba to act as a printing service
However, Samba can (and by default, it does) pass the username and IP address of the user that submitted the print job to the print spooler system along with the print job.
The print spooler system (in many modern Linux distributions, it's CUPS) communicates with the printers. In an optimal situation, the communication between the spooler and the printer is two-way, and the printer reports back the actual number of pages printed with is job-complete message.
This way the spooler system can properly account for things like:
- print jobs that include printer commands like "print 3 copies of all pages of this print job" or "shrink the pages and print 2 pages side by side on each sheet of paper in landscape mode"
- pages with overlong lines, causing one page to overflow to two or more pages
- any number of other printing language features that make it non-trivial to determine the number of pages required
In short, Samba may not be the right place to look for printer usage logs: the actual print spooler system can usually do it better.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2009 08:05 AM
тАО08-03-2009 08:05 AM
Re: use samba to act as a printing service
by any chance do you know any software based network simulator which actually can virtually add network devices like printers, windows/linux machines etc.
eg if i have a windows and linux machine, this network simulator on a third machine sud be able to show up a few windows/linux machines on the network, a couple network printers etc..