Solved

Printer installation on Solaris 2.6

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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 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…

828 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