Fernando Pintabona wrote:
I'm having a problem with the amount of info that amanda sends to the tape
label that prints when a job is done.
I get 4 columns of data printed, when the tape format only allows 2
columns.
Is there a way to fix this, either by telling amanda (or amreport) to
print a second page this the info that doesn't fit on the first page, or
either making the font smaller?
The template file is just a simple postscript file, and it contains
instructions on how to modify it.
Changing the font is simple. As the picture in the beginning
of the file explains, you need to modify the settings for Section E.
For example to change the size from 6 to 5 (and the linespacing too):
% section 'E' font, and line separation
%
%/HostFont { /Courier findfont 6 scalefont setfont } def
%/HostSep { 6 } def
% XXX - changed from 6pt to 5pt
/HostFont { /Courier findfont 5 scalefont setfont } def
/HostSep { 5 } def
Making the label jump to a different page is more difficult. Well,
actually, I haven't found out yet how to accomplish this :-)
--
Paul Bijnens, Xplanation Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************
|