Solved

Printer installation on Solaris 2.6

Posted on 2000-04-15
2
331 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 50 total points
ID: 2907805
As you haven't responded, I'll assume my comment resolved your problem :)
0

Featured Post

Independent Software Vendors: 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

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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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.:
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…

724 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