09-26-2007
printer power button? :-)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a printing issue I need some help with. I have a printer that will advance a sheet of paper prior to printing a print job. This is not a banner page, it's just a blank page. The O/S is AIX. I know that in SCO and Other Unix's there are printer interface files that more or less tell the... (1 Reply)
Discussion started by: Docboyeee
1 Replies
2. Shell Programming and Scripting
I am have an issue with the carrige or line feed chars showing up on info converted to a pdf file from a Orcale tool. Any direction would be appericated.
ex.
John doe 12435 1 232344 1
Jane doe 12435 1 424343 1
when should be like this
John doe... (1 Reply)
Discussion started by: sherrod6970
1 Replies
3. SCO
Folks,
Have a SCO OpenServer 5.0.5 legacy box on site that has run our legacy ERP system for about 15 years now. Primarily uses an Okidata 321 ML Turbo line printer (defined as 'printer') attached to the system's parrel port at /dev/lp0. System primarily operates as a terminal server with... (2 Replies)
Discussion started by: SystemsAdminAS
2 Replies
4. Shell Programming and Scripting
Hello folks
Below command shows current date
echo `date +%Y-%m-%d`
2010-04-21
How to show one day old date, i want see like
2010-04-20 (1 Reply)
Discussion started by: learnbash
1 Replies
5. Solaris
Synopsis:
Solaris 10 SunFire v880 with two networked HP laser printers set up through HPPI. Test page will print through HPPI but can't print to them us the lp command. When using the lp command it just hangs and causes the Samba process to fail.
We have a SunFire v880 running Solaris 10.
$$... (1 Reply)
Discussion started by: KenLynch
1 Replies
6. UNIX for Advanced & Expert Users
I am currently struggling with attempting to print text files on a SCO 5.0.7 server to a network printer. The printer is an Hp LJ P2015dn There is an existing printer set up, and when I do a:
lp -d myprinter /etc/hosts
the first line of the hosts file is all that prints. I even attempted... (5 Replies)
Discussion started by: asamon
5 Replies
7. Solaris
I have network printer registerd in solaris environment. When I issue print, it prints banner page. The issue printer is registerd in Print server which is running on Linux environment. So when I issue print in Print server, it doesn't print banner page as banner settings are made to turn off It... (6 Replies)
Discussion started by: Sunil Koya
6 Replies
8. Solaris
Message from lp on sunnyD (???) ...
Subject: Problem with printer (name)
The printer (name) has stopped printing for the reason given below.
Fix the problem and bring the printer back on line
to resume printing.
The reason(s) it stopped (multiple reasons indicate repeated attempts):
... (2 Replies)
Discussion started by: sydalackk
2 Replies
9. UNIX for Beginners Questions & Answers
Hello group.
I recently upgraded my company's server from an IBM P520 w/AIX 5.1 to a new Power 8 w/AIX 7.2. The old server used serial printing and we turned off the print queing feature. We did this because we have many custom forms and did not want a que/spooling situation where a print job... (1 Reply)
Discussion started by: Len Davis
1 Replies
10. UNIX for Beginners Questions & Answers
Im having an issue when trying to replace the first column with a new set of values in multiple files. The results from the following code only replaces the files with the last set of values in val.txt. I want to replace all the files with all the values.
for date in {1..31}
do
for val in... (1 Reply)
Discussion started by: ncwxpanther
1 Replies
lp(1) General Commands Manual lp(1)
Name
lp - send requests to an LP line printer
Syntax
lp [-c] [-d dest] [-n number] [-] [files]
Description
The command arranges for the named files and associated information (collectively called a request) to be printed by a line printer. If no
file names are mentioned, the standard input is assumed. When a file name is designated by a minus sign (-) it stands for the standard
input and may be supplied on the command line in conjunction with named files. The order in which files appear is the same order in which
they are printed.
This command exists for X/OPEN compatibility.
Options
The following options to may appear in any order and may be intermixed with file names:
-c Makes copies of the files to be printed immediately when is invoked. Normally, files are not copied, but are linked whenever
possible. If the -c option is not given, then the user should be careful not to remove any of the files before the request has
been printed in its entirety. It should also be noted that without the -c option, any changes made to the named files after
the request is made but before it is printed are reflected in the printed output.
-d dest Chooses dest as the printer that is to do the printing. If dest is a printer, then the request is printed on that specific
printer. By default, dest is taken from the environment variable PRINTER if it is set. Otherwise, a default destination, lp,
is used.
-n number Prints number copies (default of 1) of the output.
Files
/etc/passwd personal identification
/etc/printcap printer capabilities data base
/usr/lib/lpd* line printer daemons
/usr/spool/* directories used for spooling
/usr/spool/*/cf* daemon control files
/usr/spool/*/df* data files specified in cf files
/usr/spool/*/tf* temporary copies of cf files
See Also
lpq(1), lpr(1), lprm(1), pr(1), symlink(2), printcap(2), lpc(8), lpd(8)
lp(1)