Click here to Skip to main content
12,634,407 members (25,327 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# CrystalReports
Hello,
I am using C#.net and Crystal reports for printing of Report,
My Report is half a size of A4 page, when i print using crystal reports printer automaitcally eject two Pages (size of a4)

How can i stop Printer to eject page?

I have set user defined page size in crystal reports as well as in Printer properties. But none help.

Help will be appreciated :)

Prathamesh
Posted 17-Aug-12 18:55pm
Updated 17-Aug-12 18:56pm
v2
Comments
Subhrajit Naha 24-Aug-12 19:58pm
   
Can you please be specific about the type of your printer (dot matrix / desk jet / laser)? have you marked your custom page as the default page of your printer as well?
prathameshpitale 25-Aug-12 3:24am
   
its Dot matrix printer Epson LX300+, can you give me any idea about that?

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Its always a pain to print custom page size in dot matrix printer using crystal report. Especially if the printer is of Epson. Check if your custom page has been set as the default page of the printer. To check...

1. Open Device and Printer
2. Right click on your printer and choose Printer Properties
3. Look for the Paper Available List box at the bottom-ride side of the properties window. If your custom page is there, then you have successfully set your custom page as the default page of your printer.
4. If your page doesn't appear in that list box, click on Device Settings tab and change all the form to tray assignment page settings to your custom page.
5. Click on apply and check back the list box again to confirm if your page has been set as custom page.
6. Try printing again.

If this solves your problem, then cool. But it may not work in every cases. If this doesn't work, I suggest you go for the Visual Studio printing option. Visual Studio printing option is quite complex but would save you from all shorts of unknown printer issues. Let me know if it works, otherwise i will give you a link how to work with VS Printing mechanism.
  Permalink  
Comments
prathameshpitale 25-Aug-12 10:13am
   
can you give me some links for VS printing mechanism?
It was not success using crystal reports, I am using PrintHelper Library/ Still there is problem of paper ejection.
Subhrajit Naha 25-Aug-12 11:16am
   
http://www.dreamincode.net/forums/topic/44150-printing-in-vbnet/

follow the link. It may help you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.161208.2 | Last Updated 25 Aug 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100