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.

73 - Training evaluation form

A4 training evaluation: session info, scored criteria, takeaways, and signature.

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:10px;height:1123px;box-sizing:border-box;overflow:hidden;background:#4338CA"></div>
<div style="position:absolute;left:48px;top:52px;width:300px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8.5px;color:#6366F1;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">TRAINING EVALUATION</div>
<div style="position:absolute;left:620px;top:60px;width:126px;height:44px;box-sizing:border-box;overflow:hidden;background:#EEF2FF;border:1px solid #C7D2FE;box-sizing:border-box"></div>
<div style="position:absolute;left:620px;top:60px;width:126px;height:44px;box-sizing:border-box;overflow:hidden;font-size:8px;color:#4338CA;text-align:center;display:flex;align-items:center;justify-content:center;white-space:pre-wrap">编号 TE-2026-____</div>
<div style="position:absolute;left:48px;top:72px;width:460px;height:36px;box-sizing:border-box;overflow:hidden;font-size:24px;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:136px;width:222px;height:52px;box-sizing:border-box;overflow:hidden;background:#F8FAFC"></div>
<div style="position:absolute;left:286px;top:136px;width:222px;height:52px;box-sizing:border-box;overflow:hidden;background:#F8FAFC"></div>
<div style="position:absolute;left:524px;top:136px;width:222px;height:52px;box-sizing:border-box;overflow:hidden;background:#F8FAFC"></div>
<div style="position:absolute;left:60px;top:144px;width:198px;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">课程名称</div>
<div style="position:absolute;left:298px;top:144px;width:198px;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">讲师</div>
<div style="position:absolute;left:536px;top:144px;width:198px;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">培训日期</div>
<div style="position:absolute;left:60px;top:162px;width:198px;height:20px;box-sizing:border-box;overflow:hidden;font-size:10px;font-weight:700;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">门店服务标准化训练营</div>
<div style="position:absolute;left:298px;top:162px;width:198px;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:536px;top:162px;width:198px;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-20 至 10-21</div>
<div style="position:absolute;left:48px;top:200px;width:340px;height:52px;box-sizing:border-box;overflow:hidden;background:#F8FAFC"></div>
<div style="position:absolute;left:406px;top:200px;width:340px;height:52px;box-sizing:border-box;overflow:hidden;background:#F8FAFC"></div>
<div style="position:absolute;left:60px;top:208px;width:316px;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">参训人</div>
<div style="position:absolute;left:418px;top:208px;width:316px;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">所属部门</div>
<div style="position:absolute;left:60px;top:226px;width:316px;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:418px;top:226px;width:316px;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:48px;top:272px;width:698px;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">评分说明:5 非常满意 · 4 满意 · 3 一般 · 2 不满意 · 1 很不满意</div>
<div style="position:absolute;left:48px;top:296px;width:698px;height:346px;box-sizing:border-box;overflow:hidden;overflow:hidden"><table style="width:100%;max-width:100%;border-collapse:collapse;table-layout:fixed;box-sizing:border-box"><thead><tr><th style="width:47.2779%;box-sizing:border-box;border:1px solid #CBD5E1;padding:0 6px;height:34px;background:#EEF2FF;color:#0F172A;font-size:9px;font-weight:600;text-align:left">评价项目</th><th style="width:18.6246%;box-sizing:border-box;border:1px solid #CBD5E1;padding:0 6px;height:34px;background:#EEF2FF;color:#0F172A;font-size:9px;font-weight:600;text-align:center">评分(1-5)</th><th style="width:34.0974%;box-sizing:border-box;border:1px solid #CBD5E1;padding:0 6px;height:34px;background:#EEF2FF;color:#0F172A;font-size:9px;font-weight:600;text-align:left">具体意见</th></tr></thead><tbody><tr><td style="box-sizing:border-box;border:1px solid #CBD5E1;padding:0 6px;height:52px;font-size:9.5px;color:#0F172A;text-align:left;vertical-align:middle">课程内容与岗位工作匹配度</td><td style="box-sizing:border-box;border:1px solid #CBD5E1;padding:0 6px;height:52px;font-size:9.5px;color:#0F17
// …

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