Click here to Skip to main content
15,894,540 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Updated 17-Aug-12 17: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

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.
 
Share this answer
 
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900