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.

68 - Lesson observation

A4 lesson observation form: class info, scoring rubrics, and comments.

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:50px;width:300px;height:14px;box-sizing:border-box;overflow:hidden;font-size:8px;font-weight:700;color:#7C3AED;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">TEACHING &amp; RESEARCH</div>
<div style="position:absolute;left:618px;top:62px;width:128px;height:30px;box-sizing:border-box;overflow:hidden;background:#F5F3FF"></div>
<div style="position:absolute;left:618px;top:62px;width:128px;height:30px;box-sizing:border-box;overflow:hidden;font-size:8.5px;font-weight:700;color:#6D28D9;text-align:center;display:flex;align-items:center;justify-content:center;white-space:pre-wrap">教研活动记录</div>
<div style="position:absolute;left:48px;top:68px;width:400px;height:36px;box-sizing:border-box;overflow:hidden;font-size:23px;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:108px;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">LESSON OBSERVATION RECORD</div>
<div style="position:absolute;left:48px;top:136px;width:698px;height:76px;box-sizing:border-box;overflow:hidden;background:#F8FAFC"></div>
<div style="position:absolute;left:124px;top:144px;width:158px;height:18px;box-sizing:border-box;overflow:hidden;font-size:10px;font-weight:600;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">李文静</div>
<div style="position:absolute;left:334px;top:144px;width:158px;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:564px;top:144px;width:166px;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">高二(3)班</div>
<div style="position:absolute;left:62px;top:146px;width:56px;height:14px;box-sizing:border-box;overflow:hidden;font-size:7.5px;color:#64748B;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">授课教师</div>
<div style="position:absolute;left:292px;top:146px;width:40px;height:14px;box-sizing:border-box;overflow:hidden;font-size:7.5px;color:#64748B;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">学科</div>
<div style="position:absolute;left:522px;top:146px;width:40px;height:14px;box-sizing:border-box;overflow:hidden;font-size:7.5px;color:#64748B;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">班级</div>
<div style="position:absolute;left:104px;top:174px;width:178px;height:18px;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">《赤壁赋》第二课时</div>
<div style="position:absolute;left:354px;top:174px;width:138px;height:18px;box-sizing:border-box;overflow:hidden;font-size:9px;color:#0F172A;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">2026-10-27 第 2 节</div>
<div style="position:absolute;left:564px;top:174px;width:166px;height:18px;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">教学楼 A-302</div>
<div style="position:absolute;left:62px;top:176px;width:40px;height:14px;box-sizing:border-box;overflow:hidden;font-size:7.5px;color:#64748B;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">课题</div>
<div style="position:absolute;left:292px;top:176px;width:56px;height:14px;box-sizing:border-box;overflow:hidden;font-size:7.5px;color:#64748B;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">听课时间</div>
<div style="position:absolute;left:522px;top:176px;width:40px;height:14px;box-sizing:border-box;overflow:hidden;font-size:7.5px;color:#64748B;display:flex;align-items:center;justify-content:flex-start;white-space:pre-wrap">地点</div>
<div style="position:absolute;left:48px;top:232px;width:698px;height:312px;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:20.0573%;box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:36px;background:#F5F3FF;color:#6D28D9;font-size:9.5px;font-weight:600;text-align:left">教学环节</th><th style="width:54.4413%;box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:36px;background:#F5F3FF;color:#6D28D9;font-size:9.5px;font-weight:600;text-align:left">教学过程记录</th><th style="width:25.5014%;box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:36px;background:#F5F3FF;color:#6D28D9;font-size:9.5px;font-weight:600;text-align:left">评价</th></tr></thead><tbody><tr><td style="box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:46px;font-size:9.5px;color:#0F172A;text-align:left;vertical-align:middle">导入</td><td style="box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:46px;font-size:9.5px;color:#0F172A;text-align:left;vertical-align:middle">以赤壁实景视频导入,提问引出作者心境</td><td style="box-sizing:border-box;border:1px solid #E2E8F0;padding:0 6px;height:46px;font-size:9.5px;color:#0F172A;text-align:left;vertical-align:middle">情境创设自然</td></tr><tr><td style="box-sizing:border-box;borde
// …

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