Simple query - installing a network printer under Solaris 2.6

Simple query - installing a network printer under Solaris 2.6

Post by Systems Administrato » Sat, 19 May 2001 17:27:55



Hi,

I have spent the last 6 hours chasing a how-to on installing a
network printer under Solaris 2.6 on x86.

The specific printer is a HP8100N and I downloaded the JetAdmin
products for the 8100 and only after installing 2 different
version got the message that they are only for SPARC systems.

Grrr.

Anyway, can anyone point me at the Dummies How-To to install a
network printer (TCP/IP) under Solaris x86?

Many thanks,

Tony

 
 
 

Simple query - installing a network printer under Solaris 2.6

Post by gary drummon » Sun, 20 May 2001 00:04:57



> Hi,

> I have spent the last 6 hours chasing a how-to on installing a
> network printer under Solaris 2.6 on x86.

> The specific printer is a HP8100N and I downloaded the JetAdmin
> products for the 8100 and only after installing 2 different
> version got the message that they are only for SPARC systems.

> Grrr.

> Anyway, can anyone point me at the Dummies How-To to install a
> network printer (TCP/IP) under Solaris x86?

> Many thanks,

> Tony

I got this from a previous posting and added it to my post-install
jumpstart scripts. Our developers would*the filters up, so I
combined that with the original...

#!/usr/bin/ksh
# Create the default network printer
# Stolen from postings on usenet
# Add filters as needed if Developers*up again
lpadmin -p printername -v /dev/null -m netstandard
lpadmin -p printername -o protocol=bsd -o dest=x.x.x.x
lpadmin -p printername -T PS -I postscript
enable printername
accept printername
lpadmin -d printername

if [ ! -d /usr/lib/lp/postscript/download ]; then
        cd /etc/lp/fd
        lpfilter -f download -F download.fd
        lpfilter -f dpost -F dpost.fd
        lpfilter -f postio -F postio.fd
        lpfilter -f postior -F postior.fd
        lpfilter -f postprint -F postprint.fd
        lpfilter -f postreverse -F postreverse.fd
fi

Feel free to add or modify, but if you have any goodies to ad/fix, post
them for me and others...

Gary

 
 
 

Simple query - installing a network printer under Solaris 2.6

Post by martha starke » Sat, 19 May 2001 21:45:19


Try this:

lpadmin -p <printername> -v /dev/null -m netstandard -o dest=<hostname
or ipaddress of network printer> -I postscript -T PS

accept <printername>
enable <printername>

It's the same command for Sparc systems.

That assumes your printer is postscript capable, which I'm pretty sure
that model of HP is.

It's a good idea to update your lp patch before you do this.  For 2.6
x86 that would be 106236-08.  Incidentally, the Vividata company does
have an unsupported version of Jetadmin for x86.

 
 
 

Simple query - installing a network printer under Solaris 2.6

Post by Tony de Groo » Sat, 19 May 2001 22:37:51


Hi all,

Many thanks for the reply.

(This is from my home account .. it got later  :)   )

I tried to do what I think was a similar thing under admintool
but it would not accept the IP address as the destination ..
I will get back to it on monday and get it working and see if
I can find out where I went wrong.

Thanks.

Tony


> Hi,

> I have spent the last 6 hours chasing a how-to on installing a
> network printer under Solaris 2.6 on x86.

> The specific printer is a HP8100N and I downloaded the JetAdmin
> products for the 8100 and only after installing 2 different
> version got the message that they are only for SPARC systems.

> Grrr.

> Anyway, can anyone point me at the Dummies How-To to install a
> network printer (TCP/IP) under Solaris x86?

> Many thanks,

> Tony

 
 
 

Simple query - installing a network printer under Solaris 2.6

Post by John D Groenve » Sun, 20 May 2001 03:44:43




Quote:>I tried to do what I think was a similar thing under admintool
>but it would not accept the IP address as the destination ..

Thats an old bug. I don't think it was ever fixed because
serious people don't use GUI administration tools when well
documented command line interfaces exist that behave as their
documented.

Anyway, follow anyone of Greg Andrews' numerous posts on the subject:
http://groups.google.com/
network printer (group:comp.unix.solaris OR group:alt.solaris.x86)

John

 
 
 

Simple query - installing a network printer under Solaris 2.6

Post by Tony de Groo » Sun, 20 May 2001 15:53:47


Hi,

Thanks for the info .. This is a pity as I thought that Sun was
better than that to leave a bug in like that.

My guess is that it would not have been too hard to fix given that
the command line supports it .  :(
(This is based on my unsubstantiated guess that the graphical interface
merely front ends the commandline program).

Tony




> >I tried to do what I think was a similar thing under admintool
> >but it would not accept the IP address as the destination ..
> Thats an old bug. I don't think it was ever fixed because
> serious people don't use GUI administration tools when well
> documented command line interfaces exist that behave as their
> documented.

> Anyway, follow anyone of Greg Andrews' numerous posts on the subject:
> http://groups.google.com/
> network printer (group:comp.unix.solaris OR group:alt.solaris.x86)

> John


 
 
 

Simple query - installing a network printer under Solaris 2.6

Post by Greg Andre » Sun, 20 May 2001 17:48:25



Quote:

>Thanks for the info .. This is a pity as I thought that Sun was
>better than that to leave a bug in like that.

>My guess is that it would not have been too hard to fix given that
>the command line supports it .  :(
>(This is based on my unsubstantiated guess that the graphical interface
>merely front ends the commandline program).

Admintool hasn't had new features added since Solaris 2.5.1 (which
didn't have network printer support in 1996).  It doesn't support
printer maps via NIS or NIS+ either.

Instead, Sun has been developing the Solstice Adminsuite programs,
including Printer Manager.  NIS/NIS+ and everything.

  -Greg
--

I have a map of the United States that's actual size
                 -- Steven Wright

 
 
 

1. Question about Solaris 2.6 (x86) and simple network setup

Hi !

I have just installed Solaris x86 2.6. The name of this maschine
is "daggy" and domain "banich.de" - only for my local network at
home.

(1) I have a notebook running Win95 and want to get my data there
    to the Solaris computer using ftp:
    How do I have to configure the Solaris to do so ?
    I have just added the IP address (e.g. 49.69.198.100 - I
    know, not an allowed one, but it is for my home purpose
    only : any suggestions for a better one !? :-) ) to
    /etc/hosts: 49.69.198.100    daggy     localhost
    and the file /etc/defaultdomain: branich.de
    When I do a ping 127.0.0.1: it says  "localhost alive"
    a ping 49.69.198.100 follows:
    "ICMP from localhost (127.0.0.1) to daggy (49.69.198.100)
     network not reachable ..."
    ifconfig -a : lo0 127.0.0.1 (localhost) up, ...etc.

    What else is to do ?

(2) It would be nice, if there is anywone, who can help me to
    set up my dialup (modem) internet connection from solaris to
    my university. I have seen, that there are several ppp-tools
    or daemons who can do this: but I dont know HOW :-(

        Knut

------

Branichstr. 50                 phone: +49 172 6224641
69198 Schriesheim

2. stuck at main menu

3. network printer in Solaris 2.6

4. E250, Failed to read FSP LEDs

5. lp, Network Printers and Solaris 2.6

6. Linux Frequently Asked Questions with Answers (Part 4 of 6)

7. Configuring HP 4050 as network printer on Solaris 2.6

8. tools to monitor disk stats

9. network printer in Solaris 2.6...

10. Problem with network printer with Solaris 2.6 x86

11. network printer in Solaris 2.6

12. network printer problem with Solaris 2.6

13. Displaying information for existing Network Printers on Solaris 2.6