Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Fatherhood.Org

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 184 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

cupsaddsmb



SYNOPSIS

       cupsaddsmb  [  -H  samba-server  ]  [ -U samba-user ] [ -h
       cups-server ] [ -v ] -a
       cupsaddsmb [ -H samba-server ] [  -U  samba-user  ]  [  -h
       cups-server ] [ -v ] printer [ ... printer ]


DESCRIPTION

       cupsaddsmb exports printers to the SAMBA software (version
       2.2.0 or higher) for use with Windows  clients.  Depending
       on  the  SAMBA  configuration,  you  may need to provide a
       password to export the printers. This program requires the
       CUPS  or  Adobe  PostScript printer driver files described
       below.

       The -H option specifies the SAMBA server which defaults to
       the CUPS server.

       The  -U  option  specifies  the SAMBA print admin username
       which defaults to your current username.

       The -a option exports all known printers.  Otherwise  only
       the named printers are exported.

       The -h option specifies a different CUPS server to use.

       The -v option specifies that verbose information should be
       shown and is  useful  for  debugging  SAMBA  configuration
       problems.


SAMBA CONFIGURATION

       cupsaddsmb  uses  the  new  RPC-based  printing support in
       SAMBA 2.2.x to provide printer drivers and  PPD  files  to
       Windows  client machines. In order to use this functional­
       ity, you must first  configure  SAMBA  (via  the  smb.conf
       file)  to  support  printing  through  CUPS  and provide a
       printer driver download share, as follows:

           [global]
            load printers = yes
            printing = cups
            printcap name = cups

           [printers]
            comment = All Printers
            path = /var/spool/samba
            browseable = no
            public = yes
            guest ok = yes
            writable = no
            printable = yes
            printer admin = root

       cupsaddsmb can use the CUPS PostScript printer drivers for
       Windows,  which  are  available for download from the CUPS
       web site.

       The CUPS printer drivers  are  preferred  over  the  Adobe
       drivers  since they support page accounting, banner pages,
       and page labels on all printers.  However, currently  only
       Windows  NT,  2000,  and  XP  are  supported  by  the CUPS
       drivers, so you will also need to get the Adobe driver  to
       support Windows 95, 98, and Me clients.

       Once  you  have  extracted  the  driver  files,  create  a
       "drivers" directory in the CUPS  data  directory  (usually
       /usr/share/cups)  and  copy the CUPS files using lowercase
       filenames, as follows:

           [Windows NT, 2000, and XP]
           cups.hlp
           cupsdrvr.dll
           cupsui.dll


ADOBE POSTSCRIPT DRIVERS FOR WINDOWS

       cupsaddsmb can use the Adobe  PostScript  printer  drivers
       for  Windows,  which  are  available for download from the
       Adobe web site (http://www.adobe.com).

       The CUPS printer drivers  are  preferred  over  the  Adobe
       drivers  since they support page accounting, banner pages,
       and page labels on all printers.

       Once  you  have  extracted  the  driver  files,  create  a
       "drivers"  directory  in  the CUPS data directory (usually
       /usr/share/cups) and copy the Adobe files using  UPPERCASE
       filenames, as follows:

           [Windows 95, 98, and Me]
           ADFONTS.MFM
           ADOBEPS4.DRV
           ADOBEPS4.HLP
           DEFPRTR2.PPD
           ICONLIB.DLL
           PSMON.DLL

           [Windows NT, 2000, and XP]
           ADOBEPS5.DLL
           ADOBEPSU.DLL
           ADOBEPSU.HLP

       You can download and copy either set of driver files inde­
       pendently, and use the CUPS drivers for Windows NT,  2000,
       and  XP  while using the Adobe drivers for the Windows 95,
  
Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial can use your help.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.11 Seconds