Live demos
Browse the sample list on the left and preview layouts plus sample code on the right. Run a demo to print silently or preview PDF via web-print-pdf and the local client. Install and launch the client first.
Client
If results look wrong, install the latest Web Print Expert client from our site first (older builds may cause layout drift).
Layout
Preview and print follow standard HTML/CSS only—no hidden tricks. What you style is what you get.
71 - Customer satisfaction survey
A4 customer satisfaction survey: profile fields, rating questions, open feedback, and thanks.
Layout preview
Sample code
const html = `<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>客户满意度调查问卷</title>
<style>
html, body { margin: 0; padding: 0; }
.biz-sheet {
position: relative;
width: 794px;
height: 1123px;
box-sizing: border-box;
background: #fff;
font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
color: #0F172A;
overflow: hidden;
}
</style>
</head>
<body>
<div class="biz-sheet">
<div style="position:absolute;left:0px;top:0px;width:176px;height:1123px;box-sizing:border-box;overflow:hidden;background:#1E293B"></div>
<div style="position:absolute;left:212px;top:56px;width:534px;height:28px;box-sizing:border-box;overflow:hidden;font-size:20px;font-weight:700;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">客户满意度调查问卷</div>
<div style="position:absolute;left:212px;top:90px;width:534px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8px;color:#94A3B8;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">CUSTOMER SATISFACTION SURVEY</div>
<div style="position:absolute;left:24px;top:112px;width:128px;height:32px;box-sizing:border-box;overflow:hidden;font-size:22px;font-weight:700;color:#FFFFFF;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">客户满意度</div>
<div style="position:absolute;left:212px;top:112px;width:534px;height:2px;box-sizing:border-box;overflow:hidden;background:#1E293B"></div>
<div style="position:absolute;left:254px;top:126px;width:110px;height:18px;box-sizing:border-box;overflow:hidden;font-size:10px;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">张伟</div>
<div style="position:absolute;left:452px;top:126px;width:120px;height:18px;box-sizing:border-box;overflow:hidden;font-size:10px;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">138 0013 8000</div>
<div style="position:absolute;left:212px;top:128px;width:36px;height:16px;box-sizing:border-box;overflow:hidden;font-size:9px;color:#64748B;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">姓 名</div>
<div style="position:absolute;left:392px;top:128px;width:56px;height:16px;box-sizing:border-box;overflow:hidden;font-size:9px;color:#64748B;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">联系电话</div>
<div style="position:absolute;left:254px;top:146px;width:110px;height:1px;box-sizing:border-box;overflow:hidden;background:#CBD5E1"></div>
<div style="position:absolute;left:452px;top:146px;width:120px;height:1px;box-sizing:border-box;overflow:hidden;background:#CBD5E1"></div>
<div style="position:absolute;left:24px;top:150px;width:128px;height:32px;box-sizing:border-box;overflow:hidden;font-size:22px;font-weight:700;color:#FFFFFF;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">调查问卷</div>
<div style="position:absolute;left:272px;top:162px;width:140px;height:18px;box-sizing:border-box;overflow:hidden;font-size:10px;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">2026-10-27</div>
<div style="position:absolute;left:212px;top:164px;width:56px;height:16px;box-sizing:border-box;overflow:hidden;font-size:9px;color:#64748B;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">填写日期</div>
<div style="position:absolute;left:272px;top:182px;width:140px;height:1px;box-sizing:border-box;overflow:hidden;background:#CBD5E1"></div>
<div style="position:absolute;left:24px;top:192px;width:40px;height:4px;box-sizing:border-box;overflow:hidden;background:#38BDF8"></div>
<div style="position:absolute;left:24px;top:206px;width:128px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8px;color:#64748B;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">CUSTOMER SURVEY</div>
<div style="position:absolute;left:212px;top:208px;width:534px;height:40px;box-sizing:border-box;overflow:hidden;background:#F1F5F9"></div>
<div style="position:absolute;left:224px;top:216px;width:510px;height:24px;box-sizing:border-box;overflow:hidden;font-size:8.5px;color:#475569;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">说明:请根据真实体验勾选,信息仅用于服务改进并严格保密。</div>
<div style="position:absolute;left:212px;top:272px;width:250px;height:30px;box-sizing:border-box;overflow:hidden;font-size:9.5px;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">1. 您对我们的产品质量满意吗?</div>
<div style="position:absolute;left:496px;top:272px;width:250px;height:30px;box-sizing:border-box;overflow:hidden;font-size:9.5px;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">4. 您对售后问题的处理结果满意吗?</div>
<div style="position:absolute;left:24px;top:288px;width:128px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8px;color:#94A3B8;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">本问卷用于了解您</div>
<div style="position:absolute;left:24px;top:306px;width:128px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8px;color:#94A3B8;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">对产品与服务的</div>
<div style="position:absolute;left:212px;top:306px;width:250px;height:13px;box-sizing:border-box;overflow:hidden;font-size:8.5px;color:#475569;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">○ 非常满意</div>
<div style="position:absolute;left:496px;top:306px;width:250px;height:13px;box-sizing:border-box;overflow:hidden;font-size:8.5px;color:#475569;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">○ 非常满意</div>
<div style="position:absolute;left:212px;top:319px;width:250px;height:13px;box-sizing:border-box;overflow:hidden;font-size:8.5px;color:#475569;display:flex;align-items:center;justify-content:flex-st
// …
Result
- If printing fails or the client cannot connect, see Local print works—production does not? (common on HTTP deployments).
- The client’s built-in Run examples page has more editable demos; this page complements it.
- Utility demos (connection, printer list) return JSON only—no print job.