?
Solved

LPR Command

Posted on 2002-04-20
3
Medium Priority
?
874 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
[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
3 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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 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…
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.
Suggested Courses
Course of the Month13 days, 6 hours left to enroll

801 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