Problem with printdialog
-
Hello friends i am developing an application in which there is printing option... The printing option is working well but the problem is when the printdialog shows and by default the numbers of copies is 1 and if i increase the numbers of copies 2 or 3 then its only print one copy only why number of copies option is not working.... CODE
int count = Application.OpenForms.Count; for (int i = 1; i < count; i++) { PrintDialog myPrintDialog = new PrintDialog(); memoryImage = new System.Drawing.Bitmap(panel1.Width, panel1.Height); panel1.DrawToBitmap(memoryImage, panel1.ClientRectangle); if (myPrintDialog.ShowDialog() == DialogResult.OK) { myPrintDialog.Document = printDocument1; printDocument1.PrintController = new StandardPrintController(); printDocument1.Print(); } printDocument1.Dispose(); }
-
Hello friends i am developing an application in which there is printing option... The printing option is working well but the problem is when the printdialog shows and by default the numbers of copies is 1 and if i increase the numbers of copies 2 or 3 then its only print one copy only why number of copies option is not working.... CODE
int count = Application.OpenForms.Count; for (int i = 1; i < count; i++) { PrintDialog myPrintDialog = new PrintDialog(); memoryImage = new System.Drawing.Bitmap(panel1.Width, panel1.Height); panel1.DrawToBitmap(memoryImage, panel1.ClientRectangle); if (myPrintDialog.ShowDialog() == DialogResult.OK) { myPrintDialog.Document = printDocument1; printDocument1.PrintController = new StandardPrintController(); printDocument1.Print(); } printDocument1.Dispose(); }
this function will not work automatically, you have to do this dynamtically...
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN% Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y -------------------------------------------------------- 128 bit encrypted signature, crack if you can
-
this function will not work automatically, you have to do this dynamtically...
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN% Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y -------------------------------------------------------- 128 bit encrypted signature, crack if you can
-
put a int to count, call the PrintDocument_Print() event until you counter reach to 0. Do this work when your all pages finished, or if you do not want Collate, then call and decrease counter on every print but this time you will need to set again the actual value to counter hope it will help
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN% Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y -------------------------------------------------------- 128 bit encrypted signature, crack if you can