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

Printing spool when VFP (8) open

Status
Not open for further replies.

astech

Programmer
Joined
Jul 25, 2000
Messages
59
Location
ID
I try to create a report with a prg file like :

***TestPrint.Prg***
SET DEVI TO PRIN
@ 1,20 SAY 'HEADER'
@ 2,10 Say ''
@ 3,10 Say 'DETAIL'
@ 4,10 Say 'DETAIL'
***END

When i do that the printer is spooling, but when i quit my VFP(8), Now it's printing.
What's Wrong, I Use Epson LX-300+

Thanks
 
Add SET DEVICE TO SCREEN at the end.
Good luck!
 
It's still same, Nothing changes
 
astech

Try this:
SET DEVICE TO PRINT
@ 1,20 SAY 'HEADER'
@ 2,10 Say ''
@ 3,10 Say 'DETAIL'
@ 4,10 Say 'DETAIL'
SET PRINTER TO
SET PRINTER TO && Yes twice.



Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top