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.
82 - Property service survey
A4 property service survey: resident info, service-area ratings, and improvement items.
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:48px;top:56px;width:400px;height:32px;box-sizing:border-box;overflow:hidden;font-size:22px;font-weight:700;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">物业服务满意度调查</div>
<div style="position:absolute;left:558px;top:58px;width:188px;height:20px;box-sizing:border-box;overflow:hidden;font-size:10px;font-weight:600;color:#0F172A;text-align:right;display:flex;align-items:center;justify-content:flex-end;white-space:pre-wrap">8 幢 1203</div>
<div style="position:absolute;left:558px;top:82px;width:188px;height:18px;box-sizing:border-box;overflow:hidden;font-size:9.5px;color:#0F172A;text-align:right;display:flex;align-items:center;justify-content:flex-end;white-space:pre-wrap">林芳</div>
<div style="position:absolute;left:48px;top:94px;width:400px;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">PROPERTY SERVICE SATISFACTION SURVEY</div>
<div style="position:absolute;left:558px;top:104px;width:188px;height:18px;box-sizing:border-box;overflow:hidden;font-size:9.5px;color:#64748B;text-align:right;display:flex;align-items:center;justify-content:flex-end;white-space:pre-wrap">136 0013 6000</div>
<div style="position:absolute;left:92px;top:125px;width:140px;height:20px;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:48px;top:128px;width:40px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8.5px;color:#64748B;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">日期</div>
<div style="position:absolute;left:500px;top:128px;width:246px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8px;color:#94A3B8;text-align:right;display:flex;align-items:center;justify-content:flex-end;white-space:pre-wrap">请在每格勾选最符合的一项</div>
<div style="position:absolute;left:92px;top:145px;width:140px;height:1px;box-sizing:border-box;overflow:hidden;background:#CBD5E1"></div>
<div style="position:absolute;left:48px;top:176px;width:335px;height:150px;box-sizing:border-box;overflow:hidden;background:#FFFFFF;border:1px solid #E2E8F0;box-sizing:border-box"></div>
<div style="position:absolute;left:411px;top:176px;width:335px;height:150px;box-sizing:border-box;overflow:hidden;background:#FFFFFF;border:1px solid #E2E8F0;box-sizing:border-box"></div>
<div style="position:absolute;left:64px;top:192px;width:22px;height:22px;box-sizing:border-box;overflow:hidden;background:#0D9488"></div>
<div style="position:absolute;left:64px;top:192px;width:22px;height:22px;box-sizing:border-box;overflow:hidden;font-size:9px;font-weight:700;color:#FFFFFF;text-align:center;display:flex;align-items:center;justify-content:center;white-space:pre-wrap">1</div>
<div style="position:absolute;left:427px;top:192px;width:22px;height:22px;box-sizing:border-box;overflow:hidden;background:#0D9488"></div>
<div style="position:absolute;left:427px;top:192px;width:22px;height:22px;box-sizing:border-box;overflow:hidden;font-size:9px;font-weight:700;color:#FFFFFF;text-align:center;display:flex;align-items:center;justify-content:center;white-space:pre-wrap">2</div>
<div style="position:absolute;left:94px;top:194px;width:273px;height:18px;box-sizing:border-box;overflow:hidden;font-size:9.5px;font-weight:700;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">公共区域卫生保洁</div>
<div style="position:absolute;left:457px;top:194px;width:273px;height:18px;box-sizing:border-box;overflow:hidden;font-size:9.5px;font-weight:700;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">绿化养护与景观维护</div>
<div style="position:absolute;left:64px;top:226px;width:300px;height:15px;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:427px;top:226px;width:300px;height:15px;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:64px;top:244px;width:300px;height:15px;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:427px;top:244px;width:300px;height:15px;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:64px;top:262px;width:300px;height:15px;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:427px;top:262px;width:300px;height:15px;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:64px;top:280px;width:300px;height:15px;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:427px;top:280px;w
// …
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.