• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 891
  • Last Modified:

LPR Command

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
jc31415
Asked:
jc31415
  • 2
1 Solution
 
jlevieCommented:
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
 
yuzhCommented:
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
 
jlevieCommented:
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now