• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Join the HP Community Solve‑a‑thon | Help Others & Share Your Solutions | Live on Zoom | 2:30 PM to 2:30 AM IST | Every Wednesday Click here to know more
HP Recommended

Hello HP Expert Team,

I run a retail jewelry shop and need to print sales invoices on A5 paper size directly from Microsoft Excel.

Product: HP Laser 107w
Connection: Wi-Fi (Network)
Operating System: Windows 10/64-bit
Driver: HP Laser 103 107 108 Full Software Driver V1.22 (Driver Version: 3.13.59.0)

Problem Description:
When sending print jobs on A5 paper directly from Microsoft Excel:
1. Print Preview inside Excel looks 100% normal, properly centered and proportional.
2. However, the physical printout on A5 paper is severely shifted to the left margin. The left-side content/table borders are completely clipped/cut off, leaving an abnormally wide empty space on the right margin.
3. Interestingly, if I print the exact same sheet via "Save as PDF" and print from a PDF viewer, it prints in the center without any problem. But doing this extra step for every single retail customer is completely impractical for my business workflow.

Settings verified:
- Paper size is set to A5 in both Excel Page Setup and Printer Properties.
- In Excel Margins, "Center on page: Horizontally and Vertically" are enabled.
- Paper guides in the input tray are properly centered and adjusted to A5.

This clearly points to a coordinate mapping / paper offset glitch between Excel's Right-to-Left table rendering and the HP/Samsung SPL driver for A5 format.

Is there any specific driver setting, firmware update, or generic HP PCL/SPL driver configuration that can correct the X-offset for A5 printing directly from Excel?

Thank you for your support.

1 REPLY 1
HP Recommended

Hello @Amir_5563, Welcome to the HP Support Community.

 

Thank you for providing such detailed information and troubleshooting results.
 

Based on your description, since the document prints correctly when exported to PDF but shifts significantly to the left when printed directly from Microsoft Excel, the issue appears to be related to the interaction between Excel page rendering, A5 paper scaling, and the HP Laser 107w print driver rather than a hardware problem with the printer itself.
 

Let's try the following troubleshooting steps:
 

Restore the printer driver defaults

  • Open Devices and Printers.
  • Right-click the HP Laser 107w and select Printing Preferences.
  • Click Restore Defaults.
  • Reconfigure only the paper size to A5 and test printing again.

Verify A5 paper size consistency

  • Ensure A5 is selected in:
    • Excel Page Setup
    • Printer Preferences
    • Windows Paper Settings
  • A mismatch between application and driver paper definitions can cause margin offset issues.

Disable Excel scaling

  • In Excel, navigate to Page Layout > Scale to Fit.
  • Set:
    • Width = Automatic
    • Height = Automatic
    • Scale = 100%
  • Then test with a simple worksheet containing borders near all page edges.

Create a custom A5 form in Windows

  • Open Print Server Properties.
  • Create a new custom form using the exact A5 dimensions:
    • 148 mm × 210 mm
  • Assign the custom form to the printer and test again.

Test using the Windows System Dialog

  • In Excel, select File > Print > Print Using System Dialog (Ctrl+Shift+F12).
  • Print directly through the Windows print dialog instead of Excel's modern print interface.

Update or reinstall the print driver

Have a great day!

I'm an HP Employee.


If this reply helped resolve your issue, please select the Accept as Solution as it helps others in the community quickly find the answer they’re looking for.


And if you found this reply helpful, clicking Yes below is a great way to let us know we’re providing the support you need, as it encourages us to keep improving and sharing helpful guidance.

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.
-->