09-02-2004
It depends on the printer and the printer driver.
The options your printer supports are (usually) in
/etc/lp/interface
There will be a file with same same name as the printer you are trying to use, read the file.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Over the past few weeks i've installed Red Hat 7.1 on an HP LPR Netserver and everytime i've installed it, I get errors on the drives and it keeps having me run the fsck command and i suspect that its the scsi drivers, everytime you reboot it gets worse and eventually will no longer boot. I've... (3 Replies)
Discussion started by: Lyghtnin
3 Replies
2. Shell Programming and Scripting
Hi ,
Could u please tell me What is lpr -P ?
Regards
Ashish Malviya:) (2 Replies)
Discussion started by: Ashishm
2 Replies
3. UNIX for Advanced & Expert Users
I print on an HP Laserjet 5si and HP 8000 Laserjet. We print reports in landscape and when the reports are printed the font size is too big and some of the report is cut off. Is there any other options that I could try to use to correct this. The printers are set up correctly. I just need to... (4 Replies)
Discussion started by: skammer
4 Replies
4. UNIX for Dummies Questions & Answers
Hello All,
I have been looking for a way to print a text file in landscape format with out sucess. I have also looked at thread post by yxiao. but this does not work for me. Any help would be greatful. I have redhat 7.2 and conneted to an HP 4100N printer. THANKS (2 Replies)
Discussion started by: larry
2 Replies
5. Solaris
hi everybody ,
i was just wondering if anyone could tell me how to setup printing landscape from Solaris 9 . We have a hp laser jet 1300 printer connected to an hp jetdirect 1.75x print server. We have set it up to print Portrait but not landscape. Is there some sort of generic script I can use... (3 Replies)
Discussion started by: ppass
3 Replies
6. UNIX for Dummies Questions & Answers
good day!
i would just like to ask for advice regarding an lp problem i have..
we currently migrated a GIS appl from sol 2.6 to sol 8 but maintained the same version of jetadmin (for the appl plotters and printers). we are able to print files on a printer but not on a plotter. the... (1 Reply)
Discussion started by: maria_iris
1 Replies
7. UNIX for Dummies Questions & Answers
to an existing print que? (1 Reply)
Discussion started by: NycUnxer
1 Replies
8. Shell Programming and Scripting
Hi Guys,
I am using the following command in unix for printing.
pr -t -l34 "$1" | lpr -r
But i was not able to see the file getting deleted. Is anything wrong with the command.
---------- Post updated at 10:56 AM ---------- Previous update was at 10:38 AM ----------
Hi... (0 Replies)
Discussion started by: Kar1234
0 Replies
9. UNIX for Beginners Questions & Answers
Hi ,
We are trying to automate Printing the word document directly from the Server level to a Printer.
We have printer registered and command I use is
lp -d printername 1234.doc
Even though the program completes fine, a print does not reach to the printer for word document. In... (4 Replies)
Discussion started by: PrashantTalele
4 Replies
10. UNIX for Advanced & Expert Users
Hi everyone,
Our office has a lot of printers (label & laser), and sometimes it gets quite hard to configure a new printer in CUPS as most printer manufactures does not provide drivers/ppd for CUPS/LINUX/UNIX.
So we are trying to move to a Windows Print Server and run a Proof of concept. We... (2 Replies)
Discussion started by: Syed Hussaini
2 Replies
LEARN ABOUT REDHAT
lpr-cups
lpr(1) Easy Software Products lpr(1)
NAME
lpr - print files
SYNOPSIS
lpr [ -E ] [ -P destination ] [ -# num-copies [ -l ] [ -o option ] [ -p] [ -r ] [ -C/J/T title ] [ file(s) ]
DESCRIPTION
lpr submits files for printing. Files named on the command line are sent to the named printer (or the system default destination if no des-
tination is specified). If no files are listed on the command-line lpr reads the print file from the standard input.
OPTIONS
The following options are recognized by lpr:
-E
Forces encryption when connecting to the server.
-P destination
Prints files to the named printer.
-# copies
Sets the number of copies to print from 1 to 100.
-C name
Sets the job name.
-J name
Sets the job name.
-T name
Sets the job name.
-l
Specifies that the print file is already formatted for the destination and should be sent without filtering. This option is equivalent
to "-oraw".
-o option
Sets a job option.
-p
Specifies that the print file should be formatted with a shaded header with the date, time, job name, and page number. This option is
equivalent to "-oprettyprint" and is only useful when printing text files.
-r
Specifies that the named print files should be deleted after printing them.
COMPATIBILITY
The "c", "d", "f", "g", "i", "m", "n", "t", "v", and "w" options are not supported by CUPS and will produce a warning message if used.
SEE ALSO
cancel(1), lp(1), lpstat(1), CUPS Software Users Manual, http://localhost:631/documentation.html
COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved.
23 January 2001 Common UNIX Printing System lpr(1)