12-20-2007
Try to run your command using the 'lp' command instead of 'lpr'.
It may work, it may not. This depends heavily on what version of UNIX you're running and what type of printer you're running with it. The media option may simply not exist on your system.
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
i need a UNIX command to print to a Dell printer. i was successful printing to a HP printer using qprt -Pprinter, but it doesn't work for Dell printer. any suggestions??? much appreciated. (3 Replies)
Discussion started by: bones91
3 Replies
2. Shell Programming and Scripting
HI,
I'm trying to create a script that a regular unix user can run from a unix menu and disable and enable a unix printer.
Any help will be very helpful.
Thanks (0 Replies)
Discussion started by: miguelpza
0 Replies
3. Shell Programming and Scripting
Hi,
I have 13jobs waiting in a printer queue.I am try to get the status and number of jobs using lpstat but i cant see any job is waiting in queue.i think those jobs are in printer buffer.is there any way to get the status of printer buffer too using unix command.please correct me if i am wrong. i... (1 Reply)
Discussion started by: sagii
1 Replies
4. Boot Loaders
Hello,
I have kubuntu on my laptop and now I decided to switch to Windows 7. I made the bios settings properly (first choice is boot from cd\vd) but I see the error
" reboot and select proper Boot device or insert Boot media in select Boot device and press a key "
I have tried CD and... (0 Replies)
Discussion started by: rpf
0 Replies
5. SCO
My client has lost the SCO OS 5.0.5 install media.
However, they do have a working SCO 5.0.5 system, but is crumbling apart.
Where can I find the SCO OS 5.0.5 install media?
Or can I get a copy of the SCO CD as a ISO file?
Your help is much appreciated. (7 Replies)
Discussion started by: chedlee88-1
7 Replies
6. Shell Programming and Scripting
I have a huge file and I want to select first 10 charcters and last 2 characters of everyline and than will filter the unique line.
I know, it must be easy bt I am new to unix scripting:)
Ex.
I have file as below and need to e3kbaird and last 2 characters. and than unique records.
... (3 Replies)
Discussion started by: Sanjeev Yadav
3 Replies
7. UNIX for Beginners Questions & Answers
Hi
I'm using the "select" command in the global_env.sh to log in to the application directory. This file is called in .bashrc profile.
Sample code:
Filename: global_env.sh
set -o vi
export severname=$(uname -n)
printf '%s\n%30s\n%s\n' "***********************" "Welcome to $severname"... (6 Replies)
Discussion started by: cheers799
6 Replies
LEARN ABOUT REDHAT
papstatus
PAPSTATUS(8) System Manager's Manual PAPSTATUS(8)
NAME
papstatus - get the status of an AppleTalk-connected printer
SYNOPSIS
/usr/sbin/papstatus [ -d ] [ -p printer ] [ retrytime ]
DESCRIPTION
papstatus is used to obtain the current status message from an AppleTalk connected printer. It uses the Printer Access Protocol (PAP) to
obtain the status information.
If no printer is specified on the command line, papstatus looks for a file called .paprc in the current directory and reads it to obtain
the name of a printer. The .paprc file should contain a single line of the form object:type@zone where each of object, :type, and @zone
are optional. type and zone must be proceeded by `:' and `@' respectively. Blank lines and lines the begin with a `#' are ignored. type
and zone default to LaserWriter and the zone of the local host, respectively.
OPTIONS
-d Turns on a debugging mode that prints some extra information to standard error.
-p printer
Get status from printer (do not consult any .paprc files to find a printer name). The syntax for printer is the same as discussed
above for the .paprc file.
retrytime
Normally, papstatus only gets the status from the printer once. If retrytime is specified, the status is obtained repeatedly, with
a sleep of retrytime seconds between inquiring the printer.
FILES
.paprc file that contains printer name
SEE ALSO
nbp(1), pap(8)
17 Dec 1991 PAPSTATUS(8)