10 More Discussions You Might Find Interesting
1. How to Post in the The UNIX and Linux Forums
Hi,
I have set up an HP printer, Model P3005dn" on our server running HP-Ux 11.31.
The printing is fine but I'm also getting an extra page printed with an right arrow (-->) only. I suspect that this could be the "Tab Expansion" or a "CR/LF" character.
Can ayone please advise what could... (0 Replies)
Discussion started by: Koketso
0 Replies
2. Shell Programming and Scripting
Hi
I have a pdf file that is being generated using the rwrun command in the shell script.
I then have the lp command in the shell script to print the same pdf file.
Suppose there are 4 pages in the pdf file , I need to print 2 copies of the first page, 2 copies of the second page , then 2... (7 Replies)
Discussion started by: megha2525
7 Replies
3. Slackware
OS: Slackwar 13.37
Printer: hpDeskjet 1000 j110
Printer Drivers/Software: HPLIP 3.11.3a (min was 3.10.9) and Cups
The printer will print the first of n-pages but from page 2 on it prints the page (or part of it) backs up and starts again down about 0.8 lines and does this repeatedly till the... (2 Replies)
Discussion started by: slak0
2 Replies
4. Shell Programming and Scripting
Hi guys
I'm relativley new to Perl, and have not touched html before, im trying to write a cgi script that prints all images on a single html page from a given directory. Im using perl to gather stats, rrdtool to update and create graphs now i just need to print these graphs all onto 1 index.cgi... (3 Replies)
Discussion started by: jeffersno1
3 Replies
5. AIX
Guy's
I have installed AIX direct Network printer as the below details....
printer1 hp@printer1 hplj-3 (HP-GL/2)
Printer is printing fain and clearly
but it's printing extra blank page after each print ?
What's the couse of this problem ?
Pls advice ! (6 Replies)
Discussion started by: ITHelper
6 Replies
6. SCO
I looked around the forum here and found some answers to getting the banner page disabled but when I print a test page they aren't working.
The printer I'm printing to is a HPLaserJet 2300. I couldn't find no banner settings in it either.
I'm using Sco OS 5.05.
Please advise.
Thanks (2 Replies)
Discussion started by: texastig
2 Replies
7. Shell Programming and Scripting
hi all
i have file_1 which contains 66 pages and i want to print only page 1 to 3
i try to write like this
lp -d name_of_printer file_1 -P 1-7
this command does not work
any ideas ? (4 Replies)
Discussion started by: naamas03
4 Replies
8. Shell Programming and Scripting
Hi,
How do i Print anything after a ':'
Ex :
file1: 1235131(rs32553)
I want to print out "1235131(rs32553)"
how do i do it. I know we can do this using awk but looking for the right syntax.
Any help appreciated.
Thanks,
Ram (7 Replies)
Discussion started by: ramky79
7 Replies
9. UNIX for Dummies Questions & Answers
Hi there,
Does anyone know how to print a specified page using command like lpr?
Thanks, (3 Replies)
Discussion started by: randomcz
3 Replies
10. UNIX for Dummies Questions & Answers
I need help on printing PS and PDF file. I find it will waste a lot of paper if I print every pages.
So I want to print multipage into one.
But I forgot how to do it in unix.
Anyone help me!!!
:D ;) :p (2 Replies)
Discussion started by: sunartio
2 Replies
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)