Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: Chad Lee
  Where is Chad Lee?
 Marshall
 Texas - United States
 Chad Lee
 To: Paramu
  Where is Paramu?
 Coimbatore-Tamilnadu
 India
 Paramu
Subject: RE: How to get Print Ranges-All or From & To
Thread ID: 165261 Message ID: 165264 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Reports and Printers
Date: Monday, March 24, 2008 3:55:23 PM         
   



Have you tried?

REPORT FORM "C:\PARAMU\Tm_Sheets1.frx" TO PRINTER PROMPT PREVIEW


> Hi,
>
> Thanks in advance.
>
> During the reports preview, from the Preview Tool bar, when they click print, I want to get the range for pages
> All or From page & To page.
>
> This will be more significant for the users. Kindly guide me.
>
> Preview Codings :-
>
> LOCAL PviewCon2, bx AS ReportListener
> DO ("C:\PROGRAM FILES\MICROSOFT VISUAL FOXPRO 9\REPORTPREVIEW.APP") WITH PviewCon2
> PviewCon2.Caption = 'PIS Special Report'
> PviewCon2.ZoomLevel = 5
> PviewCon2.ToolbarIsVisible = .F.
> bx = CREATEOBJECT('ReportListener')
> bx.QuietMode = .T.
> bx.DynamicLineHeight= .T.
> bx.AllowModalMessages = .T.
> bx.ListenerType = 1
> bx.PrintJobName = "PIS - Employees Daily Attendance Sheet"
> bx.PreviewContainer =PviewCon2
> thisform.WindowState = 2
> SET REPORTBEHAVIOR 90
> REPORT FORM "C:\PARAMU\Tm_Sheets1.frx" PREVIEW OBJECT bx NOWAIT
> PviewCon2.oForm.Toolbar.visible=.T.
> PviewCon2.oForm.ToolBar.Movable = .F.
> PviewCon2.oForm.ToolBar.Sizable = .F.
> PviewCon2.oForm.Toolbar.Dock(0)
> PviewCon2.oForm.WindowState = 2
> PviewCon2.oForm.ICON="C:\PARAMU\My_Icons\Reprt_1.ico"
> PviewCon2.oForm.maxbutton=.F.
> PviewCon2.oForm.minbutton=.F.
>
>
> By PARAMU



I'm new, Thanks for your patience.

ENTIRE THREAD

How to get Print Ranges-All or From & To Posted by Paramu Paramu @ 3/24/2008 3:43:49 PM
RE: How to get Print Ranges-All or From & To Posted by Chad Lee @ 3/24/2008 3:55:23 PM
RE: How to get Print Ranges-All or From & To Posted by Paramu Paramu @ 3/24/2008 4:23:49 PM