By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,960 Members | 1,009 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,960 IT Pros & Developers. It's quick & easy.

Custom Page size in Crystal Reports 9

Ali Rizwan
100+
P: 927
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
Share this Question
Share on Google+
8 Replies


Dököll
Expert 100+
P: 2,364
Hello Ali!

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

Dököll
Jun 10 '08 #2

Expert 100+
P: 487
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
Expert 100+
P: 1,445
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

Expert 100+
P: 487
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
Expert 100+
P: 1,445
Hi,

Mine is Windows 2000 Server
Whatever, "Printer"
or
"Printer and Faxes"
Jun 11 '08 #6

Expert 100+
P: 487
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
100+
P: 927
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

Expert 100+
P: 487
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

Post your reply

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