Solved

Problem with layout page using Crystalreport 4.6

Posted on 2004-09-06
3
302 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
[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
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

738 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