Преглед изворни кода

Change default printer init string.
Hide advanced printer settings button so that init string can no longer be edited.

Andrew Klopper пре 8 година
родитељ
комит
ac8c0ac700

+ 1 - 1
BulkPrinting/BulkPrinting/Globals.cs

23
         public static LogUploader LogUploader;
23
         public static LogUploader LogUploader;
24
         public static LogDownloader LogDownloader;
24
         public static LogDownloader LogDownloader;
25
 
25
 
26
-        public static string DefaultPrinterInitString = "1B401B451B55301B4D";
26
+        public static string DefaultPrinterInitString = "1B401B451B55301B4D1B43000C";
27
     }
27
     }
28
 }
28
 }

+ 4 - 3
BulkPrinting/BulkPrinting/PrintAlignmentDialog.Designer.cs

60
             // 
60
             // 
61
             this.label1.AutoSize = true;
61
             this.label1.AutoSize = true;
62
             this.label1.ForeColor = System.Drawing.Color.White;
62
             this.label1.ForeColor = System.Drawing.Color.White;
63
-            this.label1.Location = new System.Drawing.Point(8, 235);
63
+            this.label1.Location = new System.Drawing.Point(2, 235);
64
             this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
64
             this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
65
             this.label1.Name = "label1";
65
             this.label1.Name = "label1";
66
             this.label1.Size = new System.Drawing.Size(565, 136);
66
             this.label1.Size = new System.Drawing.Size(565, 136);
88
             this.btnAlignment.FlatAppearance.BorderColor = System.Drawing.Color.Black;
88
             this.btnAlignment.FlatAppearance.BorderColor = System.Drawing.Color.Black;
89
             this.btnAlignment.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
89
             this.btnAlignment.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
90
             this.btnAlignment.ForeColor = System.Drawing.Color.White;
90
             this.btnAlignment.ForeColor = System.Drawing.Color.White;
91
-            this.btnAlignment.Location = new System.Drawing.Point(316, 382);
91
+            this.btnAlignment.Location = new System.Drawing.Point(202, 382);
92
             this.btnAlignment.Margin = new System.Windows.Forms.Padding(4);
92
             this.btnAlignment.Margin = new System.Windows.Forms.Padding(4);
93
             this.btnAlignment.Name = "btnAlignment";
93
             this.btnAlignment.Name = "btnAlignment";
94
             this.btnAlignment.Size = new System.Drawing.Size(151, 28);
94
             this.btnAlignment.Size = new System.Drawing.Size(151, 28);
237
             this.settingsButton.FlatAppearance.BorderColor = System.Drawing.Color.Black;
237
             this.settingsButton.FlatAppearance.BorderColor = System.Drawing.Color.Black;
238
             this.settingsButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
238
             this.settingsButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
239
             this.settingsButton.ForeColor = System.Drawing.Color.White;
239
             this.settingsButton.ForeColor = System.Drawing.Color.White;
240
-            this.settingsButton.Location = new System.Drawing.Point(108, 382);
240
+            this.settingsButton.Location = new System.Drawing.Point(8, 382);
241
             this.settingsButton.Margin = new System.Windows.Forms.Padding(4);
241
             this.settingsButton.Margin = new System.Windows.Forms.Padding(4);
242
             this.settingsButton.Name = "settingsButton";
242
             this.settingsButton.Name = "settingsButton";
243
             this.settingsButton.Size = new System.Drawing.Size(151, 28);
243
             this.settingsButton.Size = new System.Drawing.Size(151, 28);
244
             this.settingsButton.TabIndex = 2;
244
             this.settingsButton.TabIndex = 2;
245
             this.settingsButton.Text = "Advanced Settings";
245
             this.settingsButton.Text = "Advanced Settings";
246
             this.settingsButton.UseVisualStyleBackColor = false;
246
             this.settingsButton.UseVisualStyleBackColor = false;
247
+            this.settingsButton.Visible = false;
247
             this.settingsButton.Click += new System.EventHandler(this.settingsButton_Click);
248
             this.settingsButton.Click += new System.EventHandler(this.settingsButton_Click);
248
             // 
249
             // 
249
             // btnExpand
250
             // btnExpand

+ 1 - 1
BulkPrinting/BulkPrinting/Properties/AssemblyInfo.cs

33
 // by using the '*' as shown below:
33
 // by using the '*' as shown below:
34
 // [assembly: AssemblyVersion("1.0.*")]
34
 // [assembly: AssemblyVersion("1.0.*")]
35
 [assembly: AssemblyVersion("1.0.*")]
35
 [assembly: AssemblyVersion("1.0.*")]
36
-[assembly: AssemblyFileVersion("1.7")]
36
+[assembly: AssemblyFileVersion("1.8")]