For the archive:

I was able to fix my cups problems with:

print-service -s cups

as suggested at the end of http://opensolaris.org/jive/thread.jspa?threadID=83180&tstart=45 .

Josh Lange wrote:


On Mon, Aug 24, 2009 at 6:10 PM, Jeff Victor <[email protected] <mailto:[email protected]>> wrote:

    Steven Acres wrote:

        Jeff Victor wrote:

            I am trying to print from OS 2009.06 to a network printer.
            I would use either manual configuration of the printer's
            IP address or automatic discovery, but can't figure out
            how to do either. The printer is an HP 7410.

            System -> Administration -> Print Manager seemed obvious,
            but manually configuring an IP address for a network
            printer didn't work for LPD or IPP methods. The icon
            associated with the local print queue said "Initializing"
            forever.

            Print Manager -> Edit -> Preferences has a tab "Network
            Printers" which seemed promising, though I don't know if
            the 7410 responds to SNMP. In any case, various attempts
            failed.

            I thought this might help me:
            
http://wikis.sun.com/display/OpenSolarisInfo200906/How+Network+Printer+Discovery+Works
            . It mentions a service
            network/device-discovery/printers:snmp but that service is
            in maintenance mode. Its log ends in

            [ Aug 24 19:17:51 Executing start method
            ("/lib/svc/method/svc-network-discovery start snmp"). ]
            /usr/bin/dbus-send --system --print-reply
            --dest=org.freedesktop.Hal --type=method_call
            /org/freedesktop/Hal/devices/network_attached
            
org.freedesktop.Hal.Device.NetworkDiscovery.EnablePrinterScanningViaSNMP
            int32:60 string:public string:0.0.0.0
            Error org.freedesktop.DBus.Error.AccessDenied: Rejected
            send message, 1 matched rules; type="method_call",
            sender=":1.21" (uid=0 pid=20330 comm=")
            interface="org.freedesktop.Hal.Device.NetworkDiscovery"
            member="EnablePrinterScanningViaSNMP" error name="(unset)"
            requested_reply=0 destination="org.freedesktop.Hal" (uid=0
            pid=743 comm="))
            [ Aug 24 19:17:51 Method "start" exited with status 1. ]

            which doesn't help me. Disabling and re-enabling it didn't
            help.

            Up until last week, this system (Tecra M9) was running S10
            and was printing to the printer via CUPS. If OS 2009.06
            cannot print to this printer natively, I will use CUPS
            again. I was just hoping that OS is ready for HP printers.

            Do I need CUPS?
            If not, how can I tell OS about my printer?

        Hi Jeff,

        I had a similiar issue yesterday, an HP 1200 laser printer
        which worked via cups. Then it didn't. A note: this problem
        occurred attempting to print _from_ a laptop running OSOL.
        This lappy is at times on one subnet (which is explicitly
        allowed via cups.conf on the server) and at times VPN
        connected (though it printed via this connex previously). I
        haven't hunted down the logs for the server yet to determine
        recent changes since it was more important to get the printing
        running. Bottom line: I explicitly set the subnet for the
        smallish set of clients needing to print via the cups.conf on
        the server; restarted cups @ server and voila: printing! Until
        I can narrow it down further (soon), this 'works for me' ,
        hope it works for you. Of course this is an internal subnet.

    Steven,

    Thanks for the response, but I don't think it will help. I don't
    have a print server, so there's no place to set clients in
    cups.conf.  I'm hoping to avoid cups entirely.


Cups is a print server. Even if you are using a stand alone system, you will have the cupsd print server running.
Have you manually tried using the cups port to configure your printer?

When cups is running, visit this url in a web browser:
http://localhost:631/

I personally had an hp7410, and I was using it on a linux client without issue, quite a while ago.

I was either using foomatic, or hpijs for the print driver (I forgot which).
_______________________________________________
sysadmin-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to