Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Printer installation on Solaris 2.6

Posted on 2000-04-15
2
Medium Priority
?
336 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 100 total points
ID: 2907805
As you haven't responded, I'll assume my comment resolved your problem :)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

604 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