?
Solved

Print only specified page

Posted on 2003-03-05
13
Medium Priority
?
249 Views
Last Modified: 2011-09-20
Is it possible to print only a specified page?

I only know that crystal report automatically
does the page break.
Is there any option to control the page to print out.

For example:
One report will turn out to be total of 4 pages.
But I only need to print out the first page of 4.

Any little advice is appreciated.
Thank you.




0
Comment
Question by:mini1111
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
13 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 8077706
How are you printing the reports?

mlmcc
0
 

Author Comment

by:mini1111
ID: 8077779
I print the reports using the crystal report function 'PEOutputTOPrinter()' calling from Delphi.

The report read the data from csv files.





 
0
 

Author Comment

by:mini1111
ID: 8077842
I print the reports using the crystal report function 'PEOutputTOPrinter()' calling from Delphi.

The report read the data from csv files.





 
0
Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

 

Author Comment

by:mini1111
ID: 8077849
I print the reports using the crystal report function 'PEOutputTOPrinter()' calling from Delphi.

The report read the data from csv files.





 
0
 

Author Comment

by:mini1111
ID: 8077940
I didn't realize I had sent the same comment for 3 times.
I'm sorry for that.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 8079513
Don't use refresh use RELOAD QUESTION under your name in the left column.

According to my reference the Report Engine method you are using doesn't make it easy to get at other printing features.  I'll take a look at work where I have the capabilities loaded.

mlmcc
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 8085080
It is possible.  I haven't been able to put the pieces together yet.

mlmcc
0
 

Author Comment

by:mini1111
ID: 8085835
Thank you for the above information.

But I still don't get how to do this.
With what key words should I look through the source?

0
 
LVL 101

Accepted Solution

by:
mlmcc earned 400 total points
ID: 8085978
You are looking for code that refers tho the following data type.  It is in Global32.bas

Type PEPrintOptions
    StructSize As Integer   ' initialize to # bytes in PEPrintOptions

    ' page and copy numbers are 1-origin
    ' use 0 to preserve the existing settings
    StartPageN As Integer
    stopPageN As Integer

    nReportCopies As Integer
    collation As Integer
    outputFileName As String * PE_FILE_PATH_LEN
End Type


mlmcc
0
 

Author Comment

by:mini1111
ID: 8086192
Thank you very much for your support.
I could do this.

0
 

Author Comment

by:mini1111
ID: 8086193
Thank you very much for your support.
I could do this.

0
 
LVL 101

Expert Comment

by:mlmcc
ID: 8087848
Glad to help

mlmcc
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question