Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dbase III Printer Code 1

Status
Not open for further replies.

jamurphy

Programmer
Apr 4, 2002
1
US
We have an old Dbase III application that we need to adjust the printer codes so a report will print in landscape mode on a HP Laser. Where can I find reference material on the Dbase III printer codes that would allow us to do this?

Thank you!
 
I believe you should be able to find the PCL codexes on the HP website.

As for connectivity, DB3 (unless you have network ver) will look for the local printer port. If this is the case you should be able to pass the PCL codes by using the SET PRINT.

I'll attempt a screen shot of DB3+ help below, hopefully you'll be able to see it:
[tt]

SET PRINT


SET PRINT
---------


Syntax : SET PRINTER TO [LPT1/LPT2/LPT3] / [COM1/COM2] /
[\\<computer name>\<device>=LPTx]
SET PRINT on/OFF

Description : Does/does not direct all output not formatted with the
@...SAY command to the printer. SET PRINTER TO directs the
output to a specific printer or DOS device. The first two
forms of SET PRINTER TO are for local print devices. The third
is for a network device. SET PRINTER TO by itself resets to
the default device (both) and ends the spool process (network).

See also : SET DEVICE


HELP ¦<C:>¦ ¦ ¦ ¦Num
Previous screen - PgUp. Previous menu - F10. Exit with Esc or enter a command.
ENTER >
[/tt]

Try using the HELP command and type in SET TO as the search key.
--MiggyD

Never be afraid to try something new. Remember that amateurs built the Ark. Professionals built the Titanic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top