Solved

LPR Command

Posted on 2002-04-20
3
829 Views
Last Modified: 2013-12-27
I would like to specify the port number in an LPR command. Currently I use LPR -P ipaddress:queueName. How would I specify a port address?
0
Comment
Question by:jc31415
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
ID: 6958294
Hmmm, Solaris uses the SysV printing system and doesn't have an lpr command. So I don't know where you are getting the lpr command from. Could you provide any more information?
0
 
LVL 38

Expert Comment

by:yuzh
ID: 6958604
why don't you use:

   lp -d queueName filename

   to print.

   edit your /etc/hosts to add the remote printer server and use admintool to add remote printer for your workstation.

0
 
LVL 40

Expert Comment

by:jlevie
ID: 6958739
I'm not sure that I understand why you accepted that comment as an answer. I was really trying to figure out if you were really using lpr to print with on a Solaris system. Such a thing is possible, even though lpr wouldn't be a native command. It could be that someone has installed a BSD print system or it could be an alias.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

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…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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…

777 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