I've downloaded the .zip file (three times). When I try to open it I get a message saying "The Compressed (zipped) folder is invalid or corrupted. If I try to get at it thru another zip path it says "No files to extract" (invoked from the extract option on a folder right-click).
Any ideas??
Many thanks,
ZL --
Printing in C#
#17 Guest_guest*
Posted 29 April 2010 - 11:32 PM
HI,
I used the above code in my asp.net project. Everything works fine. But the problem is the printDialog Box pop's up in the background of the page. So the user has to use (alt+tab) to access that printDialogBox. So plz, some1 suggest me how can I pop-up the printDialog Box above my webpage...???
Thnx.
I used the above code in my asp.net project. Everything works fine. But the problem is the printDialog Box pop's up in the background of the page. So the user has to use (alt+tab) to access that printDialogBox. So plz, some1 suggest me how can I pop-up the printDialog Box above my webpage...???
Thnx.
#18
Posted 21 June 2010 - 11:16 AM
The zip file, holding the code, appears to be corrupt.
#19 Guest_Humayun Kabir*
Posted 03 August 2010 - 05:36 AM
Thanks. This is really a nice article.
#20 Guest_eclecticsol uk*
Posted 06 August 2010 - 10:15 AM
A useful introduction. The followups about RemoveZeros were essential reading to get rid of the second page and put the first character where it belonged!
#21 Guest_eclecticsol uk*
Posted 06 August 2010 - 10:31 AM
matrix0009, on 02 March 2010 - 01:04 AM, said:
1 The type or namespace name 'PCPrint could not be found (are you issing a using directive or an assembly reference?)'
What could be the problem here?
What could be the problem here?
You are (were?) missing a "using PC;" statement.
The PCPrint class is in the namespace PC - it begins with the line
namespace PC {
.
#22 Guest_Taurmin*
Posted 02 September 2010 - 03:31 AM
A very helpfull article. However is there a way to adapt it to force page break on the \f escape character?
#24 Guest_kyuora*
#25 Guest_kyuora*
Posted 06 February 2011 - 07:32 PM
kyuora, on 06 February 2011 - 07:27 PM, said:
Please help me..how to print data such as student information from data grid????
im really no idea to make that, i want to print the info. example: i find student by the combobox and appear at datagrid. then i want to print that info.. but i dont have any idea about to print that info..please help..really need your help!!
#26
Posted 11 March 2011 - 11:11 AM
I'm using PCPrint but when I print the text, the printer prints a blank page and then the final text.. How can I solve this problem? The print text looks like this in code:
Thanks in advance,
Dapland
string lines = " De Lodge - Keerbergen\n\r\n\r\n\r\n\r -- Restaurant -- \n\r\n\r\n\r\n\r" + msg;
Thanks in advance,
Dapland
#27
Posted 18 July 2011 - 01:50 AM
Dear All,
I am new to C#, i was wondering is there any way that PCPrint class can actually print the coordinate to the printer page?
As i have an application that require output to computer form, could anyone advise how can i do so?
I am new to C#, i was wondering is there any way that PCPrint class can actually print the coordinate to the printer page?
As i have an application that require output to computer form, could anyone advise how can i do so?
#28
Posted 17 August 2011 - 07:43 AM
Great, this was exactly what I needed! However, I found a bug. In case the orientation is landscape, the values of the printHeight and printWidth variables must be swapped before the margins are subtracted.
Happy Coding!
Regards Aero Dynamik
Happy Coding!
Regards Aero Dynamik
#29
Posted 04 September 2011 - 02:18 AM
I found a bug in accordance to the codes given by PsychoCoder (author) and duncan. The codes still prints second page if you are trying to print using a long bond paper.
|
|






MultiQuote


|