Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: JIGNESH BAROT
  Where is JIGNESH BAROT?
 
 India
 JIGNESH BAROT
 To: Karben Selim Mejia
  Where is Karben Selim Mejia?
 San Pedro Sula
 Honduras
 Karben Selim Mejia
 Tags
Subject: RE: Yes this is a code to get the printer handle
Thread ID: 15933 Message ID: 16018 # Views: 1 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Monday, October 07, 2002 7:54:13 AM         
   


cdlPDReturnDC=256
cdlPDNoPageNums=8
cdlPDSelection=1
cdlPDAllPages=0

Thisform.CommDlg1.Flags = cdlPDReturnDC + cdlPDNoPageNums
If Thisform.RTF1.SelLength = 0
Thisform.CommDlg1.Flags = Thisform.CommDlg1.Flags ;
+ cdlPDAllPages
Else
Thisform.CommDlg1.Flags = Thisform.CommDlg1.Flags ;
+ cdlPDSelection
EndIf
Thisform.CommDlg1.ShowPrinter
IF Thisform.CommDlg1.hDC>0
Thisform.RTF1.SelPrint(Thisform.CommDlg1.hDC)
ENDIF


ENTIRE THREAD

how to add bmp to rich text contro Posted by JIGNESH BAROT @ 10/4/2002 7:50:43 AM
RE: how to add bmp to rich text contro Posted by Karben Selim Mejia @ 10/4/2002 6:50:32 PM
RE: how to add bmp to rich text contro Posted by JIGNESH BAROT @ 10/5/2002 9:41:11 AM
RE: how to add bmp to rich text contro Posted by JIGNESH BAROT @ 10/5/2002 10:09:34 AM
any body kows how to get the printer handle? Posted by Karben Selim Mejia @ 10/5/2002 4:39:43 PM
RE: any body kows how to get the printer handle? Posted by Eric den Doop @ 10/6/2002 11:07:18 AM
RE: any body kows how to get the printer handle? Posted by Karben Selim Mejia @ 10/6/2002 8:39:09 PM
RE: Yes this is a code to get the printer handle Posted by JIGNESH BAROT @ 10/7/2002 7:54:13 AM
RE: any body kows how to get the printer handle? Posted by Marat Chariev @ 10/7/2002 11:05:07 PM
RE: any body kows how to get the printer handle? Posted by Karben Selim Mejia @ 10/8/2002 12:00:16 AM
RE: any body kows how to get the printer handle? Posted by Marat Chariev @ 10/8/2002 3:30:21 PM
RE: any body kows how to get the printer handle? Posted by Karben Selim Mejia @ 10/8/2002 3:44:52 PM