09-17-2007
Printing multiple problem issue
Hi,
unable to stop hp 4000series (4250N) printer from printing multiple copies when a single print request is made using simple "lp" command from Solaris OS 2.8.
Any idea or solution are all welcome. Thank you.
Cheers
Dunstan
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
LEARN ABOUT REDHAT
lp-cups
lp(1) Easy Software Products lp(1)
NAME
lp - print files
cancel - cancel jobs
SYNOPSIS
lp [ -E ] [ -c ] [ -d destination ] [ -h server ] [ -m ] [ -n num-copies [ -o option ] [ -q priority ] [ -s ] [ -t title ] [ -H handling ]
[ -P page-list ] [ file(s) ]
lp [ -E ] [ -c ] [ -h server ] [ -i job-id ] [ -n num-copies [ -o option ] [ -q priority ] [ -t title ] [ -H handling ] [ -P page-list ]
cancel [ -a ] [ -h server ] [ id ] [ destination ] [ destination-id ]
DESCRIPTION
lp submits files for printing or alters a pending job.
cancel cancels existing print jobs. The -a option will remove all jobs from the specified destination.
OPTIONS
The following options are recognized by lp:
-E
Forces encryption when connecting to the server.
-c
This option is provided for backwards-compatibility only. On systems that support it, this option forces the print file to be copied
to the spool directory before printing. In CUPS, print files are always sent to the scheduler via IPP which has the same effect.
-d destination
Prints files to the named printer.
-h hostname
Specifies the print server hostname. The default is "localhost" or the value of the CUPS_SERVER environment variable.
-i job-id
Specifies an existing job to modify.
-m
Send email when the job is completed (not supported CUPS 1.1.)
-n copies
Sets the number of copies to print from 1 to 100.
-o option
Sets a job option.
-q priority
Sets the job priority from 1 (lowest) to 100 (highest). The default priority is 50.
-s
Do not report the resulting job IDs (silent mode.)
-t name
Sets the job name.
-H handling
Specifies when the job should be printed. A value of immediate will print the file immediately, a value of hold will hold the job
indefinitely, and a time value (HH:MM) will hold the job until the specified time. Use a value of resume with the -i option to resume
a held job.
-P page-list
Specifies which pages to print in the document. The list can contain a list of numbers and ranges (#-#) separated by commas (e.g.
1,3-5,16).
COMPATIBILITY
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE and TAB. Also, printer and
class names are not case-sensitive.
The "m" option is not functional in CUPS 1.1.
The "q" option accepts a different range of values than the Solaris lp command, matching the IPP job priority values (1-100) instead of the
Solaris values (0-39).
SEE ALSO
lpstat(1), CUPS Software Users Manual, http://localhost:631/documentation.html
COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved.
25 September 2001 Common UNIX Printing System lp(1)