Sponsored Content
Top Forums Shell Programming and Scripting Print multiple copies page by page using lp command Post 302627263 by megha2525 on Friday 20th of April 2012 11:26:33 AM
Old 04-20-2012
Hi

The command is

Code:
cat <path of the pdf file>  | /usr/bin/acroread -toPostScript  | lp -d <printer name> -n2 -o uncollate

Moderator's Comments:
Mod Comment How to use code tags
 

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
HTMAKE(1)						       GLOBAL cgi Utilities							 HTMAKE(1)

NAME
htmake - create GLOBAL hypertext source searchable by gsearch.cgi SYNOPSIS
htmake [htags options] [--url=base-url] [destdir] DESCRIPTION
htmake is a wrapper script that creates searchable hypertext from program source code and records information into a path database needed for a centralised search mechanism. Prior to using this command you must have installed gsearch.cgi using the htconfig -I option and configured the location of the path data- base in htmake.conf Before you can create the hypertext source you need to execute gtags(1) from the root directory of the source tree. htmake is then called from the same place. htmake uses htags(1) to create the hypertext with a unique id and htconfig(1) to make the required entries in the path database. OPTIONS
The following options will be passed to htags(1) if used. -a Make an alphabetical function index. -c Compress html. Use gzip(1) with .ghtml suffix. -C Compress html. Use gzip(1) with .html.gz suffix. -d tagdir, --tags=gtagsdbpath Specifies the directory in which GTAGS and GRTAGS exist. The default is the current directory. -F Use frames for definition index, file index and main view. -l Make a name tag for each line of hypertext created. -n Print out the line numbers. -t title The title of this hypertext. Defaults to the last component of the current path. --action=cgi-url Specify the location search queries are submitted to. Defaults to the value set in htmake.conf or to http://localhost/cgi-bin/gsearch.cgi The remaining options are more general or are passed to htconfig(1). --url=base-url the base url for your new hypertext source. For best results always use absolute url's here. eg. http://host/~user/mysource It defaults to file:/destdir destdir The directory in which hypertext is generated. The default is ./HTML -v, --verbose Activate the inbuilt screen saver. Give your phosphors a workout. EXAMPLES
$ cd /usr/src/myprog $ gtags $ htmake $ cd /usr/src/myprog $ gtags -c $ htmake -c --url=http://host/~user/prog/HTML /home/user/public_html/prog FILES
/etc/gtags/htmake.conf path database BUGS
As a wrapper htmake gets to inherit bugs from other software too. Isn't life fun. This is alpha software - expect anything! SEE ALSO
htconfig(1), htags(1), gtags(1), global(1). AUTHOR
Ron Lee <ron@debian.org> CREDITS
Thanks to Shigio Yamaguchi <shigio@gnu.org> for creating GLOBAL and releasing it as free software. A truly cool productivity tool! Debian GNU/Linux 27 March 1999 HTMAKE(1)
All times are GMT -4. The time now is 02:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy