Friday, July 29, 2005

Differences between BSD SunOS 4.1.X and System V Solaris 2.X Mar 1995

---------------------------------------------------------------------------
Differences between BSD SunOS 4.1.X and System V Solaris 2.X Mar 1995
------------------------------------------------------------


/usr/ucb/lpr FILE <-> /usr/bin/lp FILE
/usr/ucb/lpr -P PRINTER FILE <-> /usr/bin/lp -d PRINTER FILE

/usr/ucb/lpq -P PRINTER /usr/bin/lpstat -d PRINTER
OR <-> /usr/bin/lpstat -o PRINTER
/usr/etc/lpc status PRINTER /usr/bin/lpstat -u USER

/usr/ucb/lprm -P PRINTER JOB# <-> /usr/bin/cancel PRINTER-JOB#
/usr/bin/cancel -u USER PRINTER

/usr/etc/lpc disable PRINTER <-> /usr/sbin/reject PRINTER
/usr/etc/lpc stop PRINTER <-> /usr/bin/disable PRINTER

/usr/etc/lpc enable PRINTER <-> /usr/sbin/accept PRINTER
/usr/etc/lpc start PRINTER <-> /usr/bin/enable PRINTER
/usr/etc/lpc restart PRINTER

no BSD equivalent <-> /usr/bin/lpmove PRINTER-JOB#
NEW_PRINTER

ps -aux | grep lpd ... kill <-> /etc/init.d/lp stop

/usr/lib/lpd <-> /etc/init.d/lp start

vi /etc/printcap <-> /usr/sbin/lpadmin -x PRINTER
- remove unwanted printer

/usr/bin/ps -aux | grep lpd <-> /usr/sbin/lpshut
/usr/bin/kill LPD_PIDS

/usr/lib/lpd <-> /usr/lib/lp/lpsched

default printer = $PRINTER <-> default printer = $LPDEST

0 Comments:

Post a Comment

<< Home