dbTalk Databases Forums  

VFP 9: Non-RW Printing: Line Spacing

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss VFP 9: Non-RW Printing: Line Spacing in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gene Wirchenko
 
Posts: n/a

Default VFP 9: Non-RW Printing: Line Spacing - 11-01-2006 , 10:10 PM






Is there any way to adjust the line spacing in non-RW printing?
My printer crunches lines together somewhat more closely than the
printer at the office. There is nothing under set printer.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.

Reply With Quote
  #2  
Old   
Man-wai Chang
 
Posts: n/a

Default Re: VFP 9: Non-RW Printing: Line Spacing - 11-02-2006 , 02:29 AM






Gene Wirchenko wrote:
Quote:
Is there any way to adjust the line spacing in non-RW printing?
My printer crunches lines together somewhat more closely than the
printer at the office. There is nothing under set printer.
Did you clear the printer settings in your report.frx?

--
iTech Consulting Co., Ltd.
Website: http://www.itech.com.hk (IE only)
Tel: (852) 2325 3883 Fax: (852)2325 8288


Reply With Quote
  #3  
Old   
Bernhard Sander
 
Posts: n/a

Default Re: VFP 9: Non-RW Printing: Line Spacing - 11-02-2006 , 04:37 AM



Hi Gene,

Quote:
Is there any way to adjust the line spacing in non-RW printing?
It is not easy to control the vertical position, there is no special setting for
the line height. AFAIKS, the line spacing is calculated from the font size of
the text in the line.
Try to print a single space with a larger font size at the beginning of the
line. Maybe it is enough to output the larger space somewhere in the line.
I think the additional space is added below the line, i.e. the next line is
advanced, so that the larger text of the current line is not overlapped.

Regards
Bernhard Sander



Reply With Quote
  #4  
Old   
Dan Freeman
 
Posts: n/a

Default Re: VFP 9: Non-RW Printing: Line Spacing - 11-02-2006 , 11:07 AM



In Windows printing, there's no such thing as a "line". The printed page is
a picture composed of pixels.

AFA printers go, how they implement/interpret a "line" is up to the printer.
Check your printer's manual for the escape codes to set lineheight.

Dan

Gene Wirchenko wrote:
Quote:
Is there any way to adjust the line spacing in non-RW printing?
My printer crunches lines together somewhat more closely than the
printer at the office. There is nothing under set printer.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.



Reply With Quote
  #5  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: VFP 9: Non-RW Printing: Line Spacing - 11-02-2006 , 11:20 AM



Man-wai Chang <toylet.toylet (AT) gmail (DOT) com> wrote:

Quote:
Gene Wirchenko wrote:
Is there any way to adjust the line spacing in non-RW printing?
^^^^^^
My printer crunches lines together somewhat more closely than the
printer at the office. There is nothing under set printer.

Did you clear the printer settings in your report.frx?
I am not using the Report Writer, so there is no .frx to clear
settings in.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
  #6  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: VFP 9: Non-RW Printing: Line Spacing - 11-02-2006 , 12:59 PM



"Dan Freeman" <spam (AT) microsoft (DOT) com> wrote:

Quote:
In Windows printing, there's no such thing as a "line". The printed page is
a picture composed of pixels.
I have a dot-matrix printer running under Windows. It prints
lines, not graphics.

Quote:
AFA printers go, how they implement/interpret a "line" is up to the printer.
Check your printer's manual for the escape codes to set lineheight.
I thought this would be something that Windows would control. If
as you say, the printed page is a picture, then why is Windows not
controlling the picture output?

[snip]

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
  #7  
Old   
Dan Freeman
 
Posts: n/a

Default Re: VFP 9: Non-RW Printing: Line Spacing - 11-02-2006 , 01:56 PM



Gene Wirchenko wrote:
Quote:
"Dan Freeman" <spam (AT) microsoft (DOT) com> wrote:

In Windows printing, there's no such thing as a "line". The printed
page is a picture composed of pixels.

I have a dot-matrix printer running under Windows. It prints
lines, not graphics.
Wrong answer. It prints dots. Some piece of software upstream tells it which
dots to print. That software doesn't give a darn HOW the printer gets those
dots printed, that's the printer's job.

Quote:
AFA printers go, how they implement/interpret a "line" is up to the
printer. Check your printer's manual for the escape codes to set
lineheight.

