List Info

Thread: Digest Number 1242




Digest Number 1242
country flaguser name
United States
2007-07-25 07:25:01

Messages In This Digest (1 Message)

1.
Amended DLT tape label template From: Terry Burton

Message

1.

Amended DLT tape label template

Posted by: "Terry Burton" tezterryburton.co.uk?Subject= Re%3AAmended%20DLT%20tape%20label%20template"> tezterryburton.co.uk

Wed Jul 25, 2007 3:04 am (PST)

Hi.

I have amended the template for DLT tapes that I have been using since
we have too many DLEs to fit the two column format and without my
amendments switching to a three column format caused the text to
overlap.

Specifically I have created two PostScript functions, StripDomain and TrimFs:

StripDomain removes the entire network part of the DLE hostname, so
xenarthra.terryburton.co.uk -> xenarthra

TrimFs trims the Fs part of the DLE to the rightmost part that fits in
the available space (prefixing with a * to indicate a trimmed entry),
so /dev/mapper/vg01-uml--SNAProot -> *apper/vg01-uml--SNAProot

Now I can fit about 250 DLEs on the A4 sheet without it appearing as
an unsightly mess. Sample pdf attached.

Hopefully this will help a number of other people so please feel free
to integrate these functions into the main amanda code.

Have fun,

Tez
Recent Activity
Visit Your Group
SPONSORED LINKS
Yahoo! TV

"The 9"

Daily count down

of top Web finds.

Yahoo! Groups

Real Food Group

Share recipes

and favorite meals.

Yoga Groups

Exchange insights

with members of

the yoga community.

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )