Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
Your /etc/apsfilterrc
file includes the parameter FEATURE=2
and you're having problems printing. An ASCII file, for example, printed with the command "lpr /etc/printcap
", produces the two pages of A4 text reduced to A5, printed sideways on the page, and the first three or so letters are printed to the left and/or cut-off.
The file /etc/apsfilterrc
includes the parameter FEATURE=1
and two A4 pages are printed but the last line is cut-off.
a2ps
is too long, or too much, to be printed on one page.
/etc/a2ps.cfg
the page size and margins for each print-medium are specified.
a2ps
uses A4 format but if the margins set are larger than the actual margins of your printer the print information will not fit on one page.
Change the following lines in the file /etc/a2ps.cfg
:
################################################################# # 1) Definition of some media # # (Must be defined before --medium) # ################################################################# # Medium: name, width height [llx lly urx ury] Medium: A3 842 1190 Medium: A4 595 842 Medium: A5 420 595 Medium: B4 729 1032 Medium: B5 516 729 Medium: Letter 612 792 Medium: Legal 612 1008 Medium: Tabloid 792 1224 Medium: Ledger 1224 792 Medium: Statement 396 612 Medium: Executive 540 720 Medium: Folio 612 936 Medium: Quarto 610 780 Medium: 10x14 720 1008 # Desk Jet users: bigger margins Medium: A4dj 595 842 24 50 571 818 Medium: Letterdj 612 792 24 40 588 768
################################################################# # 1) Definition of some media # # (Must be defined before --medium) # ################################################################# # Medium: name, width height [llx lly urx ury] Medium: A3 842 1190 Medium: A4 595 842 24 50 571 818 Medium: A5 420 595 Medium: B4 729 1032 Medium: B5 516 729 Medium: Letter 612 792 Medium: Legal 612 1008 Medium: Tabloid 792 1224 Medium: Ledger 1224 792 Medium: Statement 396 612 Medium: Executive 540 720 Medium: Folio 612 936 Medium: Quarto 610 780 Medium: 10x14 720 1008 # Desk Jet users: bigger margins Medium: A4dj 595 842 24 50 571 818 Medium: Letterdj 612 792 24 40 588 768
In this case the settings for A4dj are entered.
Reference from of the Info-Page for a2ps:
Your Media Configuration Setting: Medium: NAME DIMENSIONS Define the medium NAME to have the DIMENSIONS (in PostScript points, i.e., 1/72 of inch). There are two formats supported: long in which you must give both the size of the whole sheet, and the size of the printable area: # A4 for Desk Jets # NAME W H LLX LLY URX URY Medium: A4dj 595 842 24 50 571 818 where WxH are the dimension of the sheet, and the four other stand for lower left x and y, upper right x and y. short in which a surrounding margin of 24 points is used # A4 # NAME W H Medium: A4 595 842 is the same as # A4 # NAME W H Medium: A4 595 842 24 24 571 818
The Info-Page for a2ps can be viewed with the command "info a2ps
" or, using X-Windows and KDE with kdehelp "info:(a2ps)"
.
Keywords: PRINTING, PRINTER, PAGE SIZE, LAYOUT, ASCII
Categories:
Frequently asked Questions
, Documentation
, Printer
Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch