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;
}


}










share|improve this question







New contributor




hemn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 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

















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;
}


}










share|improve this question







New contributor




hemn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 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















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;
}


}










share|improve this question







New contributor




hemn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











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






share|improve this question







New contributor




hemn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




hemn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




hemn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 19 at 14:14









hemn

1




1




New contributor




hemn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





hemn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






hemn is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 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
















  • 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










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



















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






hemn is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















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






























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.










 

draft saved


draft discarded


















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.















 


draft saved


draft discarded














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





















































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







Popular posts from this blog

404 Error Contact Form 7 ajax form submitting

How to know if a Active Directory user can login interactively

TypeError: fit_transform() missing 1 required positional argument: 'X'