473,323 Members | 1,560 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Custom Page size in Crystal Reports 9

Ali Rizwan
925 512MB
Hi all,
I want to set my page width to 5inch and height to 9inch. But i have not see any option for page size yet in crystal report 9. Any help.
Can i set this dynamically???
Plz answer both questions....

Thanx
>> ALI <<
Jun 8 '08 #1
8 4617
Dököll
2,364 Expert 2GB
Hello Ali!

I searched and could not find anything, have you tried Google?

Dököll
Jun 10 '08 #2
CyberSoftHari
487 Expert 256MB
In CR we cannot do that (Upto CR 9 not sure about later), You have to use LPT1 port to print directly.
Jun 10 '08 #3
QVeen72
1,445 Expert 1GB
Hi,

First Select the Printer (ControlPanel>>Printers)
and Create an User Defined Paper size and save it as say MyPapSzie..
and In CR9 designer, in menu PrinterSetUp, select the newly created Papersize..

Regards
Veena
Jun 11 '08 #4
CyberSoftHari
487 Expert 256MB
I did not find Printers in my control panel (“Printers and Faxes” in XP) then I assume that may be Win 9X version?
I think this will make some problem in installation at client place.
Jun 11 '08 #5
QVeen72
1,445 Expert 1GB
Hi,

Mine is Windows 2000 Server
Whatever, "Printer"
or
"Printer and Faxes"
Jun 11 '08 #6
CyberSoftHari
487 Expert 256MB
Is it doable through code? If yes then, point how to do it through code and that will be more helpful. [edit]Because it will make problem during installation at client place (pointed in #5.[/edit]
Jun 11 '08 #7
Ali Rizwan
925 512MB
Is it not annoying for the client to do such type of stuff??
i have tried by increasing the borders of CR. I think this will solve my problem??? How can i send print from a listview dynamically without using reports?????

Thanx
>> ALI <<
Jun 12 '08 #8
CyberSoftHari
487 Expert 256MB
Check where your printer is connected.
Consider LPT 1; then follow below code


Expand|Select|Wrap|Line Numbers
  1. FileOpen(1, "LPT1", OpenMode.Output)
  2.      Foe i = 1 To NoLines
  3.          PrintLine(1, strPrintStringHere_i)
  4.      Next i
  5. FileClose(1)
Jun 13 '08 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: MacDermott | last post by:
I created a report to print labels, and it created a custom page size for the report. When I opened the properties of the printer driver I could see it listed - as Custom. Then I had to change...
7
by: mrwoopey | last post by:
I have a asp.net application that uses the crystal report viewer control. It displays all of my reports but all of a sudden it started giving me the following error on ONLY two reports: "Fail...
3
by: Vince Mele | last post by:
We are having a small problem with a couple of reports we developed for a client website. On two of the reports, sometimes (most of the time) we receive a warning message before the output of...
7
by: Robert Adkison | last post by:
I need to print a web page. It is my preference that my users just do a File/Print from explorer. That way my users will get the print dialog that will allow them to select the fax printer. The...
0
by: Anniech | last post by:
I use VB.NET to integrate with crystal report 9.0 to print a report with custom paper size (using Dot Matrix printer). I have already added a custom paper size in the printer server and set the...
2
by: chyogesh76 | last post by:
i created a report in crystal report i am using it in vb6.0. while printing through vb it was printing in a4 size but i want make it custom size(small size 5'' X10"). how can i do. any one please...
3
by: =?Utf-8?B?R2hpc3Rvcw==?= | last post by:
Hi all, We have a N-Tier framework and we now create a Web Site App to wotk with this architecture. I add reference from my libraries in the project and creating page and controls is very...
1
by: =?Utf-8?B?VGVycnk=?= | last post by:
I am brand new to using Crystal Reports and am trying to generate a report based on a custom object - in another project. I have a layered design, with all my business objects in a seperate...
2
Pittaman
by: Pittaman | last post by:
Hello I am creating some crystal reports (for visual studio 2005) based on the content of certain .NET objects. I'm doing this in .NET 2.0. For one of them I'm using a Cross-table to summarize...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.