Hi Guys,
I am using the following command in unix for printing.
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 guys,
I got the solution. It's appending the filename along with the -r command
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)
Hi
Can anybody tell me how to configure my printer to handle lpr -o landscape? Or what I need to do to print a text file in landscape format using the lpr command.
Thanks
Monique (1 Reply)
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)
Please help!
This message is creating a space problem in my /var/adm/messages and I don't know where it's coming from. I don't have any printer on my system. (2 Replies)
Hi,
I have 80 large files, from which I want to get a specific value to run a Bash script. Firstly, I want to get the part of a file which contains this:
Name =A
xxxxxx
yyyyyy
zzzzzz
aaaaaa
bbbbbb
Value = 57
This is necessary because in a file there are written more lines which... (6 Replies)
Florida State University, Tallahassee, FL, USA, Dr. Whalley, COP4342 Unix Tools.
This program takes much of my previous assignment but adds the functionality of printing the concatenated line numbers found within the input.
Sample input from <> operator:
Hello World
This is hello
a sample... (2 Replies)
HI All
I need help related to Pdf printing in Solaris.as I print pdf file in solaris it print garbage.how can I print pdf correctly. need help asap.
Regards (21 Replies)
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)
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
lpr(1) Apple Inc. lpr(1)NAME
lpr - print files
SYNOPSIS
lpr [ -E ] [ -H server[:port] ] [ -U username ] [ -P destination[/instance] ] [ -# num-copies [ -h ] [ -l ] [ -m ] [ -o option[=value] ] [
-p] [ -q ] [ -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 default destination if no destination
is specified). If no files are listed on the command-line, lpr reads the print file from the standard input.
THE DEFAULT DESTINATION
CUPS provides many ways to set the default destination. The "LPDEST" and "PRINTER" environment variables are consulted first. If neither
are set, the current default set using the lpoptions(1) command is used, followed by the default set using the lpadmin(8) command.
OPTIONS
The following options are recognized by lpr:
-E
Forces encryption when connecting to the server.
-H server[:port]
Specifies an alternate server.
-C "name"
-J "name"
-T "name"
Sets the job name.
-P destination[/instance]
Prints files to the named printer.
-U username
Specifies an alternate username.
-# copies
Sets the number of copies to print from 1 to 100.
-h
Disables banner printing. This option is equivalent to "-o job-sheets=none".
-l
Specifies that the print file is already formatted for the destination and should be sent without filtering. This option is equivalent
to "-o raw".
-m
Send an email on job completion.
-o option[=value]
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 "-o prettyprint" and is only useful when printing text files.
-q
Hold job for printing.
-r
Specifies that the named print files should be deleted after printing them.
COMPATIBILITY
The "c", "d", "f", "g", "i", "n", "t", "v", and "w" options are not supported by CUPS and produce a warning message if used.
SEE ALSO cancel(1), lp(1), lpadmin(8), lpoptions(1), lpq(1), lprm(1), lpstat(1),
http://localhost:631/help
COPYRIGHT
Copyright 2007-2011 by Apple Inc.
29 August 2008 CUPS lpr(1)