Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 206 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

a2ps



SYNOPSIS

       a2ps [OPTION]... [FILE]...


DESCRIPTION

       Convert FILE(s) or standard input to PostScript.

       Mandatory  arguments  to  long  options  are mandatory for
       short options too.  Long options marked with *  require  a
       yes/no  argument,  corresponding  short  options stand for
       `yes'.

   Tasks:
       --version
              display version

       --help display this help

       --guess
              report guessed types of FILES

       --which
              report the full path of library files named FILES

       --glob report the full  path  of  library  files  matching
              FILES

       --list=defaults
              display default settings and parameters

       --list=TOPIC
              detailed  list  on  TOPIC  (delegations, encodings,
              features, variables,  media,  ppd,  printers,  pro­
              logues, style-sheets, user-options)

       After   having  performed  the  task,  exit  successfully.
       Detailed lists may provide  additional  help  on  specific
       features.

   Global:
       -q, --quiet, --silent
              be really quiet

       -v, --verbose[=LEVEL]
              set verbosity on, or to LEVEL

       -=, --user-option=OPTION
              use the user defined shortcut OPTION

       --debug
              enable debugging features

       -D, --define=KEY[:VALUE]

       --rows=NUM
              number of rows per sheet

       --major=DIRECTION
              first fill (DIRECTION=) rows, or columns

       -1, -2, ..., -9
              predefined  font sizes and layouts for 1.. 9 virtu­
              als

       -A, --file-align=MODE
              align separate files according to MODE  (`virtual',
              `rank' `page', `sheet', or a number)

       -j, --borders*
              print borders around columns

       --margin[=NUM]
              define an interior margin of size NUM

       The options -1.. -9 affect several primitive parameters to
       set up predefined layouts with 80 columns.  Therefore  the
       order  matters:  `-R  -f40  -2' is equivalent to `-2'.  To
       modify the layout,  use  `-2Rf40',  or  compose  primitive
       options (`--columns', `--font-size' etc.).

   Virtual pages:
       --line-numbers=NUM
              precede each NUM lines with its line number

       -C     alias for --line-numbers=5

       -f, --font-size=SIZE
              use font SIZE (float) for the body text

       -L, --lines-per-page=NUM
              scale the font to print NUM lines per virtual

       -l, --chars-per-line=NUM
              scale the font to print NUM columns per virtual

       -m, --catman
              process FILE as a man page (same as -L66)

       -T, --tabsize=NUM
              set tabulator size to NUM

       --non-printable-format=FMT specify how non-printable chars
              are printed

   Headings:

       --right-title[=TEXT]

       --left-footer[=TEXT]
              set sheet footers to TEXT

       --footer[=TEXT]

       --right-footer[=TEXT]

       The TEXTs may use special escapes.

   Input:
       -a, --pages[=RANGE]
              select the pages to print

       -c, --truncate-lines*
              cut long lines

       -i, --interpret*
              interpret tab, bs and ff chars

       --end-of-line=TYPE
              specify the eol char (TYPE: r, n, nr, rn, any)

       -X, --encoding=NAME
              use input encoding NAME

       -t, --title=NAME
              set the name of the job

       --stdin=NAME
              set the name of the input file stdin

       --print-anyway*
              force binary printing

       -Z, --delegate*
              delegate files to another application

       --toc[=TEXT]
              generate a table of content

       When delegations are enabled, a2ps may use other  applica­
       tions to handle the processing of files that should not be
       printed as raw information,  e.g.,  HTML  PostScript,  PDF
       etc.

   Pretty-printing:
       -E, --pretty-print[=LANG]
              enable pretty-printing (set style to LANG)

       --version-control=WORD
              override the usual version control

       --suffix=SUFFIX
              override the usual backup suffix

       -P, --printer=NAME
              send output to printer NAME

       -d     send output to the default printer

   PostScript:
       --prologue=FILE
              include FILE.pro as PostScript prologue

       --ppd[=KEY]
              automatic PPD selection or set to KEY

       -n, --copies=NUM
              print NUM copies of each page

       -s, --sides=MODE
              set  the  duplex  MODE  (`1'  or  `simplex', `2' or
              `duplex', `tumble')

       -S, --setpagedevice=K[:V]
              pass a page device definition to output

       --statusdict=K[:[:]V]
              pass a statusdict definition to the output

       -k, --page-prefeed
              enable page prefeed

       -K, --no-page-prefeed
              disable page prefeed

       By default a2ps is tuned to do what you want to, so  trust
       it.   To  pretty  print the content of the `src' directory
       and a table of content, and send the result to the printer
       `lw',

              $ a2ps -P lw --toc src/*

       To  process  the  files  `sample.ps' and `sample.html' and
       display the result,

              $ a2ps -P display sample.ps sample.html

       To process a mailbox in 4 up,

              $ a2ps -=mail -4 mailbox


COPYRIGHT

       Copyright © 1988-1993 Miguel Santana
       Copyright © 1995-2000 Akim Demaille, Miguel Santana
       This is free software; see the source for  copying  condi­
       tions.  There is NO warranty; not even for MERCHANTABILITY
       or FITNESS FOR A PARTICULAR PURPOSE.


SEE ALSO

       a2ps(1),   card(1),    fixps(1),    pdiff(1),    psset(1),
       texi2dvi4a2ps(1).

       The full documentation for a2ps is maintained as a Texinfo
       manual.  If  the  info  and  a2ps  programs  are  properly
       installed at your site, the command

              info a2ps

       should give you access to the complete manual.

GNU a2ps 4.13             February 2000                   A2PS(1)
  




Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can get all the latest Site and Linux news by checking out our news page.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.08 Seconds