Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Form Designer: Measurements NOT in mm
05-01-2012, 05:37 PM
Post: #1
Form Designer: Measurements NOT in mm
Hello,

I need to recode the format for the Purchase Order and started looking at the Form Designer. After a few hours of banging my head on the table since the measurements in Form Designer don't match what gets printed, I started digging into the code. (BTW: Please update to the most current TCPDF 5.9.159 it supports more barcodes and fixes some barcode problems). And Found THIS:

At the top of the Form Designer page is this line:

All measurements are in millimetres.

they aren't the measurements are in POINTS (72dpi = 72pts per inch)

Here is where this comes from: PDFStarter.php

$pdf = new Cpdf($DocumentOrientation, 'pt', $DocumentPaper);

See the 'pt' ? that sets points.

The text on the Form Designer page needs to be updated.
Find all posts by this user
Quote this message in a reply
05-02-2012, 12:12 PM
Post: #2
RE: Form Designer: Measurements NOT in mm
Hi, Sir,

The text in FormDesigners have been updated!

Best regards!

Exson
Find all posts by this user
Quote this message in a reply
05-02-2012, 01:35 PM
Post: #3
RE: Form Designer: Measurements NOT in mm
Thank you,

Didn't mean to sound angry.
It was 1:30 in the morning and I was trying to keep my message short.

Thanks for all the hard work.

JC
Find all posts by this user
Quote this message in a reply
05-05-2012, 07:47 AM (This post was last modified: 05-05-2012 07:49 AM by phil.)
Post: #4
RE: Form Designer: Measurements NOT in mm
Thanks for the head up about the new TCPDF will do!
Now at 5.9.160 - things are moving fast.

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
05-19-2014, 04:56 PM
Post: #5
RE: Form Designer: Measurements NOT in mm
(05-01-2012 05:37 PM)MTPubRadio Wrote:  Hello,

I need to recode the format for the Purchase Order and started looking at the Form Designer. After a few hours of banging my head on the table since the measurements in Form Designer don't match what gets printed, I started digging into the code. (BTW: Please update to the most current TCPDF 5.9.159 it supports more barcodes and fixes some barcode problems). And Found THIS:

At the top of the Form Designer page is this line:

All measurements are in millimetres.

they aren't the measurements are in POINTS (72dpi = 72pts per inch)

Here is where this comes from: PDFStarter.php

$pdf = new Cpdf($DocumentOrientation, 'pt', $DocumentPaper);

See the 'pt' ? that sets points.

The text on the Form Designer page needs to be updated.

sorry for so late reply ! but just wondering what problem will meet about barcode ?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)