05-16-2008
Page feed in Troff
Hi, does anyone knows how to give the page feed command to Printer in troff.
Actually I want to implement the functionality where I'll print say 10 pages and I want user to stop printer at 5th page to do manual feed by user ....
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm going write a small handbook. The typesetting software I'm going to use is troff. There are -ms -me -mm macros for troff. Which one is the most suitable? Thanks!
-Tony (2 Replies)
Discussion started by: tonyt
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I've a text file that has a formfeed character at the beginning.
I want to get rid of this formfeed character using sed.
But I don't know how to specify the formfeed character.
I've tried \014 (octal for formfeed), \f but still not works.
Regards,
Johnny (5 Replies)
Discussion started by: johnny_woo
5 Replies
3. 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
4. Solaris
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
5. Shell Programming and Scripting
Hi
I have a file with lots of line feeds and form feeds (page break). Need to replace last occurrence of form feed (created by - echo "\f" ) in the file with line feed.
Please advise how can i achieve this.
TIA
Prvn (5 Replies)
Discussion started by: prvnrk
5 Replies
6. UNIX for Dummies Questions & Answers
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
7. Web Development
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
8. 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
9. Shell Programming and Scripting
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
10. Shell Programming and Scripting
Hello.
First happy new year to everybody.
I have a script that generate a text file ( /tmp/part_list.txt for example ).
This file can be edited using a kde graphical text editor like kate or kwrite
The file can be printed out from command line or within the text editor using the print... (5 Replies)
Discussion started by: jcdole
5 Replies
LEARN ABOUT OPENDARWIN
printers.conf
printers.conf(5) Apple Inc. printers.conf(5)
NAME
printers.conf - printer configuration file for cups
DESCRIPTION
The printers.conf file defines the local printers that are available. It is normally located in the /etc/cups directory and is generated
automatically by the cupsd(8) program when printers are added or deleted.
Each line in the file can be a configuration directive, a blank line, or a comment. Comment lines start with the # character.
DIRECTIVES
<Printer name> ... </Printer>
Defines a specific printer.
<DefaultPrinter name> ... </Printer>
Defines a default printer.
Accepting Yes
Accepting No
Specifies whether the printer is accepting new jobs.
AllowUser [ user @group ... ]
Allows specific users and groups to print to the printer.
DenyUser [ user @group ... ]
Prevents specific users and groups from printing to the printer.
DeviceURI uri
Specifies the device URI for a printer.
ErrorPolicy abort-job
ErrorPolicy retry-current-job
ErrorPolicy retry-job
ErrorPolicy stop-printer
Specifies the error policy for the printer.
Info text
Specifies human-readable text describing the printer.
JobSheets banner banner
Specifies the banner pages to use for the printer.
KLimit number
Specifies the job-k-limit value for the printer.
Location text
Specifies human-readable text describing the location of the printer.
OpPolicy name
Specifies the operation policy for the printer.
PageLimit number
Specifies the job-page-limit value for the printer.
PortMonitor monitor
Specifies the port monitor for a printer.
QuotaPeriod seconds
Specifies the job-quota-period value for the printer.
Shared Yes
Shared No
Specifies whether the printer is shared.
State idle
State stopped
Specifies the initial state of the printer (Idle or Stopped)
StateMessage text
Specifies the message associated with the state.
StateTime seconds
Specifies the date/time associated with the state.
SEE ALSO
classes.conf(5), cupsd(8), cupsd.conf(5), mime.convs(5), mime.types(5),
http://localhost:631/help
COPYRIGHT
Copyright 2007-2011 by Apple Inc.
29 April 2009 CUPS printers.conf(5)