打印设备:虚拟打印机 FinePrint
对比软件:DataWindow
数据:DataWindow 数据量是FP上显示的数据至少10倍,FP上只有零星数据。
Farpoint打印设置:默认
但是从打印机的任务容量来看,FP竟然有20多兆,而DataWindow的数据只有8兆。
我想一定是FP的设置有问题,才导致FP虽然数据少,但产生这么大的容量。
FP 初始化设置: (初始化后,只在逻辑代码中为Column添加了Border) myBorder = new FarPoint.Win.LineBorder(System.Drawing.Color.Black, 1, false, false, true, true);
//
// fpMain
//
this.fpMain.About = "2.5.2007.2005";
this.fpMain.AccessibleDescription = "fpMain, Sheet1";
this.fpMain.BackColor = System.Drawing.Color.White;
this.fpMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.fpMain.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.fpMain.HorizontalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
this.fpMain.Location = new System.Drawing.Point(3, 17);
this.fpMain.Name = "fpMain";
this.fpMain.Sheets.AddRange(new FarPoint.Win.Spread.SheetView[] {
this.fpMain_Sheet1});
this.fpMain.Size = new System.Drawing.Size(715, 235);
this.fpMain.TabIndex = 0;
tipAppearance1.BackColor = System.Drawing.SystemColors.Info;
tipAppearance1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
tipAppearance1.ForeColor = System.Drawing.SystemColors.InfoText;
this.fpMain.TextTipAppearance = tipAppearance1;
this.fpMain.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.AsNeeded;
this.fpMain.VisualStyles = FarPoint.Win.VisualStyles.Off;
this.fpMain.AutoSortingColumn += new FarPoint.Win.Spread.AutoSortingColumnEventHandler(this.fpMain_AutoSortingColumn);
this.fpMain.CellDoubleClick += new FarPoint.Win.Spread.CellClickEventHandler(this.fpMain_CellDoubleClick);
this.fpMain.CellClick += new FarPoint.Win.Spread.CellClickEventHandler(this.fpMain_CellClick);
this.fpMain.ColumnWidthChanged += new FarPoint.Win.Spread.ColumnWidthChangedEventHandler(this.fpMain_ColumnWidthChanged);
//
// fpMain_Sheet1
//
this.fpMain_Sheet1.Reset();
this.fpMain_Sheet1.SheetName = "Sheet1";
// Formulas and custom names must be loaded with R1C1 reference style
this.fpMain_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.R1C1;
this.fpMain_Sheet1.ColumnCount = 0;
this.fpMain_Sheet1.ColumnHeader.RowCount = 0;
this.fpMain_Sheet1.RowCount = 0;
this.fpMain_Sheet1.RowHeader.ColumnCount = 0;
this.fpMain_Sheet1.ColumnHeader.AutoText = FarPoint.Win.Spread.HeaderAutoText.Blank;
this.fpMain_Sheet1.ColumnHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
this.fpMain_Sheet1.ColumnHeader.DefaultStyle.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.fpMain_Sheet1.ColumnHeader.DefaultStyle.Locked = false;
this.fpMain_Sheet1.ColumnHeader.DefaultStyle.Parent = "HeaderDefault";
this.fpMain_Sheet1.ColumnHeader.HorizontalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.None);
this.fpMain_Sheet1.ColumnHeader.VerticalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.None);
this.fpMain_Sheet1.DataAutoCellTypes = false;
this.fpMain_Sheet1.GrayAreaBackColor = System.Drawing.Color.White;
this.fpMain_Sheet1.HorizontalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.None);
this.fpMain_Sheet1.OperationMode = FarPoint.Win.Spread.OperationMode.ReadOnly;
this.fpMain_Sheet1.PrintInfo.ShowBorder = false;
this.fpMain_Sheet1.Protect = false;
this.fpMain_Sheet1.RowHeader.Columns.Default.Resizable = false;
this.fpMain_Sheet1.RowHeader.DefaultStyle.BackColor = System.Drawing.Color.White;
this.fpMain_Sheet1.RowHeader.DefaultStyle.Locked = false;
this.fpMain_Sheet1.RowHeader.DefaultStyle.Parent = "HeaderDefault";
this.fpMain_Sheet1.RowHeader.HorizontalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.None);
this.fpMain_Sheet1.RowHeader.VerticalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.None);
this.fpMain_Sheet1.SelectionPolicy = FarPoint.Win.Spread.Model.SelectionPolicy.Single;
this.fpMain_Sheet1.SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Row;
this.fpMain_Sheet1.VerticalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.None);
this.fpMain_Sheet1.ReferenceStyle = FarPoint.Win.Spread.Model.ReferenceStyle.A1;
this.fpMain.SetActiveViewport(1, 1); |
-
jpg
-
jpg
|