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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

procedure print to lpt3 from windows 2000 server

Status
Not open for further replies.

frankone

Vendor
Aug 3, 2002
21
US
In the current FoxPro 2.0 the procedure file is
case eopt= 7 && Alpha/Num list
sele clien3
set order to 4
go top
repo form empname to print
set order to 1
go top
endcase
can I change the "to print" to
set printer to lpt3
InHandle=FOPEN('LPT3')
InHandle=FCLOSE('LPT3')

Thank You
 
You can write:
SET PRINT TO LPT3

REPORT FORM .... TO PRINT

lnHandle=FOPEN('LPT3')
=FCLOSE(lnHandle)

You can not do this in one line (like REPORT TO ...).


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top