Solved

LPR Command

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

758 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

20 Experts available now in Live!

Get 1:1 Help Now