Groups > dBase > dBase support > Re: Fractional Line Feed




Fractional Line Feed

Fractional Line Feed
Sun, 30 Dec 2007 13:16:56 -050
Hi, everyone:

I'm using Visual dBASE 5.7 and need to send a fractional line feed to the
printer from within a prg. By fractional, I mean less than the value of 1 that
is the default of _pspacing. I'm using a tiny font (6 point), but dBASE still
spaces the lines (it seems) based on something other than the font height. So
the output looks almost double-spaced, not single-spaced as required by the
user. This program cannot be converted to a .rpt. Any ideas would be greatly
appreciated. TIA

Post Reply
Re: Fractional Line Feed
Mon, 31 Dec 2007 00:12:39 -050
In article <3fvGpAxSIHA.1892@news-server>, ritaliotta@roadrunner.com 
says...
> Hi, everyone:
> 
> I'm using Visual dBASE 5.7 and need to send a fractional line feed to the
printer from within a prg. By fractional, I mean less than the value of 1 that
is the default of _pspacing. I'm using a tiny font (6 point), but dBASE 
still spaces the lines (it seems) based on something other than the font height.
So the output looks almost double-spaced, not single-spaced as required by the
user. This program cannot be converted to a .rpt. Any ideas would be 
greatly appreciated. TIA
> 
> Rita
> 

Rita,

What kind of printer are you using? Can you show us a few lines which 
are working and not working?

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

.|.|.|        dBASE info at http://geocities.com/geoff_wass       |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
Post Reply
Re: Fractional Line Feed
Mon, 31 Dec 2007 08:13:38 -080
I'm not sure about the new laser printers and all any more, but in the "old

days" when we had tractor-fed printers, we used escape codes to do such 
things.  You might want to check the manual for your printer and/or call the 
printer manufacturer to see what those codes are.  Basically, they are 
fairly easy to use.

bigMike

"Rita Liotta" <ritaliotta@roadrunner.com> wrote in message 
news:3fvGpAxSIHA.1892@news-server...
> Hi, everyone:
>
> I'm using Visual dBASE 5.7 and need to send a fractional line feed to the 
> printer from within a prg. By fractional, I mean less than the value of 1 
> that is the default of _pspacing. I'm using a tiny font (6 point), but 
> dBASE still spaces the lines (it seems) based on something other than the 
> font height. So the output looks almost double-spaced, not single-spaced 
> as required by the user. This program cannot be converted to a .rpt. Any 
> ideas would be greatly appreciated. TIA
>
> Rita 

Post Reply
Re: Fractional Line Feed
Mon, 31 Dec 2007 11:48:31 -050
if you are using the ? with the style command, you should not have a problem 
with a short line feed.

? space(1) style 'courier new,5'   - something like this should work.


"Rita Liotta" <ritaliotta@roadrunner.com> wrote in message 
news:3fvGpAxSIHA.1892@news-server...
> Hi, everyone:
>
> I'm using Visual dBASE 5.7 and need to send a fractional line feed to the 
> printer from within a prg. By fractional, I mean less than the value of 1 
> that is the default of _pspacing. I'm using a tiny font (6 point), but 
> dBASE still spaces the lines (it seems) based on something other than the 
> font height. So the output looks almost double-spaced, not single-spaced 
> as required by the user. This program cannot be converted to a .rpt. Any 
> ideas would be greatly appreciated. TIA
>
> Rita 

Post Reply
about | contact