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