Groups > dBase > dBase bug reports > Re: Vista / "Tracking" property of texts is ignored




Vista / "Tracking" property of texts is ignored

Vista / "Tracking" property of texts is ignored
Thu, 10 Apr 2008 15:46:02 -050
I've tested this under 2.61.2 and 2.61.4

A given report has very specific "tracking" values to ensure that the
data 
fills into a form in just the right places. The report's metric is 5 
(Millimeters). This report just prints a single text element that fills each 
line:

   this.STREAMSOURCE1.detailBand.TEXTPRTLINE1 = new 
TEXT(this.STREAMSOURCE1.detailBand)
   with (this.STREAMSOURCE1.detailBand.TEXTPRTLINE1)
      height = 4.2333
      left = 0.0
      top = 0.0
      width = 206.375
      wrap = false
      prefixEnable = false
      tracking = 0.2464
      transparent = true
      fontName = "Courier New"
      fontSize = 11.0
      text = {||this.form.printq1.rowset.fields["prtline"].value}
   endwith

Unter Vista Home Premium, any preview of the report on the screen shows the 
change in tracking value, but the printout does not honor it. The characters 
print much closer together (and thus the printed form is not filled 
correctly).

I've tried this with several printer drivers for the respective printer 
(Kyocera-Mita 2550) as well as with Fineprint and the behaviour is 
consistent, regardless of the printer driver. I've gone up to very extreme 
values (i.e., 9.999 ) without any difference in the printout.

Since the purpose of my application is to print these forms, I am absolutely 
dead in the water with this customer. Please help.

Jan

Post Reply
Re: Vista / "Tracking" property of texts is ignored
Thu, 10 Apr 2008 16:55:20 -050
"Geoff Wass [dBVIPS]" <gswassREMOVE_ME@attglobal.net> wrote in
message
> Jan,
>
> Does the behaviour change if you use a different font? Lucida Sans is
> another fixed-width font like Courier. Or, how about changing the font
> size?

Hi Geoff,

since these forms are scanned at another point, I am required to use 
Courier. So, I can follow your (excellent) suggestion to determine if the 
problem is with the font, but ultimately I will need to print in Courier.

Regards,

Jan

Post Reply
Re: Vista / "Tracking" property of texts is ignored
Thu, 10 Apr 2008 17:25:52 -040
In article <T4hHK70mIHA.940@news-server>, jan@hoelterling.com says...
> I've tested this under 2.61.2 and 2.61.4
> 
> A given report has very specific "tracking" values to ensure that
the data 
> fills into a form in just the right places. The report's metric is 5 
> (Millimeters). This report just prints a single text element that fills
each 
> line:
> 
>    this.STREAMSOURCE1.detailBand.TEXTPRTLINE1 = new 
> TEXT(this.STREAMSOURCE1.detailBand)
>    with (this.STREAMSOURCE1.detailBand.TEXTPRTLINE1)
>       height = 4.2333
>       left = 0.0
>       top = 0.0
>       width = 206.375
>       wrap = false
>       prefixEnable = false
>       tracking = 0.2464
>       transparent = true
>       fontName = "Courier New"
>       fontSize = 11.0
>       text =
{||this.form.printq1.rowset.fields["prtline"].value}
>    endwith
> 
> Unter Vista Home Premium, any preview of the report on the screen shows the

> change in tracking value, but the printout does not honor it. The
characters 
> print much closer together (and thus the printed form is not filled 
> correctly).
> 
> I've tried this with several printer drivers for the respective printer 
> (Kyocera-Mita 2550) as well as with Fineprint and the behaviour is 
> consistent, regardless of the printer driver. I've gone up to very extreme

> values (i.e., 9.999 ) without any difference in the printout.
> 
> Since the purpose of my application is to print these forms, I am
absolutely 
> dead in the water with this customer. Please help.
> 
> Jan


Jan,

Does the behaviour change if you use a different font? Lucida Sans is 
another fixed-width font like Courier. Or, how about changing the font 
size?

-- 
Geoff Wass [dBVIPS]
Montréal, Québec, Canada

.|.|.|        dBASE info at http://geocities.com/geoff_wass       |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
Post Reply
Re: Vista / "Tracking" property of texts is ignored
Thu, 10 Apr 2008 22:32:59 -040
In article <m0Q14h1mIHA.1388@news-server>, jan@hoelterling.com says...
> "Geoff Wass [dBVIPS]" <gswassREMOVE_ME@attglobal.net> wrote
in message
> > Jan,
> >
> > Does the behaviour change if you use a different font? Lucida Sans is
> > another fixed-width font like Courier. Or, how about changing the
font
> > size?
> 
> Hi Geoff,
> 
> since these forms are scanned at another point, I am required to use 
> Courier. So, I can follow your (excellent) suggestion to determine if the 
> problem is with the font, but ultimately I will need to print in Courier.
> 
> Regards,
> 
> Jan
 

Jan,

I see. Well, it might give you something useful to do while dBI looks 
into this.

-- 
Geoff Wass [dBVIPS]
Montréal, Québec, Canada

.|.|.|        dBASE info at http://geocities.com/geoff_wass       |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
Post Reply
about | contact