[Gambas-user] Printing

Rolf-Werner Eilert eilert-sprachen at ...221...
Mon Oct 12 09:54:51 CEST 2015


The fact that Paint.Scale scales the fonts made it a no-go to me. Had 
the same problem with it. It's a shame actually, as one would expect a 
function that makes it possible to simply convert mm (or inch, or 
whatever) into the internal sizes. But font sizes are always the same 
and would need to stay untouched. Of course, there might be a situation 
where you have to scale the whole page (e. g. from A5 to A4), but this 
should be done by a PDF printer tool rather than by my code.

Anyway, my solution was to make an own function that converts mm into 
printer resolution (considering that the printer resolution is measured 
in inch). It doesn't work perfectly yet, but I hope to get this solved. 
There was another tip from someone here on the list, but it didn't work 
out for me, or I misinterpreted it.

If you hadn't started this discussion, I would have started one myself 
today :)

Rolf

Am 12.10.2015 09:18, schrieb Shane:
> What am I doing wrong here I'm trying to print something the same size 
> on the printer as on the screen
> but when it goes to the printer it huge ?
> I'm using Paint.Scale and from what the doc's say this should scale 
> the fonts ?
>
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list