Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

waloshin

macrumors 68040
Original poster
Oct 9, 2008
3,562
394
i am running ubuntu server with Cups installed I have my Samsung Ml 1610 printer working, but it wont work on Mac osx. I share the printer through the ip address 192.168.2.4:631

Is there anything I am missing?

Printer sharing is enabled on ubuntu.

If this helps any Mac osx gurus:

[-0600] Unable to encrypt connection from 192.168.2.2(My macbook) - A record packet with illegal version was received.
 
Here is the configure file:

Code:
LogLevel warn
MaxLogSize 0
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Share local printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseRemoteProtocols
BrowseAddress @LOCAL
BrowseLocalProtocols CUPS dnssd
DefaultAuthType Basic
<Location />
  # Allow shared printing and remote administration...
  Order allow,deny
  Allow @LOCAL
</Location>
<Location /admin>
  # Allow remote administration...
  Order allow,deny
  Allow @LOCAL
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  # Allow remote access to the configuration files...
  Order allow,deny
  Allow @LOCAL
</Location>
<Policy default>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
<Policy authenticated>
  <Limit Create-Job Print-Job Print-URI>
  AuthType Default
  Order deny,allow
</Limit>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
  AuthType Default
  Require user @SYSTEM
  Order deny,allow
    </Limit>
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
      </Limit>
  <Limit Cancel-Job CUPS-Authenticate-Job>
      AuthType Default
      Require user @OWNER @SYSTEM
      Order deny,allow
        </Limit>
  <Limit All>
        Order deny,allow
          </Limit>
</Policy>
 
On OS X there are two kinds of printer driver - Carbon (monolithic) drivers and CUPS-style drivers. CUPS-style are just like those on Ubuntu. Monolithic means all in one - the drivers most manufacturers of non-postscript printers provide are this type. If your printer just has a USB connection, then the manufacturer only included USB comm in its driver. You need a CUPS-style driver to print through the Ubuntu server. Look for one here:
http://www.linuxfoundation.org/collaborate/workgroups/openprinting/macosx
(the Samsung-gdi driver might work)

PS - it is possible that someone has worked out how to print using the monolithic driver using the Apple Bonjour Mac-to-Mac sharing technology - using mDNS and Avahi on linux - but I haven't seen it yet.
 
On OS X there are two kinds of printer driver - Carbon (monolithic) drivers and CUPS-style drivers. CUPS-style are just like those on Ubuntu. Monolithic means all in one - the drivers most manufacturers of non-postscript printers provide are this type. If your printer just has a USB connection, then the manufacturer only included USB comm in its driver. You need a CUPS-style driver to print through the Ubuntu server. Look for one here:
http://www.linuxfoundation.org/collaborate/workgroups/openprinting/macosx
(the Samsung-gdi driver might work)

PS - it is possible that someone has worked out how to print using the monolithic driver using the Apple Bonjour Mac-to-Mac sharing technology - using mDNS and Avahi on linux - but I haven't seen it yet.


Thanks for the help i reinstalled the printer with the ppd file and the .dmg file that was on the website. And now I am getting this error:

You need to install software to use this printer. To install the software, choose Software Update from the Apple menu. If the software for your printer isn’t available in Software Update, contact the manufacturer of your printer.
 
Most of the drivers sets on that page require three separate download and installs - did you do all 3?
 
So where did you get that ppd file? A ppd file tells CUPS what driver to use. Your error means you are trying to use a ppd that doesn't match the driver(s) installed.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.