|
| Report fontname change |
 |
Fri, 07 Mar 2008 04:29:25 -050 |
I am trying to print barcodes within a report streamframe, and a particular
field switches between EAN 13 and Code 128 barcodes. I have been trying to alter
the fontname as each line is processed for the particular field. The database
has a field identifier for the type of barcode font used in conjuction with the
barcode number, I can manage to print eith barcode only if I manually swith the
fontname, this obviously proces the correct barcode to suit the fontname, but
mashes the ones that have another fontame. can any one help with switching
fontnames on the fly.
|
| Post Reply
|
| Re: Report fontname change |
 |
Sat, 8 Mar 2008 02:03:45 -0500 |
In article <aebP8WDgIHA.1880@news-server>, taecomm@hotmail.co.uk says...
> I am trying to print barcodes within a report streamframe, and a particular
field switches between EAN 13 and Code 128 barcodes. I have been trying to alter
the fontname as each line is processed for the particular field. The
database has a field identifier for the type of barcode font used in conjuction
with the barcode number, I can manage to print eith barcode only if I manually
swith the fontname, this obviously proces the correct barcode to suit
the fontname, but mashes the ones that have another fontame. can any one help
with switching fontnames on the fly.
> Regards..... Tom
>
Tom,
Instead of switching fontName, create TWO text objects, one for each
type of font. Then, use the canRender() to control which gets printed or
not at any particular time.
--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada
.|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
|
| Post Reply
|
| Re: Report fontname change |
 |
Sat, 08 Mar 2008 05:45:28 -050 |
Thank Geoff, didn't think of the, tried all sorts of things, will let you know
how I get on.
Regards........... Tom
Geoff Wass [dBVIPS] Wrote:
> In article <aebP8WDgIHA.1880@news-server>, taecomm@hotmail.co.uk
says...
> > I am trying to print barcodes within a report streamframe, and a
particular field switches between EAN 13 and Code 128 barcodes. I have been
trying to alter the fontname as each line is processed for the particular field.
The
> database has a field identifier for the type of barcode font used in
conjuction with the barcode number, I can manage to print eith barcode only if I
manually swith the fontname, this obviously proces the correct barcode to suit
> the fontname, but mashes the ones that have another fontame. can any one
help with switching fontnames on the fly.
> > Regards..... Tom
> >
>
> Tom,
>
> Instead of switching fontName, create TWO text objects, one for each
> type of font. Then, use the canRender() to control which gets printed or
> not at any particular time.
>
> --
> Geoff Wass [dBVIPS]
> Montréal, Québec, Canada
>
> .|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
> .|.|.| ---------------------------------------------------------- |.|.|.
> .|.|.| IT Consultant http://Geoff_Wass.com |.|.|.
|
| Post Reply
|
| Re: Report fontname change |
 |
Sun, 9 Mar 2008 01:31:50 -0500 |
In article <u5g4FmQgIHA.1952@news-server>, taecomm@hotmail.co.uk says...
> Thank Geoff, didn't think of the, tried all sorts of things, will let you
know how I get on.
> Regards........... Tom
>
> Geoff Wass [dBVIPS] Wrote:
Tom,
Good luck with it.
--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada
.|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
|
| Post Reply
|
|
|
|
|
|
|
|
|
|