David:
I have run into a similar problem.
I wrote an accounting application a few years ago that switches between
the screen and the printer during the transaction posting operation. Under
both R:Base for DOS 6.1a and 6.5+ on Windows 95 systems with local
printers it works as it should by NOT sending out form feeds after every
switch to the screen from the printer.
However, when running the exact same application under both versions of
R:Base for DOS on a Windows NT computer with either a local or networked
printer, it appears that the NT printer driver recognizes the switch
between the printer and the screen as a form feed.
The temporary solution I am using now is to keep the Windows 95 users on
that OS and use only local printers.
I plan on re-writing my code to eliminate the output device switches, so
that I don't run into the form feed problem.
I also plan on rewriting the application so that it will run under R:Base
for Windows 6.5++.
I don't think the problem is with R:Base. I think it is really an NT/2000
issue. The tech support folks at Lexmark felt that it also was an NT/2000
issue.
If you come up with a better solution, please let me know. I'd love to
continue to use my original code!
Tony
Anthony Schmidt
President
The Computery Ltd.
One East Main Street
Bay Shore, NY 11706
Voice 631-665-8100
Fax 631-969-5988
"david blocker" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
06/25/01 09:23 AM
Please respond to rbase-l
To: <[EMAIL PROTECTED]>
cc: "gisela williams" <[EMAIL PROTECTED]>, "Willink, John"
<[EMAIL PROTECTED]>
Subject: Printing in RBase for WIndows
Dear All
I recently completed conversion of a very old R:Base System V application
to the redoubtable glorious R:Base 6.5++. The client is thrilled with the
application. There is just ONE issue to be solved.
In the application, which is a summer day camp program in Maine, printing
is done to an Okidata 370 Turbo dot matrix printer because they need to
print receipts on carbon paper. One of the "reports" generated by the
system is actually created by a series of WRITE commands sandwiched
between OUTPUT PRINTER and OUTPUT SCREEN.
When I run this report on my system (Windows 95 and an HP LaserJet Series
II printer, hooked up as local printer) it prints the page and does a form
feed. When he runs it on WIndows 98 or Millenium, under a Windows peer to
peer network, with the printer set up as a network printer, it prints the
page, and does TWO form feeds, wasting a full set of carbon paper. Doesn't
matter which work station he prints from.
When he runs this under the old System V application, in a DOS window
under the same Windows 98 or Millenium to the same printer, it doesn't
even do ONE form feed, which is really what he wants.
Any ideas? Is there a setting somewhere in R:Base, Windows, or Peer to
Peer, or the printer that we can change to give him what he wants?
David Blocker