<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Print Button Example</title>
<style>
    body {
        font-family: Arial, sans-serif;
        padding: 20px;
    }

    /* Print button style */
    .print-btn {
        background-color: #007bff;
        color: white;
        padding: 10px 18px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-size: 16px;
        transition: 0.3s;
    }

    .print-btn:hover {
        background-color: #0056b3;
    }

    /* Hide button during printing */
    @media print {
        .print-btn {
            display: none;
        }
    }
</style>
</head>
<body>

<h2>Print Button Example</h2>
<p>This is some sample content. Click the button below to print this page.</p>

<!-- Print button -->
<button class="print-btn" onclick="window.print()">🖨 Print</button>

</body>
</html>
