| 1234567891011121314151617181920212223242526272829 |
- using SiteCore;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Web;
- using System.Web.UI;
- using System.Web.UI.WebControls;
- using Utils;
- public partial class pddPrintPage : System.Web.UI.Page
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- string valuestr = CommonHelper.GetString("value");
- StringBuilder str = new StringBuilder();
- str.AppendLine("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
- str.AppendLine("<layout width=\"73\" height=\"5\" left=\"0\" top=\"2\" style=\"zIndex:1;font-size:18px;font-weight:bold;\">");
- str.AppendLine(" <text style=\"fontFamily:SimHei;fontSize:10;align:center;\">");
- str.AppendLine( valuestr);
- str.AppendLine(" </text>");
- str.AppendLine("</layout>");
- Response.Clear();
- Response.Write(str.ToString());
- Response.End();
- }
- }
|