Announcement

Collapse
No announcement yet.

printer sharing

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    printer sharing

    I have an hp set up with cups...  how can I print from my windows box down the way?  I am wireless networked through a router.  I had this working just fine in windows.  I can print locally  
    cupsd.conf // deleted some comments so it would fit
    Code:
    Classification none
    
    DefaultCharset UTF-8
    
    DefaultLanguage en
    Printcap /var/run/cups/printcap
    
    
    PrintcapFormat BSD
    
    RemoteRoot remroot
    
    SystemGroup lpadmin
    
    # Encryption certificate (ServerCertificate)
    # 
    # The file to read containing the server's certificate.
    # Defaults to "/etc/cups/ssl/server.crt".
    # 
    # ex: /etc/cups/ssl/server.crt
    #
    #ServerCertificate /etc/cups/ssl/server.crt
    f
    ServerCertificate /etc/cups/ssl/server.crt
    
    ServerKey /etc/cups/ssl/server.key
    
    
    <Location />
    Encryption IfRequested
    Satisfy All
    Order deny,allow
    Deny From All
    Allow From 127.0.0.1
    </Location>
    <Location /jobs>
    AuthType Basic
    AuthClass User
    Encryption IfRequested
    Satisfy All
    Order allow,deny
    </Location>
    <Location /admin>
    AuthType Basic
    AuthClass System
    Encryption IfRequested
    Satisfy All
    Order deny,allow
    Deny From All
    Allow From 127.0.0.1
    </Location>
    
    HostnameLookups Off
    
    
    KeepAlive On
    
    KeepAliveTimeout 60
    
    
    MaxClients 100
    
    MaxRequestSize 0m
    
    Timeout 300
    
    
    Listen 127.0.0.1:631
    
    AccessLog /var/log/cups/access_log
    
    ErrorLog /var/log/cups/error_log
    
    
    PageLog /var/log/cups/page_log
    
    MaxLogSize 1m
    
    LogLevel info
    
    PreserveJobHistory On
    
    PreserveJobFiles Off
    
    AutoPurgeJobs No
    
    MaxJobs 0
    
    MaxJobsPerPrinter 0
    
    MaxJobsPerUser 0
    
    User lp
    
    Group lp
    
    RIPCache 8m
    
    FilterLimit 0
    
    DataDir /usr/share/cups
    
    
    DocumentRoot /usr/share/cups/doc-root
    
    
    RequestRoot /var/spool/cups
    
    
    ServerBin /usr/lib/cups
    
    
    ServerRoot /etc/cups
    
    TempDir /var/spool/cups/tmp
    
    Browsing On
    BrowseProtocols CUPS 
    
    BrowsePort 631
    
    BrowseInterval 30
    
    BrowseTimeout 300
    
    BrowseAddress @LOCAL
    
    BrowseOrder allow,deny
    
    ImplicitClasses On
    
    ImplicitAnyClasses Off
    
    HideImplicitMembers Yes
    
    BrowseShortNames Yes
    
    # Unknown
    configfileperm 0600
    runasuser Yes
    include cupsd-browsing.conf

    #2
    Re: printer sharing

    You need Samba. Once you've installed the "samba" package through Adept:

    Run "kdesu kcontrol" - type your password
    Go to "Internet & Network" -> "Samba"
    "Printers" tab
    Add New Printer
    Change options as you require. You might also want to change "Security level" to "share" (in Base Settings).

    Comment


      #3
      Re: printer sharing

      ok that worked great. one question. if this is linux for humans why is that called samba and not "talking to windows" and why isn't in system settings?

      Comment


        #4
        Re: printer sharing

        Samba as a project pre-dates (K)Ubuntu.

        I am a little surprised that it's not in systemsettings (some, very limited, Samba options are). I prefer kcontrol anyway, so I don't notice.

        Comment


          #5
          Re: printer sharing

          The M$ file and printer sharing system is called SMB(TM) thus in order to indicate that Samba is interoperable with SMB(TM) but is reverse engineered based on publicly available documents with NO USE OF M$ CODE, the fellow who wrote it decided to name it Samba. I must admit, I no longer remember what SMB stands for, nor do I care.

          Comment


            #6
            Re: printer sharing

            I have a similar set up - other windows computers on my home network wanting to use the local parallel port printer on my kubuntu computer. Followed JamesM instructions and found following.
            * When viewing network neighbourhood on windows machines; all the windows PCs are part of "Workgroup" whereas kubuntu machine is part of "Mshome".
            Is this OK or should kubuntu machine be in "Workgroup". If so how do I do it?
            * Printer doesn't seem to be visible to windows PCs. Must be missing doing something to share the printer to the network?
            Thanks

            Comment


              #7
              Re: printer sharing

              Great post JamesM!

              I'm new to Linux and KDE and for over one day I've tried to setup a Kubuntu installation runnning as a printserver and accessing it from Win XP.
              After reading various forums and websites, one solution more crazy than the other I found your solution with the kcontrol!

              It worked like a charm

              Can't belive the kcontrol isn't a standard menuitem in the Kubuntu installation.

              Cheers




              Comment

              Working...
              X