Sponsored Content
Top Forums Shell Programming and Scripting Print multiple copies page by page using lp command Post 302627237 by vbe on Friday 20th of April 2012 10:51:53 AM
Old 04-20-2012
I just tried on an AIX and HP-UX and it prints 2 copies at a time...
e.g.
Code:
man passwd|lp -n2 -o media=A4 -dlpvbe

I am not sure to find a solaris10 here that has a spooler or printer defined...
looking...
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to print multiple copies of the same file

Hi, this is my first post so I hope I have placed it in the appropriate section! I have created a looping script to print a text file multiple times. The script works great, and it displays the job numbers of all the prints that result from its execution. The trouble is, only the first job... (1 Reply)
Discussion started by: Alpha7
1 Replies

2. UNIX for Dummies Questions & Answers

How to print a specific page

Hi there, Does anyone know how to print a specified page using command like lpr? Thanks, (3 Replies)
Discussion started by: randomcz
3 Replies

3. Shell Programming and Scripting

lpr- how to print from page to page

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

4. UNIX for Dummies Questions & Answers

print job seperator page

How do I get my linux login ID to print on seperator page on print jobs. Right now it prints " Remote User" thanks Jim (0 Replies)
Discussion started by: jdmowrer
0 Replies

5. Solaris

High Page In and Executable page In

Hi, Currently I'm experience very high page ins on my system running on solaris 10. From vmstat, the page ins figure is very high, further drill down shows the page ins are from file system and occassional spike in executable page ins. Details as follow: oracle@perch:/files>> vmstat 5... (9 Replies)
Discussion started by: srage
9 Replies

6. SCO

I need the print banner (extra page) disabled

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. UNIX for Dummies Questions & Answers

display command output page per page

Good afternoon, I wonder how i could use unix commands to ease the reading of long command result output ? like the "php -i" or any other command that returns a long answer. I could not find the right terms to Google it or search the forum. Therefore I bother you with this question. ... (3 Replies)
Discussion started by: Mat_k
3 Replies

8. Slackware

Printer won't print but 1 page

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

9. Web Development

Page load time- local page

Hi Is there a way to calculate the page load time, I am trying to calculate the load time of a page locally. I found tools to do this over http or https but none that work locally. Any ideas? Thanks. (4 Replies)
Discussion started by: jamie_123
4 Replies

10. Shell Programming and Scripting

script for adding page number before page breaks

Hi, If there is an expert that can help: I have many txt files that are produced from pdftotext that include page breaks the page breaks seem to be unix style hex 0C. I want to add page numbers before each page break as in : Page XXXX Regards antman (9 Replies)
Discussion started by: antman
9 Replies
FOOMATIC-CONFIGURE(1)					      General Commands Manual					     FOOMATIC-CONFIGURE(1)

NAME
foomatic-configure - the main configuration program of the foomatic printing system. SYNOPSIS
foomatic-configure [OPTION]... foomatic-configure -n queuename [ -N description ] [ -L location ] [ -c con- nect ] [ -d driver ] [ -p printer ] [ -s spooler ] [ -C [ sourcespooler ] source- queue ] [ -o option1=value1 -o option2 ... ] [ -q ] [ --oldppd ] foomatic-configure -D -n queuename [ -s spooler ] [ -q ] foomatic-configure -R -n queuename [ -s spooler ] [ -q ] foomatic-configure -Q [ -s spooler ] [ -n queuename ] [ -r ] foomatic-configure -P [ -s spooler ] [ -n queuename ] [ index ] foomatic-configure -X -p printer | -d driver | -p printer -d driver foomatic-configure -O foomatic-configure -h foomatic-configure --help DESCRIPTION
foomatic-configure is a program to establish and configure print queues, drivers, spoolers, etc using the foomatic database and companion filters. It also comprises half of a programatic API for user tools: you can learn and control everything about the static properties of print queues here. With the sister program foomatic-printjob, you can do everything related to print queue dynamic state: submit jobs, and query, cancel, reorder, and redirect them. Options -n queuename Configure this print queue -N Name/Description Use this proper human-readable name/description -L Location Short phrase describing this printer's location -c connection Printer is connected thusly (ex file:/dev/lp0) -d driver Foomatic database name for desired printer driver -p printer Foomatic id for printer -s spooler Explicit spooler type (cups, lpd, lprng, pdq, ppr, direct) -o option=value Set the default of option to value -o option Turn on option by default --oldppd Use the old CUPS-O-Matic PPD files for CUPS queues (default are the PPD-O-Matic PPDs) -D Set this queue as the default queue (just give -n queuename) -R Remove this whole queue entirely (just give -n queuename) -C [ sourcespooler ] sourcequeue Copy sourcequeue from sourcespooler (or the current one if sourcespooler is not given) into the queue given by -n queuename (of the current spooler). -Q Query existing configuration (gives XML summary) -r List also remotely defined queues (CUPS only) -P [ index ] Get Perl dump of current configuration (as a Perl array named QUEUES, the first index is index, or zero if index is not given) -O Print XML Overview of all known printer/drivers (this shows also the Foomatic IDs of the printers) -X Print XML data for -p printer and/or -d driver object -q Run quietly Commands No commands, just options FILES
/etc/foomatic/lpd/<queue> /etc/foomatic/<queue>.xml /etc/printcap The systems list of configured printers. SEE ALSO
foomatic-printjob(1), EXIT STATUS
foomatic-configure returns 0 if no errors occurred. AUTHOR
Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> for the foomatic project using comments from the source. BUGS
foomatic-configure currently cannot handle printcap files in the lprng style. As lprng can use BSD style printcaps this is not much of a problem, as long as the GUI based print manager lprngtool is not used. The difference between those formats is, that BSD style requires continuation lines in printer definitions to be ended with a colon and the newline character to be escaped with a backslash. Lprng has no such restriction. To use a printcap file generated or edited with lprngtool with foomatic-configure it is necessary to add : to the end of all but the last line of every printer definition, just as shown below: #comment # primary printer name lp #alternate names |lp2|lp3 |Example of a printer :sd=/usr/spool/LPD/lp :rw:lp=/dev/lp:mx#100 : must be converted to: #comment # primary printer name lp |lp2|lp3 |Example of a printer :sd=/usr/spool/LPD/lp: :rw:lp=/dev/lp:mx#100: This manpage may be out of date. Foomatic Project 2002-01-06 FOOMATIC-CONFIGURE(1)
All times are GMT -4. The time now is 02:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy