Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Kurt Green
  Where is Kurt Green?
 Kingston
 Jamaica
 Kurt Green
 To: Yuri Rubinov
  Where is Yuri Rubinov?
 Philadelphia
 Pennsylvania - United States
 Yuri Rubinov
 Tags
Subject: RE: print select pdf file from foxpro
Thread ID: 249239 Message ID: 249253 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Foxite: feedback
Date: Thursday, December 31, 2009 6:31:30 AM         
   


> > Hi foxite
> >
> > I am trying to find a sample code for printing a Pdf file located on the c drive straight from foxpro.
> >
> > Can someone assist me.
> >
> > Thanks In advance.
>
> For instance,
>
>
	DECLARE INTEGER ShellExecute ;
> 			    IN SHELL32.DLL ;
> 			    INTEGER nWinHandle,;
> 			    STRING cOperation,;   
> 			    STRING cFileName,;
> 			    STRING cParameters,;
> 			    STRING cDirectory,;
> 			    INTEGER nShowWindow
> 
> ? ShellExecute(0,"print","c:\acrobat3\reader\acrobat.pdf","","",1)

>
> Best Wishes,
>
> Yuri Rubinov

Hi Yuri

Thanks for the Response really appreciated. What if i want to print to a specific printer?

Thanks again in Advance

ENTIRE THREAD

print select pdf file from foxpro Posted by Kurt Green @ 12/30/2009 10:09:39 PM
RE: print select pdf file from foxpro Posted by Yuri Rubinov @ 12/30/2009 10:15:21 PM
RE: print select pdf file from foxpro Posted by Kurt Green @ 12/31/2009 6:31:30 AM
RE: print select pdf file from foxpro Posted by Jun Tangunan @ 12/31/2009 7:16:37 AM
RE: print select pdf file from foxpro Posted by Yuri Rubinov @ 12/31/2009 2:43:26 PM