Live demos

Enable JavaScript to use the live demos.

Your browser is too old for this page. Please use the latest Chrome, Edge, Firefox, or Safari.

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.

75 - Event satisfaction survey

A4 event satisfaction survey: attendee info, event ratings, and open suggestions.

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:420px;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:48px;top:94px;width:420px;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">EVENT SATISFACTION SURVEY</div>
<div style="position:absolute;left:48px;top:120px;width:698px;height:40px;box-sizing:border-box;overflow:hidden;background:#FFF7ED;border:1px solid #FDBA74;box-sizing:border-box"></div>
<div style="position:absolute;left:124px;top:125px;width:360px;height:22px;box-sizing:border-box;overflow:hidden;font-size:10px;font-weight:700;color:#9A3412;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">2026 秋季产品发布会</div>
<div style="position:absolute;left:60px;top:128px;width:60px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8px;color:#C2410C;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">活动名称</div>
<div style="position:absolute;left:500px;top:128px;width:234px;height:20px;box-sizing:border-box;overflow:hidden;font-size:8px;color:#C2410C;text-align:right;display:flex;align-items:center;justify-content:flex-end;white-space:pre-wrap">请按真实体验填写</div>
<div style="position:absolute;left:92px;top:170px;width:130px;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:300px;top:170px;width:150px;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">139 0013 9000</div>
<div style="position:absolute;left:48px;top:172px;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:240px;top:172px;width:56px;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:470px;top:172px;width:276px;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:188px;width:130px;height:1px;box-sizing:border-box;overflow:hidden;background:#CBD5E1"></div>
<div style="position:absolute;left:300px;top:188px;width:150px;height:1px;box-sizing:border-box;overflow:hidden;background:#CBD5E1"></div>
<div style="position:absolute;left:48px;top:206px;width:24px;height:24px;box-sizing:border-box;overflow:hidden;background:#EA580C"></div>
<div style="position:absolute;left:48px;top:206px;width:24px;height:24px;box-sizing:border-box;overflow:hidden;font-size:10px;color:#FFFFFF;text-align:center;display:flex;align-items:center;justify-content:center;white-space:pre-wrap">1</div>
<div style="position:absolute;left:84px;top:207px;width:662px;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">您对本次活动的整体安排满意吗?</div>
<div style="position:absolute;left:84px;top:230px;width:662px;height:16px;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:48px;top:254px;width:698px;height:1px;box-sizing:border-box;overflow:hidden;background:#FED7AA"></div>
<div style="position:absolute;left:48px;top:290px;width:24px;height:24px;box-sizing:border-box;overflow:hidden;background:#EA580C"></div>
<div style="position:absolute;left:48px;top:290px;width:24px;height:24px;box-sizing:border-box;overflow:hidden;font-size:10px;color:#FFFFFF;text-align:center;display:flex;align-items:center;justify-content:center;white-space:pre-wrap">2</div>
<div style="position:absolute;left:84px;top:291px;width:662px;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">活动时间与地点对您来说是否方便?</div>
<div style="position:absolute;left:84px;top:314px;width:662px;height:16px;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:48px;top:338px;width:698px;height:1px;box-sizing:border-box;overflow:hidden;background:#FED7AA"></div>
<div style="position:absolute;left:48px;top:374px;width:24px;height:24px;box-sizing:border-box;overflow:hidden;background:#EA580C"></div>
<div style="position:absolute;left:48px;top:374px;width:24px;height:24px;box-sizing:border-box;overflow:hidden;font-size:10px;color:#FFFFFF;text-align:center;display:flex;align-items:center;justify-content:center;white-space:pre-wrap">3</div>
<div style="position:absolute;left:84px;top:375px;width:662px;height:20px;box-sizing:border-box;overflow:hidden;font-size:10px;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;wh
// …

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.
Download client free View npm package