[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Introduction
From: |
Deri James |
Subject: |
Re: [Groff] Introduction |
Date: |
Mon, 24 Oct 2005 23:13:32 +0100 |
User-agent: |
KMail/1.8.2 |
On Monday 24 Oct 2005 21:40, you wrote:
> Deri,
>
> Are the barcodes generated by troff? (A special font?)
>
> Or are they images that are generated, and then something like .PSPIC
> glues them into the documents?
I generate the bar code directly, using interleaved 2of5. (GPLed font here:-
<http://user.it.uu.se/~jan/barfonts/>). This is a "numbers only" barcode
which holds 2 numbers per character. The author of the font includes a perl
script to calculate these character pairs which I converted to a troff macro.
Each print bureau has different requirements for "driving" their finishing
equipment, so this barcode is specific to the bureau used. In this case the
bureau required the barcode to be in a specific position along the long edge
of an A4 sheet, whilst the rest of the report is portrait, so I used some
rotation macros (provided on this list some time ago).
I attach a small example, you would need to install the font above to run it.
(The example is a bit "quirky" since it is generated by the system described
in my previous post with superfluous sections removed). Run it with:-
groff BCex.trf > BCex.ps
then use a PS viewer to view result. If you don't see a barcode check that you
have added "Codei25JK Codei25JK.pfa" to your 'devps/download' file.
Hope this helps.
Deri
BCex.trf
Description: Troff document
- Re: [Groff] Introduction, (continued)
- Re: [Groff] Introduction, Keith MARSHALL, 2005/10/19
- Re: [Groff] Introduction, Werner LEMBERG, 2005/10/19
- Re: [Groff] Introduction, Jon Snader, 2005/10/19
- Re: [Groff] Introduction, Zahar Malinovsky, 2005/10/20
- Re: [Groff] Introduction, Gabriel Diaz, 2005/10/20
- Re: [Groff] Introduction, Larry Kollar, 2005/10/20
- Re: [Groff] Introduction, Deri James, 2005/10/24
- Re: <OK> Re: [Groff] Introduction, M Bianchi, 2005/10/24
- Re: [Groff] Introduction,
Deri James <=
Re: [Groff] Introduction, D. E. Evans, 2005/10/20
Re: [Groff] Introduction, D. E. Evans, 2005/10/20
Re: [Groff] Introduction, M Bianchi, 2005/10/20
Re: [Groff] Introduction, Bernd Warken, 2005/10/22
Re: [Groff] Introduction, Keith MARSHALL, 2005/10/24