The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Get real value from real-time systems iBot Complex Event Processing RSS News 0 01-14-2008 02:10 AM
smart question zylwyz UNIX for Advanced & Expert Users 3 06-30-2005 05:44 PM
Smart Array on a RP4440 marvin51796 UNIX for Advanced & Expert Users 1 03-21-2005 05:04 PM
compaq smart array 532 farmacy SCO 2 02-18-2004 10:40 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-20-2005
Peterh Peterh is offline
Registered User
  
 

Join Date: Feb 2001
Location: Frankfurt Germany
Posts: 61
Smile Real smart question

hello

My question is whats the difference between LP and LPR to print Sun Solaris ?

lp -dprintername postscriptfile.ps

or

lpr -Pprintname postscriptfile.ps
  #2 (permalink)  
Old 07-20-2005
ErNci ErNci is offline
Registered User
  
 

Join Date: Jun 2005
Posts: 24
lp send requests to a local printer from a Solaris host.

For SunOS it's lpr.

Obviously they're both present on current OS, but it's good practise to use the correct one incase you end up using an older version of Solaris.
  #3 (permalink)  
Old 07-25-2005
infierno's Avatar
infierno infierno is offline
Registered User
  
 

Join Date: Jul 2005
Location: Asuncion, Paraguay
Posts: 79
lpr is the off-line printer... lp is just a frontend to the lpr. (that is in FreeBSD, maybe is the same in Sun Solaris), out put from man lp(1):


LP(1) FreeBSD General Commands Manual LP(1)

NAME
lp
-- front-end to the print spooler

SYNOPSIS
lp
[ -cs ] [ -o option ] [ -d printer ] [ -n num ] [ name ... ]

DESCRIPTION
The lp utility is a front-end to the print spooler as required by the
IEEE Std 1003.2 (``POSIX.2'') specification. It effectively invokes
lpr(1) with the proper set of arguments.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:49 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0