C# paper size to print 80mm
up vote
-1
down vote
favorite
i have device print, size paper is 80mm.
in my app have a code but not exact, in top have more space and right side not showing.
this is my device...
enter link description here
and this my code....
namespace POS.Reports
{
partial class ProductsReceiptPreview
{
///
/// Required designer variable.
///
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductsReceiptPreview));
this.DataReceiptBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.rptProductsReceipt = new Microsoft.Reporting.WinForms.ReportViewer();
this.pnlMenu = new System.Windows.Forms.Panel();
this.btnReports = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.DataReceiptBindingSource)).BeginInit();
this.pnlMenu.SuspendLayout();
this.SuspendLayout();
//
// DataReceiptBindingSource
//
this.DataReceiptBindingSource.DataSource = typeof(POS.Reports.DataReceipt);
//
// rptProductsReceipt
//
this.rptProductsReceipt.Dock = System.Windows.Forms.DockStyle.Fill;
reportDataSource1.Name = "ds";
reportDataSource1.Value = this.DataReceiptBindingSource;
this.rptProductsReceipt.LocalReport.DataSources.Add(reportDataSource1);
this.rptProductsReceipt.LocalReport.ReportEmbeddedResource = "POS.Reports.ProductsReceipt.rdlc";
this.rptProductsReceipt.Location = new System.Drawing.Point(0, 92);
this.rptProductsReceipt.Name = "rptProductsReceipt";
this.rptProductsReceipt.ShowBackButton = false;
this.rptProductsReceipt.ShowContextMenu = false;
this.rptProductsReceipt.ShowCredentialPrompts = false;
this.rptProductsReceipt.ShowToolBar = false;
this.rptProductsReceipt.Size = new System.Drawing.Size(835, 587);
this.rptProductsReceipt.TabIndex = 4;
//
// pnlMenu
//
this.pnlMenu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(12)))), ((int)(((byte)(13)))), ((int)(((byte)(13)))));
this.pnlMenu.Controls.Add(this.btnReports);
this.pnlMenu.Dock = System.Windows.Forms.DockStyle.Top;
this.pnlMenu.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.pnlMenu.Location = new System.Drawing.Point(0, 0);
this.pnlMenu.Name = "pnlMenu";
this.pnlMenu.Padding = new System.Windows.Forms.Padding(5);
this.pnlMenu.Size = new System.Drawing.Size(835, 92);
this.pnlMenu.TabIndex = 3;
//
// btnReports
//
this.btnReports.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReports.Dock = System.Windows.Forms.DockStyle.Left;
this.btnReports.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(27)))), ((int)(((byte)(27)))));
this.btnReports.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DeepSkyBlue;
this.btnReports.FlatAppearance.MouseOverBackColor = System.Drawing.Color.DeepSkyBlue;
this.btnReports.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnReports.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnReports.Image = ((System.Drawing.Image)(resources.GetObject("btnReports.Image")));
this.btnReports.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
this.btnReports.Location = new System.Drawing.Point(5, 5);
this.btnReports.Name = "btnReports";
this.btnReports.Size = new System.Drawing.Size(83, 82);
this.btnReports.TabIndex = 26;
this.btnReports.TabStop = false;
this.btnReports.Text = "چاپ";
this.btnReports.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.btnReports.UseVisualStyleBackColor = true;
this.btnReports.Click += new System.EventHandler(this.btnReports_Click);
//
// ProductsReceiptPreview
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(27)))), ((int)(((byte)(27)))));
this.ClientSize = new System.Drawing.Size(835, 679);
this.Controls.Add(this.rptProductsReceipt);
this.Controls.Add(this.pnlMenu);
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "ProductsReceiptPreview";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "ProductsReceipt";
this.Load += new System.EventHandler(this.ProductsReceipt_Load);
((System.ComponentModel.ISupportInitialize)(this.DataReceiptBindingSource)).EndInit();
this.pnlMenu.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Microsoft.Reporting.WinForms.ReportViewer rptProductsReceipt;
private System.Windows.Forms.Panel pnlMenu;
private System.Windows.Forms.Button btnReports;
private System.Windows.Forms.BindingSource DataReceiptBindingSource;
}
}
c# printing
New contributor
|
show 1 more comment
up vote
-1
down vote
favorite
i have device print, size paper is 80mm.
in my app have a code but not exact, in top have more space and right side not showing.
this is my device...
enter link description here
and this my code....
namespace POS.Reports
{
partial class ProductsReceiptPreview
{
///
/// Required designer variable.
///
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductsReceiptPreview));
this.DataReceiptBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.rptProductsReceipt = new Microsoft.Reporting.WinForms.ReportViewer();
this.pnlMenu = new System.Windows.Forms.Panel();
this.btnReports = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.DataReceiptBindingSource)).BeginInit();
this.pnlMenu.SuspendLayout();
this.SuspendLayout();
//
// DataReceiptBindingSource
//
this.DataReceiptBindingSource.DataSource = typeof(POS.Reports.DataReceipt);
//
// rptProductsReceipt
//
this.rptProductsReceipt.Dock = System.Windows.Forms.DockStyle.Fill;
reportDataSource1.Name = "ds";
reportDataSource1.Value = this.DataReceiptBindingSource;
this.rptProductsReceipt.LocalReport.DataSources.Add(reportDataSource1);
this.rptProductsReceipt.LocalReport.ReportEmbeddedResource = "POS.Reports.ProductsReceipt.rdlc";
this.rptProductsReceipt.Location = new System.Drawing.Point(0, 92);
this.rptProductsReceipt.Name = "rptProductsReceipt";
this.rptProductsReceipt.ShowBackButton = false;
this.rptProductsReceipt.ShowContextMenu = false;
this.rptProductsReceipt.ShowCredentialPrompts = false;
this.rptProductsReceipt.ShowToolBar = false;
this.rptProductsReceipt.Size = new System.Drawing.Size(835, 587);
this.rptProductsReceipt.TabIndex = 4;
//
// pnlMenu
//
this.pnlMenu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(12)))), ((int)(((byte)(13)))), ((int)(((byte)(13)))));
this.pnlMenu.Controls.Add(this.btnReports);
this.pnlMenu.Dock = System.Windows.Forms.DockStyle.Top;
this.pnlMenu.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.pnlMenu.Location = new System.Drawing.Point(0, 0);
this.pnlMenu.Name = "pnlMenu";
this.pnlMenu.Padding = new System.Windows.Forms.Padding(5);
this.pnlMenu.Size = new System.Drawing.Size(835, 92);
this.pnlMenu.TabIndex = 3;
//
// btnReports
//
this.btnReports.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReports.Dock = System.Windows.Forms.DockStyle.Left;
this.btnReports.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(27)))), ((int)(((byte)(27)))));
this.btnReports.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DeepSkyBlue;
this.btnReports.FlatAppearance.MouseOverBackColor = System.Drawing.Color.DeepSkyBlue;
this.btnReports.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnReports.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnReports.Image = ((System.Drawing.Image)(resources.GetObject("btnReports.Image")));
this.btnReports.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
this.btnReports.Location = new System.Drawing.Point(5, 5);
this.btnReports.Name = "btnReports";
this.btnReports.Size = new System.Drawing.Size(83, 82);
this.btnReports.TabIndex = 26;
this.btnReports.TabStop = false;
this.btnReports.Text = "چاپ";
this.btnReports.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.btnReports.UseVisualStyleBackColor = true;
this.btnReports.Click += new System.EventHandler(this.btnReports_Click);
//
// ProductsReceiptPreview
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(27)))), ((int)(((byte)(27)))));
this.ClientSize = new System.Drawing.Size(835, 679);
this.Controls.Add(this.rptProductsReceipt);
this.Controls.Add(this.pnlMenu);
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "ProductsReceiptPreview";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "ProductsReceipt";
this.Load += new System.EventHandler(this.ProductsReceipt_Load);
((System.ComponentModel.ISupportInitialize)(this.DataReceiptBindingSource)).EndInit();
this.pnlMenu.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Microsoft.Reporting.WinForms.ReportViewer rptProductsReceipt;
private System.Windows.Forms.Panel pnlMenu;
private System.Windows.Forms.Button btnReports;
private System.Windows.Forms.BindingSource DataReceiptBindingSource;
}
}
c# printing
New contributor
1
Can you explain the problem?
– Jimenemex
Nov 19 at 14:19
in top side have more space and right side not showing.
– hemn
Nov 19 at 14:22
Do you mean theres too much padding/space at the top and the right side is missing/overlapping the edge?
– Wayne Phipps
Nov 19 at 14:44
Since you are showing us a generated designer file, I'm a bit unclear onin top side have more space and right side not showing
. Is the c# form having this problem or the page you are trying to print?
– Jimenemex
Nov 19 at 14:56
yes, you can see... webchinupload.com/f/2018-11/…
– hemn
Nov 19 at 15:00
|
show 1 more comment
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
i have device print, size paper is 80mm.
in my app have a code but not exact, in top have more space and right side not showing.
this is my device...
enter link description here
and this my code....
namespace POS.Reports
{
partial class ProductsReceiptPreview
{
///
/// Required designer variable.
///
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductsReceiptPreview));
this.DataReceiptBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.rptProductsReceipt = new Microsoft.Reporting.WinForms.ReportViewer();
this.pnlMenu = new System.Windows.Forms.Panel();
this.btnReports = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.DataReceiptBindingSource)).BeginInit();
this.pnlMenu.SuspendLayout();
this.SuspendLayout();
//
// DataReceiptBindingSource
//
this.DataReceiptBindingSource.DataSource = typeof(POS.Reports.DataReceipt);
//
// rptProductsReceipt
//
this.rptProductsReceipt.Dock = System.Windows.Forms.DockStyle.Fill;
reportDataSource1.Name = "ds";
reportDataSource1.Value = this.DataReceiptBindingSource;
this.rptProductsReceipt.LocalReport.DataSources.Add(reportDataSource1);
this.rptProductsReceipt.LocalReport.ReportEmbeddedResource = "POS.Reports.ProductsReceipt.rdlc";
this.rptProductsReceipt.Location = new System.Drawing.Point(0, 92);
this.rptProductsReceipt.Name = "rptProductsReceipt";
this.rptProductsReceipt.ShowBackButton = false;
this.rptProductsReceipt.ShowContextMenu = false;
this.rptProductsReceipt.ShowCredentialPrompts = false;
this.rptProductsReceipt.ShowToolBar = false;
this.rptProductsReceipt.Size = new System.Drawing.Size(835, 587);
this.rptProductsReceipt.TabIndex = 4;
//
// pnlMenu
//
this.pnlMenu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(12)))), ((int)(((byte)(13)))), ((int)(((byte)(13)))));
this.pnlMenu.Controls.Add(this.btnReports);
this.pnlMenu.Dock = System.Windows.Forms.DockStyle.Top;
this.pnlMenu.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.pnlMenu.Location = new System.Drawing.Point(0, 0);
this.pnlMenu.Name = "pnlMenu";
this.pnlMenu.Padding = new System.Windows.Forms.Padding(5);
this.pnlMenu.Size = new System.Drawing.Size(835, 92);
this.pnlMenu.TabIndex = 3;
//
// btnReports
//
this.btnReports.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReports.Dock = System.Windows.Forms.DockStyle.Left;
this.btnReports.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(27)))), ((int)(((byte)(27)))));
this.btnReports.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DeepSkyBlue;
this.btnReports.FlatAppearance.MouseOverBackColor = System.Drawing.Color.DeepSkyBlue;
this.btnReports.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnReports.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnReports.Image = ((System.Drawing.Image)(resources.GetObject("btnReports.Image")));
this.btnReports.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
this.btnReports.Location = new System.Drawing.Point(5, 5);
this.btnReports.Name = "btnReports";
this.btnReports.Size = new System.Drawing.Size(83, 82);
this.btnReports.TabIndex = 26;
this.btnReports.TabStop = false;
this.btnReports.Text = "چاپ";
this.btnReports.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.btnReports.UseVisualStyleBackColor = true;
this.btnReports.Click += new System.EventHandler(this.btnReports_Click);
//
// ProductsReceiptPreview
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(27)))), ((int)(((byte)(27)))));
this.ClientSize = new System.Drawing.Size(835, 679);
this.Controls.Add(this.rptProductsReceipt);
this.Controls.Add(this.pnlMenu);
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "ProductsReceiptPreview";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "ProductsReceipt";
this.Load += new System.EventHandler(this.ProductsReceipt_Load);
((System.ComponentModel.ISupportInitialize)(this.DataReceiptBindingSource)).EndInit();
this.pnlMenu.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Microsoft.Reporting.WinForms.ReportViewer rptProductsReceipt;
private System.Windows.Forms.Panel pnlMenu;
private System.Windows.Forms.Button btnReports;
private System.Windows.Forms.BindingSource DataReceiptBindingSource;
}
}
c# printing
New contributor
i have device print, size paper is 80mm.
in my app have a code but not exact, in top have more space and right side not showing.
this is my device...
enter link description here
and this my code....
namespace POS.Reports
{
partial class ProductsReceiptPreview
{
///
/// Required designer variable.
///
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new Microsoft.Reporting.WinForms.ReportDataSource();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductsReceiptPreview));
this.DataReceiptBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.rptProductsReceipt = new Microsoft.Reporting.WinForms.ReportViewer();
this.pnlMenu = new System.Windows.Forms.Panel();
this.btnReports = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.DataReceiptBindingSource)).BeginInit();
this.pnlMenu.SuspendLayout();
this.SuspendLayout();
//
// DataReceiptBindingSource
//
this.DataReceiptBindingSource.DataSource = typeof(POS.Reports.DataReceipt);
//
// rptProductsReceipt
//
this.rptProductsReceipt.Dock = System.Windows.Forms.DockStyle.Fill;
reportDataSource1.Name = "ds";
reportDataSource1.Value = this.DataReceiptBindingSource;
this.rptProductsReceipt.LocalReport.DataSources.Add(reportDataSource1);
this.rptProductsReceipt.LocalReport.ReportEmbeddedResource = "POS.Reports.ProductsReceipt.rdlc";
this.rptProductsReceipt.Location = new System.Drawing.Point(0, 92);
this.rptProductsReceipt.Name = "rptProductsReceipt";
this.rptProductsReceipt.ShowBackButton = false;
this.rptProductsReceipt.ShowContextMenu = false;
this.rptProductsReceipt.ShowCredentialPrompts = false;
this.rptProductsReceipt.ShowToolBar = false;
this.rptProductsReceipt.Size = new System.Drawing.Size(835, 587);
this.rptProductsReceipt.TabIndex = 4;
//
// pnlMenu
//
this.pnlMenu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(12)))), ((int)(((byte)(13)))), ((int)(((byte)(13)))));
this.pnlMenu.Controls.Add(this.btnReports);
this.pnlMenu.Dock = System.Windows.Forms.DockStyle.Top;
this.pnlMenu.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.pnlMenu.Location = new System.Drawing.Point(0, 0);
this.pnlMenu.Name = "pnlMenu";
this.pnlMenu.Padding = new System.Windows.Forms.Padding(5);
this.pnlMenu.Size = new System.Drawing.Size(835, 92);
this.pnlMenu.TabIndex = 3;
//
// btnReports
//
this.btnReports.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnReports.Dock = System.Windows.Forms.DockStyle.Left;
this.btnReports.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(27)))), ((int)(((byte)(27)))));
this.btnReports.FlatAppearance.MouseDownBackColor = System.Drawing.Color.DeepSkyBlue;
this.btnReports.FlatAppearance.MouseOverBackColor = System.Drawing.Color.DeepSkyBlue;
this.btnReports.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnReports.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnReports.Image = ((System.Drawing.Image)(resources.GetObject("btnReports.Image")));
this.btnReports.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
this.btnReports.Location = new System.Drawing.Point(5, 5);
this.btnReports.Name = "btnReports";
this.btnReports.Size = new System.Drawing.Size(83, 82);
this.btnReports.TabIndex = 26;
this.btnReports.TabStop = false;
this.btnReports.Text = "چاپ";
this.btnReports.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.btnReports.UseVisualStyleBackColor = true;
this.btnReports.Click += new System.EventHandler(this.btnReports_Click);
//
// ProductsReceiptPreview
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(24)))), ((int)(((byte)(27)))), ((int)(((byte)(27)))));
this.ClientSize = new System.Drawing.Size(835, 679);
this.Controls.Add(this.rptProductsReceipt);
this.Controls.Add(this.pnlMenu);
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "ProductsReceiptPreview";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "ProductsReceipt";
this.Load += new System.EventHandler(this.ProductsReceipt_Load);
((System.ComponentModel.ISupportInitialize)(this.DataReceiptBindingSource)).EndInit();
this.pnlMenu.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Microsoft.Reporting.WinForms.ReportViewer rptProductsReceipt;
private System.Windows.Forms.Panel pnlMenu;
private System.Windows.Forms.Button btnReports;
private System.Windows.Forms.BindingSource DataReceiptBindingSource;
}
}
c# printing
c# printing
New contributor
New contributor
New contributor
asked Nov 19 at 14:14
hemn
1
1
New contributor
New contributor
1
Can you explain the problem?
– Jimenemex
Nov 19 at 14:19
in top side have more space and right side not showing.
– hemn
Nov 19 at 14:22
Do you mean theres too much padding/space at the top and the right side is missing/overlapping the edge?
– Wayne Phipps
Nov 19 at 14:44
Since you are showing us a generated designer file, I'm a bit unclear onin top side have more space and right side not showing
. Is the c# form having this problem or the page you are trying to print?
– Jimenemex
Nov 19 at 14:56
yes, you can see... webchinupload.com/f/2018-11/…
– hemn
Nov 19 at 15:00
|
show 1 more comment
1
Can you explain the problem?
– Jimenemex
Nov 19 at 14:19
in top side have more space and right side not showing.
– hemn
Nov 19 at 14:22
Do you mean theres too much padding/space at the top and the right side is missing/overlapping the edge?
– Wayne Phipps
Nov 19 at 14:44
Since you are showing us a generated designer file, I'm a bit unclear onin top side have more space and right side not showing
. Is the c# form having this problem or the page you are trying to print?
– Jimenemex
Nov 19 at 14:56
yes, you can see... webchinupload.com/f/2018-11/…
– hemn
Nov 19 at 15:00
1
1
Can you explain the problem?
– Jimenemex
Nov 19 at 14:19
Can you explain the problem?
– Jimenemex
Nov 19 at 14:19
in top side have more space and right side not showing.
– hemn
Nov 19 at 14:22
in top side have more space and right side not showing.
– hemn
Nov 19 at 14:22
Do you mean theres too much padding/space at the top and the right side is missing/overlapping the edge?
– Wayne Phipps
Nov 19 at 14:44
Do you mean theres too much padding/space at the top and the right side is missing/overlapping the edge?
– Wayne Phipps
Nov 19 at 14:44
Since you are showing us a generated designer file, I'm a bit unclear on
in top side have more space and right side not showing
. Is the c# form having this problem or the page you are trying to print?– Jimenemex
Nov 19 at 14:56
Since you are showing us a generated designer file, I'm a bit unclear on
in top side have more space and right side not showing
. Is the c# form having this problem or the page you are trying to print?– Jimenemex
Nov 19 at 14:56
yes, you can see... webchinupload.com/f/2018-11/…
– hemn
Nov 19 at 15:00
yes, you can see... webchinupload.com/f/2018-11/…
– hemn
Nov 19 at 15:00
|
show 1 more comment
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
hemn is a new contributor. Be nice, and check out our Code of Conduct.
hemn is a new contributor. Be nice, and check out our Code of Conduct.
hemn is a new contributor. Be nice, and check out our Code of Conduct.
hemn is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53376512%2fc-sharp-paper-size-to-print-80mm%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Can you explain the problem?
– Jimenemex
Nov 19 at 14:19
in top side have more space and right side not showing.
– hemn
Nov 19 at 14:22
Do you mean theres too much padding/space at the top and the right side is missing/overlapping the edge?
– Wayne Phipps
Nov 19 at 14:44
Since you are showing us a generated designer file, I'm a bit unclear on
in top side have more space and right side not showing
. Is the c# form having this problem or the page you are trying to print?– Jimenemex
Nov 19 at 14:56
yes, you can see... webchinupload.com/f/2018-11/…
– hemn
Nov 19 at 15:00