Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: suhas hegde
  Where is suhas hegde?
 sirsi
 India
 suhas hegde
 To: Philip Santos
  Where is Philip Santos?
 Manila
 Philippines
 Philip Santos
 Tags
Subject: RE: DOS Printing
Thread ID: 33578 Message ID: 33585 # Views: 3 # Ratings: 0
Version: Visual FoxPro 8 Category: Reports and Printers
Date: Saturday, November 29, 2003 7:36:14 AM         
   


> > > Hello Everyone,
> > >
> > > I am printing a text file inside VFP8.0 using
> > > "! type filename.txt >prn"
> > > and everytime a i execute this code a DOS Prompt terminal appears
> > > Is there a way to execute this code but without the DOS Prompt Terminal popping out.
> > >
> > > Thanks in Advance
> > >
> > > Philip Santos
> >
> >
> > anil
> > If the size of filename.txt is small try to print to lpt1.dos directly.
> > I feel this bypasses the spooler and it works as if you are printing from a dos based program.
>
> Thanks for youre suggestion Sir. But what i want to acheive is to eliminate the DOS Prompt from Popping Out everytime I execute
>
> "! type filename.txt >prn" or
> "! type filename.txt >lpt1.dos"
>
> Philip Santos
hi,
if u want to use the ! check the ! /N command

but if u want to supress the msdos window totally
then u will have to use the Device Context of the printer to print (check winapi functions)
suhas

ENTIRE THREAD

DOS Printing Posted by Philip Santos @ 11/29/2003 4:22:06 AM
RE: DOS Printing Posted by ANIL KAMAT @ 11/29/2003 5:33:52 AM
RE: DOS Printing Posted by Philip Santos @ 11/29/2003 5:59:24 AM
RE: DOS Printing Posted by suhas hegde @ 11/29/2003 7:36:14 AM
RE: DOS Printing Posted by Philip Santos @ 11/29/2003 8:17:21 AM
RE: DOS Printing Posted by suhas hegde @ 11/29/2003 9:14:36 AM
RE: DOS Printing Posted by Toms @ 11/29/2003 4:24:36 PM
RE: DOS Printing Posted by Philip Santos @ 11/29/2003 4:43:18 PM