Solved

Printer installation on Solaris 2.6

Posted on 2000-04-15
2
324 Views
Last Modified: 2013-12-16
What are the basic steps to installing an Epson 850 dot matrix printer on a Sun Ultra 5 Solaris 2.6.  I am a neophyte re: Unix.  I really would like to print over the network thru an NT 4.0 machine.  Epson is setup to print from NT 4.0 very well (it appears).  I would connect the 850 directly to the Ultra 5 if I have to.  Thanks!
0
Comment
Question by:marvin_l
  • 2
2 Comments
 
LVL 20

Expert Comment

by:tfewster
ID: 2877477
To use the NT print queue:
man lpadmin:
-s system-name[!printer-name]
Make a remote printer  (one that must be  accessed through  another  system)  accessible  to users on your system. system-name is the name of the remote system  on which the remote printer is located it. printer-name is the name used on the remote systemfor  that  printer.  For  example,  if you want to access  printer1  on   system1  and  you  want  it called  printer2 on your system:

lpadmin -p printer2 -s system1!printer1

Note, NT must be set up to support lpd and the printer name (under NT) can't contain spaces.

To drive a printer with its own network connection directly:
(From the Sun FAQ at
http://www.fwi.uva.nl/pub/solaris/solaris2.html, section 3.12)

3.12) How can I print to a networked printer?
Before Solaris 2.6, you either needed special software like JetAdmin or get a printer that supported the BSD print protocol and set your system up as a BSD client.

Starting with Solaris 2.6, there's a new lp "model" script, "netstandard". This script allows you to print to remote BSD type printers as well as over raw TCP/IP connections. It's used like this:


# Raw TCP
lpadmin -p <localname> -m netstandard -o protocol=tcp -o dest=host:port \
      -v /dev/null
# BSD
lpadmin -p <localname> -m netstandard -o protocol=bsd -o dest=host \
      -v /dev/null

Enable/accept and you're all set.

When using netstandard, all filtering is done locally. When configured as a BSD print client, filtering isn't done locally as only print servers should filter jobs.

Hope this helps, Tim



0
 
LVL 20

Accepted Solution

by:
tfewster earned 50 total points
ID: 2907805
As you haven't responded, I'll assume my comment resolved your problem :)
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now