I thought this would be something that Windows would control. If
as you say, the printed page is a picture, then why is Windows not
controlling the picture output?
That would be the printer driver. The conversation goes like this:

VFP -> Print Manager -> Printer Driver -> Spooler -> Printer

Those middle three steps are unintelligble gibberish to you and me. The
printer driver is basically a translation engine that translates a Windows
graphic to a language (PCL) the printer can understand.

You can bypass some of this by using the GENERIC TEXT printer. But I thought
your goal was PDF?

Dan

PS: Just for the record, I **HATE** printers, printing, and anythying
related to it. <g>




Reply With Quote
  #8  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: VFP 9: Non-RW Printing: Line Spacing - 11-02-2006 , 04:14 PM



"Dan Freeman" <spam (AT) microsoft (DOT) com> wrote:

Quote:
Gene Wirchenko wrote:
"Dan Freeman" <spam (AT) microsoft (DOT) com> wrote:

In Windows printing, there's no such thing as a "line". The printed
page is a picture composed of pixels.

I have a dot-matrix printer running under Windows. It prints
lines, not graphics.

Wrong answer. It prints dots. Some piece of software upstream tells it which
dots to print. That software doesn't give a darn HOW the printer gets those
dots printed, that's the printer's job.
Some jobs get printed in graphics on that printer, but not all.
Some things that I have printed are graphical. Listings are text.

Quote:
AFA printers go, how they implement/interpret a "line" is up to the
printer. Check your printer's manual for the escape codes to set
lineheight.

I thought this would be something that Windows would control. If
as you say, the printed page is a picture, then why is Windows not
controlling the picture output?

That would be the printer driver. The conversation goes like this:

VFP -> Print Manager -> Printer Driver -> Spooler -> Printer

Those middle three steps are unintelligble gibberish to you and me. The
printer driver is basically a translation engine that translates a Windows
graphic to a language (PCL) the printer can understand.

You can bypass some of this by using the GENERIC TEXT printer. But I thought
your goal was PDF?
No, it is not a generic text printer. Perhaps, it is in some
sort of draft mode though.

Quote:
PS: Just for the record, I **HATE** printers, printing, and anythying
related to it. <g
Yeah, my handwriting sucks, too. <BEG> i blame the diploma
program I took. I sacrificed my handwriting for a cert. Not that my
handwriting was that good, but...

Hmm, maybe, I should take up hating printing, too. If I do, I
will hate generating PDFs, too.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
  #9  
Old   
swdev2
 
Posts: n/a

Default Re: VFP 9: Non-RW Printing: Line Spacing - 11-02-2006 , 11:19 PM



Are you using any ascii escape sequences to do other stuff with your output?
IF you are, you have a small chance to add in some more ascii escape
sequences,
look in your printer manual for line spacing.

But, this is a hack. And not necessarily a righteous hack.
IF this is not your PDF output stuff, then take a look at DOSPRINT over at
http://fox.wikis.com/wc.dll?Wiki~DosPrint~VFP

Regards [Bill]
--
===================
William Sanders / EFG VFP / mySql / MS-SQL
www.efgroup.net/vfpwebhosting
www.terrafox.net www.viasqlserver.net

"Gene Wirchenko" <genew (AT) ocis (DOT) net> wrote

Quote:
Is there any way to adjust the line spacing in non-RW printing?
My printer crunches lines together somewhat more closely than the
printer at the office. There is nothing under set printer.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.



Reply With Quote
  #10  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: VFP 9: Non-RW Printing: Line Spacing - 11-03-2006 , 12:07 AM



"swdev2" <wsanders (AT) dotnetconversions (DOT) bob.com> wrote:

Quote:
Are you using any ascii escape sequences to do other stuff with your output?
No, but I could insert them. Counterbut: see below.

Quote:
IF you are, you have a small chance to add in some more ascii escape
sequences,
look in your printer manual for line spacing.

But, this is a hack. And not necessarily a righteous hack.
Truly and truly. I want to use the same output routine for hard
copy and PDF, so escape sequences would have to be respected by the
Adobe PDF driver. The chance would appear to be rather slim.

Quote:
IF this is not your PDF output stuff, then take a look at DOSPRINT over at
http://fox.wikis.com/wc.dll?Wiki~DosPrint~VFP
Not much there, but it appears that it will not fit my needs. I
already have the reports. It is the output of them that is the issue.

Thanks for posting though.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.