ソースを参照

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,6 +23,6 @@ namespace BulkPrinting
23 23
         public static LogUploader LogUploader;
24 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,7 +60,7 @@
60 60
             // 
61 61
             this.label1.AutoSize = true;
62 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 64
             this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
65 65
             this.label1.Name = "label1";
66 66
             this.label1.Size = new System.Drawing.Size(565, 136);
@@ -88,7 +88,7 @@
88 88
             this.btnAlignment.FlatAppearance.BorderColor = System.Drawing.Color.Black;
89 89
             this.btnAlignment.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
90 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 92
             this.btnAlignment.Margin = new System.Windows.Forms.Padding(4);
93 93
             this.btnAlignment.Name = "btnAlignment";
94 94
             this.btnAlignment.Size = new System.Drawing.Size(151, 28);
@@ -237,13 +237,14 @@
237 237
             this.settingsButton.FlatAppearance.BorderColor = System.Drawing.Color.Black;
238 238
             this.settingsButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
239 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 241
             this.settingsButton.Margin = new System.Windows.Forms.Padding(4);
242 242
             this.settingsButton.Name = "settingsButton";
243 243
             this.settingsButton.Size = new System.Drawing.Size(151, 28);
244 244
             this.settingsButton.TabIndex = 2;
245 245
             this.settingsButton.Text = "Advanced Settings";
246 246
             this.settingsButton.UseVisualStyleBackColor = false;
247
+            this.settingsButton.Visible = false;
247 248
             this.settingsButton.Click += new System.EventHandler(this.settingsButton_Click);
248 249
             // 
249 250
             // btnExpand

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

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