Karen:
One of the things to check is whether the printer commands are actually
getting to the file.  I have not used PAGEMODE for a while but a have a very
large and complex DOS report that I need to activate in Windows. I have an
old HP Laserjet compatible printer, which is on loan and I will retrieve
this weekend; when I do, I will run a few tests and let you know what I find
out.
Javier,

Javier Valencia, PE
President
Valencia Technology Group, L.L.C.
14315 S. Twilight Ln., Suite #14
Olathe, KS  66062-4571
(913)829-0888
(913)649-2904 FAX

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of tellef
Sent: Wednesday, February 12, 2003 7:28 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Pagemode in Windows


Javier:

I'm printing to an HP laserjet.  Using the same printer control
codes copied from a PAGEMODE report that I did to a lserjet in
DOS to do boldfacing and underlining.  But my Windows program seems
to ignore it.  (I am PAGEMODEing to a file, then using zip command.com
to copy to printer.)  You mention doing it in DOS, have you done it
in Windows?

I have a copy of an old email from back in RBWin 6.5 days that says
he (don't know who) had to print to a Generic/Text Only printer
driver in order to keep the control codes.  But in both my computers
here, I couldn't install this printer because it couldn't find the
necessary files (at least TTY.DRV).  My client doesn't have this
printer installed and I don't know whether to expect the same thing
there (and they'll have about 20 users to install a driver on).

Karen





>How are you defining your printer control characters? As you know, they
are
specific to each printer, although you can use the compatibility mode
(Epson, HP or IBM) with most older printers. I have used PAGEMODE
extensively under DOS and I generated reports that if memory served,
printed
correctly when the report was copied to LPT1 under Windows.
You can look at the file using a plain text editor (Notepad) and verify
that
the control characters are indeed making it to the file.
When I worked with PAGEMODE and DOS, I created a table (printer_codes) that
stored the settings (bold, compressed, portrait, etc) for all the printers
that I used,. Before running PAGEMODE, I run a file that checked to see
which printer was being used and then read the setting for that printer
from
the printer_codes table and defined variables with these settings; I would
then place the variables (vcomp, vbold, vportrait, etc.) in the proper
place
in the report within PAGEMODE and it worked great.
I hope this information is of help
<

Reply via email to