Solved

Problem with layout page using Crystalreport 4.6

Posted on 2004-09-06
3
296 Views
Last Modified: 2008-03-17
I have a old app. with vb6 and crystalreport 4.6.
in desing time a setup a report with custom paper size,
but in run time, the user can choose a printer from all available printers.
and the printer changes the paper size for the report.
my code is:
        With CrystalReport1
            .ReportFileName = app.path & "\report1.rpt"
            .PrinterPort = Prnt.Port
            .PrinterDriver = Prnt.DriverName
            .Action = 1
         End With

how can i do to maintain the custom paper size?
sorry by my question about old version for crystal repor.
0
Comment
Question by:jmgs082598
  • 2
3 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 50 total points
ID: 11993624
Crystal is highly printer dependent.  The custom paper size is probably setup on only the one printer.  The only way would be to create the custom page size for all possible printers.

I assume you have seen
http://support.businessobjects.com/library/kbase/articles/c2010175.asp

also look at
http://support.businessobjects.com/communityCS/TechnicalPapers/scrprinterdependency.pdf.asp

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 12560134
Should have helped.

mlmcc
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

759 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now