Solved

Printer installation on Solaris 2.6

Posted on 2000-04-15
2
328 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 21

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 21

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

726 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