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!

dbaseIII Plus network printing

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Does anyone know how I can print to a network printer using Dbase II plus on the server with Netware 5.1? What is the command I would use and where would I place it? Would it be in the program file or the config.db file? The printer device name is Cnt01_lpq. Would I need to include the path. I have been working on this problem for a while and I need help
 
The easiest way to get around this is to have your Network admin set up a Capture command for your LPT port to route it to the Network printer. Or you can run Capture from the program using the Run command. Once the capture command is issued though all printing will go to the Network printer until the capture is released. dBase III is limited on the use of print options, but you can also use the "SET PRINTER TO" command, in the DOS environment that is messy and the print drivers are not going to match up very well since the printers that are in service today are not on the drivers list for dBase III. This is the example form dBase help file;

SET PRINTER Example

The following example uses SET PRINTER ON and OFF:

SET PRINTER TO && Set printer to default
SET PRINTER ON
? "Hello" && to printer
SET PRINTER OFF
? prow(),pcol() && only displayed to screen
CLOSE PRINTER && intiate printing
SET PRINTER TO && resets to default
SET PRINTER TO PRN && sets to DOS output device
SET PRINTER TO LPT1
SET PRINTER TO NUL
SET PRINTER TO FILE Test
* Test.prt receives streaming output, including
* any control codes, that would have gone to the
* printer.

Best of luck
RRiley
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top