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.

Re: VFP 9: Non-RW Printing: Line Spacing by Man-wai

Man-wai
Thu Nov 02 02:29:27 CST 2006

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?

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

Re: VFP 9: Non-RW Printing: Line Spacing by Bernhard

Bernhard
Thu Nov 02 04:37:49 CST 2006

Hi Gene,

> 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


Re: VFP 9: Non-RW Printing: Line Spacing by Dan

Dan
Thu Nov 02 11:07:53 CST 2006

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:
> 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.



Re: VFP 9: Non-RW Printing: Line Spacing by Gene

Gene
Thu Nov 02 11:20:10 CST 2006

Man-wai Chang <toylet.toylet@gmail.com> wrote:

>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.

Re: VFP 9: Non-RW Printing: Line Spacing by Gene

Gene
Thu Nov 02 12:59:48 CST 2006

"Dan Freeman" <spam@microsoft.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.

>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.

Re: VFP 9: Non-RW Printing: Line Spacing by Dan

Dan
Thu Nov 02 13:56:48 CST 2006

Gene Wirchenko wrote:
> "Dan Freeman" <spam@microsoft.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.

>> 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>



Re: VFP 9: Non-RW Printing: Line Spacing by Gene

Gene
Thu Nov 02 16:14:27 CST 2006

"Dan Freeman" <spam@microsoft.com> wrote:

>Gene Wirchenko wrote:
>> "Dan Freeman" <spam@microsoft.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.

>>> 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.

>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.

Re: VFP 9: Non-RW Printing: Line Spacing by swdev2

swdev2
Thu Nov 02 23:19:58 CST 2006

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@ocis.net> wrote in message
news:7prik251jokni2hq2nkm2rrv5t8croevam@4ax.com...
> 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.



Re: VFP 9: Non-RW Printing: Line Spacing by Gene

Gene
Fri Nov 03 00:07:17 CST 2006

"swdev2" <wsanders@dotnetconversions.bob.com> wrote:

>Are you using any ascii escape sequences to do other stuff with your output?

No, but I could insert them. Counterbut: see below.

>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.

>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.

Re: VFP 9: Non-RW Printing: Line Spacing by Bernhard

Bernhard
Fri Nov 03 03:58:27 CST 2006

Hi Gene,

> Some jobs get printed in graphics on that printer, but not all.
> Some things that I have printed are graphical. Listings are text.
Most of the printing in Windows is sent to the printer as graphics, even if you
print text listings.
Rare exceptions of this rule:
- You use the "text only" printer driver. This driver sends ascii character
codes to the printer.
- sometimes if you use only fonts, that are available at the printer, the so
called "printer fonts". Some of the fonts you see in font lists (i.e. in Word)
have a small printer symbol. If they are not type 1 fonts, the chance is great
that they are printer fonts. But also in this case it is not sure that the
printer driver sends ascii codes to the printer and does not render the
characters on its one.

Regards
Bernhard Sander

Re: VFP 9: Non-RW Printing: Line Spacing by swdev2

swdev2
Sat Nov 04 21:04:39 CST 2006

Ok ...
So all is swell with the PDF output, right ? No Problems there ?
I would then suspect the printer driver for *THAT* printer attached to
Hamster[1].
If it's an HP with the latest and greatest 'driver sets' - I find that if I
downgrade the drivers to
the HP III (PCL 5e) then things seem to be 'handled' better.
But if yer not using an HP LaserPrinter, it will be a waste of time.

What's the printer yer using?
Regards [Bill]

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

"Gene Wirchenko" <genew@ocis.net> wrote in message
news:3rmlk2pdht6ep5lo37ul54nsmd1jrlmqj9@4ax.com...
> "swdev2" <wsanders@dotnetconversions.bob.com> wrote:
>
> >Are you using any ascii escape sequences to do other stuff with your
output?
>
> No, but I could insert them. Counterbut: see below.
>
> >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.
>
> >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.



Re: VFP 9: Non-RW Printing: Line Spacing by Gene

Gene
Sat Nov 04 23:31:48 CST 2006

"swdev2" <wsanders@dotnetconversions.bob.com> wrote:

>Ok ...
>So all is swell with the PDF output, right ? No Problems there ?

I have not tried that yet.

>I would then suspect the printer driver for *THAT* printer attached to
>Hamster[1].

Maybe.

What solved the problem was recoding my report class to print the
pages one line at a time. Accumulating each page into one string and
printing that with a single ?? is what blew up.

>If it's an HP with the latest and greatest 'driver sets' - I find that if I
>downgrade the drivers to
>the HP III (PCL 5e) then things seem to be 'handled' better.
>But if yer not using an HP LaserPrinter, it will be a waste of time.

No, I learned my lesson already about Horrible Printers.

>What's the printer yer using?

A Dell 1710n. Do I have another lesson coming? <g>

Sincerely,

Gene Wirchenko

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

Re: VFP 9: Non-RW Printing: Line Spacing by swdev2

swdev2
Mon Nov 06 10:07:59 CST 2006

ahhhhhhhhhhhhhh
? vs ??
so at the printer bitmap rendering stage, it becomes an issue when sending
carriage return vs carriage return + linefeed vs linefeed .

I'm sure you can figure it out.
Regards [Bill]
--
===================
William Sanders / EFG VFP / mySql / MS-SQL
www.efgroup.net/vfpwebhosting
www.terrafox.net www.viasqlserver.net

"Gene Wirchenko" <genew@ocis.net> wrote in message
news:dltqk2dpql25tfrlu4h10i6ketcifd2vvr@4ax.com...
> "swdev2" <wsanders@dotnetconversions.bob.com> wrote:
[snip]
> What solved the problem was recoding my report class to print the
> pages one line at a time. Accumulating each page into one string and
> printing that with a single ?? is what blew up.
>.[snip]



Re: VFP 9: Non-RW Printing: Line Spacing by Gene

Gene
Tue Nov 07 00:04:24 CST 2006

"swdev2" <wsanders@dotnetconversions.bob.com> wrote:

>ahhhhhhhhhhhhhh
>? vs ??
>so at the printer bitmap rendering stage, it becomes an issue when sending
>carriage return vs carriage return + linefeed vs linefeed .

Only at the start of the printed string.

>I'm sure you can figure it out.

I ran a test with a shorter string. It printed fine. I suspect
there is a bug when the string gets too long. It is no longer an
issue since I found a workaround.

Sincerely,

Gene Wirchenko

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