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!

Problem printing on a network

Status
Not open for further replies.

EBP

Programmer
Feb 6, 2000
1
MX
I have a program develop in FP 2.6 dos and in order to close the spool I need to go out of foxpro for the progrsm to start printing. Is there any way to close the spool ore a timeout <br>

<br>

Esteban
 
I believe, by just saying in your program 'set print to' without any additional parameters that will do it.
 
You did not mention what type of network you are running your program on. This problem you mentioned is common on both Novell and NT networks. <br>
<br>
To fix it do 2 things. <br>
<br>
Novell Network Only<br>
1. If you are on a Novell network, Look at your Novell captue statement and add /au and /TI=10 parameters. You may also want to add the /nff, /nt and /nb parameters. <br>
/au = automatic endcap<br>
/ti=10 = timeout after 10 seconds of not adding anything to the print job<br>
/NB = no banner<br>
/nff = no Form Feed<br>
/nt = No Tabs.<br>
<br>
<br>
Novell and NT networks<br>
2. End the print run with two sets of Set Printer Off and Set printer to commands. The first 2 command line seems to tell Foxpro to stop and the second 2 command seems to tell the Network to spool it. (reason unknown) <br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top