Pages are not cente...
 
Notifications
Clear all

Pages are not centered when printing in OLTK

9 Posts
3 Users
0 Reactions
78 Views
(@djupsjob)
Posts: 6
Active Member
Topic starter
 

Description of the problem

When I print parts in OLTK, the "content" of the page is not printed centered on the page but a bit to the right. This seems to happen using both preset page sizes (A4) and a page size that I have set myself (JIS B4). The printer driver settings are identical.

Expected behaviour

The printed content should be centered on the page.

Version

2.4.4.0

"Screenshots", ie. scanned prints

 


This topic was modified 2 months ago 2 times by djupsjob
 
Posted : 26/02/2026 10:59 am
(@djupsjob)
Posts: 6
Active Member
Topic starter
 

An update: when looking closer at the pages, I noticed that OLTK seems to print the pages at a scale that isn't 100%. At least the printed output looks to be smaller than what I get when printing at "actual size" in Adobe Acrobat. Is there any scaling done?

Regardless, the initial question about the contents not being centered is still valid.


 
Posted : 26/02/2026 11:39 am
Support
(@support)
Posts: 101
Illustrious Member
 

Hi @djupsjob,

So sorry for the delayed reply - missed the notification for this one. So to start with the easy question, yes OLTK does scale pages for printing. It is roughly equivalent to Adobe Acrobat's 'Fit to page' - the idea being that it is as fire and forget as possible. If it's of interest, I can look into an 'Actual Size' mode that would not scale pages at all.

Looking at your prints, I can see the slight offset - this is interesting as I can't recreate it with my printer at home (or indeed using Microsoft Print to PDF). Could I start by getting some info on your printer - Manufacturer, Model Number, Driver version (and what the driver is called).

Cheers

Chris


 
Posted : 17/03/2026 10:14 am
(@djupsjob)
Posts: 6
Active Member
Topic starter
 

This is very interesting, as the fit to page scaling also doesn't really seem to work as it should with my setup. For instance, while adding elements like part numbers to the front page I need to calculate the margins carefully, otherwise the number gets partially or completely cut.

The printer is a Canon imageRUNNER ADVANCE C5550i, using Canon's Generic Plus PCL6 Printer Driver version 3.11.


 
Posted : 17/03/2026 10:36 am
Support
(@support)
Posts: 101
Illustrious Member
 

Thanks for the info! So unfortunately, I don't have access to any Canon printers. To diagnose this further, I'm going to need some detail from a print run using your printer. To this end, I will make a new release this weekend (hopefully I'll have time to finish it) with an option to enable printer diagnostic logging. I'll then get you to do a print on A4 to start with and send me these logs. Hopefully, the logged numbers will yield some answers.

Hopefully this is ok - it may take a couple of weeks/a bit of trial and error to get to the bottom of this.


 
Posted : 17/03/2026 10:52 am
(@djupsjob)
Posts: 6
Active Member
Topic starter
 

@support Absolutely, thanks for looking into this.


 
Posted : 17/03/2026 10:54 am
Support
(@support)
Posts: 101
Illustrious Member
 

@djupsjob Change of plans, I've got hold of an hp printer where this issue is recreated. I'll investigate further and see how we fix this whilst taking into account fit to page vs actual size etc.


 
Posted : 30/03/2026 8:01 am
Support
(@support)
Posts: 101
Illustrious Member
 

I've narrowed down the cause of this and have a fix - this will be released in 2.5.0 at some point in the next week.


 
Posted : 23/04/2026 10:10 pm
Moderator
(@renrutsirhc)
Posts: 19
Moderator Admin
 

@djupsjob OLTK 2.5.0 is released which includes the fix for this. Could you confirm the fix solves the issue with your printer?


 
Posted : 27/04/2026 10:43 am
Share: