Solved

Problem with layout page using Crystalreport 4.6

Posted on 2004-09-06
3
298 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Write data from SQL to CSV file - position 1 60
Input past end of file vbs script 9 92
Windows 10 start screen issues 9 54
VB6 - Compare and highlight cell not the same 3 50
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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

770 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