Solved

LPR Command

Posted on 2002-04-20
3
815 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
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…
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.

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now