Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jun Tangunan
  Where is Jun Tangunan?
 Cabanatuan
 Philippines
 Jun Tangunan
 To: ursula
  Where is ursula?
 Jakarta
 Indonesia
 ursula
 Tags
Subject: RE: Print LPT1
Thread ID: 288357 Message ID: 289044 # Views: 35 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Reports and Printers
Date: Tuesday, December 28, 2010 5:52:39 AM         
   


> Sir I have tried your advice and it works.. thanks a lot.. you are really very helpful
>
>
> >
> > Try this:
> >
> >
LOCAL oWsh, lcCommand
> > oWsh = Newobject('wscript.shell')
> > lcCommand = 'CMD /c TYPE Junk.txt > LPT1'
> > oWsh.Run(lcCommand,0,.T.)
> > 

> >
> > http://www.junblogs.com/
> > http://weblogs.foxite.com/sandstorm36/default.aspx
> > http://www.coderisland.com/forum/viewforum.php?f=10


Welcome. It is always a pleasure to be able to assist. :-)

http://www.junblogs.com/
http://weblogs.foxite.com/sandstorm36/default.aspx
http://www.coderisland.com/forum/viewforum.php?f=10

ENTIRE THREAD

Print LPT1 Posted by ursula @ 12/20/2010 2:44:31 PM
RE: Print LPT1 Posted by Mustapha Bihmouten @ 12/20/2010 2:52:26 PM
RE: Print LPT1 Posted by ursula @ 12/20/2010 3:10:30 PM
RE: Print LPT1 Posted by Mustapha Bihmouten @ 12/20/2010 4:16:38 PM
RE: Print LPT1 Posted by ursula @ 12/21/2010 3:03:13 PM
RE: Print LPT1 Posted by Jun Tangunan @ 12/21/2010 4:30:26 AM
RE: Print LPT1 Posted by ursula @ 12/21/2010 3:04:30 PM
RE: Print LPT1 Posted by ursula @ 12/28/2010 5:11:17 AM
RE: Print LPT1 Posted by Jun Tangunan @ 12/28/2010 5:52:39 AM