#1 2016-04-07 13:32:05

nzsolt
Member
Registered: 2010-10-03
Posts: 5

some modification for matrix printer

I have made some hack for Epson matrix printer with different X,Y DPI.
There is ScaleX and ScaleY in RenderMetaFile function.

You can download and merge the source from here:

nzsolt13.atw.hu/SynPdf.pas

Offline

#2 2016-04-07 13:52:27

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,236
Website

Re: some modification for matrix printer

I've included your patch as http://synopse.info/fossil/info/86d8fd7fb3

Thanks a lot for sharing!

Offline

#3 2016-04-12 11:43:39

eraldo
Member
From: Brasil
Registered: 2010-07-22
Posts: 69
Website

Re: some modification for matrix printer

After this change , ceased to function correctly TPdfCanvas.RenderMetaFile function when exporting PDF.

Please do not damage what is working!

Last edited by eraldo (2016-04-12 11:45:56)

Offline

#4 2016-04-12 15:06:51

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,236
Website

Re: some modification for matrix printer

@eraldo

Sorry to hear that.
But the patch was documented as BREAKING CHANGE...

Is it just about the newly introduced parameter?
Or is there a regression once you set properly ScaleX and ScaleY ?

Offline

#5 2016-04-12 15:57:30

eraldo
Member
From: Brasil
Registered: 2010-07-22
Posts: 69
Website

Re: some modification for matrix printer

ab wrote:

@eraldo

Sorry to hear that.
But the patch was documented as BREAKING CHANGE...

Is it just about the newly introduced parameter?
Or is there a regression once you set properly ScaleX and ScaleY ?


Hi,
Compilling the example TestSQLite3Pages.dpr you can see that now does not export the PDF correctly.

Offline

#6 2016-04-12 16:54:05

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,236
Website

Re: some modification for matrix printer

Offline

#7 2016-04-13 05:17:27

eraldo
Member
From: Brasil
Registered: 2010-07-22
Posts: 69
Website

Re: some modification for matrix printer

Now is ok!

smile

Offline

#8 2016-04-13 07:39:44

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,236
Website

Re: some modification for matrix printer

Sorry for breaking the things...
sad

Offline

Board footer

Powered by FluxBB