Last post Apr 26, 2015 03:06 AM by porkblock
Apr 22, 2015 05:19 AM|porkblock|LINK
PrintDialog pDialog = new PrintDialog();
PrinterSettings pSettings = new PrinterSettings();
pSettings = pDialog.PrinterSettings;
PageSettings pSize = new PageSettings(pSettings);
ReportDocument cryRpt = new ReportDocument();
cryRpt.PrintOptions.PrinterName = "printer";
cryRpt.PrintToPrinter(1, false, 0, 0);
i have problem when changing the page layout into custom format.
it catches "Not enough storage is available to process this command".
anyone here encountered this problem?
Apr 22, 2015 07:56 AM|porkblock|LINK
alright... so i got exception error after i used custom paper format that i created in the printing preference even
i've copy and paste the width n height of an existing format and pasted it in the custom format
that i made. what i mean is "it does not accept custom made format".. anyone here encountered this problem?
Apr 23, 2015 02:49 AM|Krunal Parekh|LINK
This could be a memory leak issue. Here are some similar cases which might help.
you could try posting this question on crystal report forum.
You are likely to get more response from there.
Apr 26, 2015 03:06 AM|porkblock|LINK
Thanks for the help sir Krunal
i've already fixed the error, memory issue was not the problem, its the page setup that cause the memory issue
i'm using custom page size that's why, i found out that the custom size that i "set in printing preference"
was not the set in crystal report setup page.
anyway i have a new problem in crystal report that is too serious.. let me post the link here:
i hope someone would help me thanks.