Lot numbers not printed in landscape
|
01-31-2018, 02:09 AM
(This post was last modified: 01-31-2018 02:10 AM by TurboPT.)
Post: #31
|
|||
|
|||
RE: Lot numbers not printed in landscape
I've applied the minor adjustment for the shipping price.
In the second image, is that a lot number output or a continuation of the description just above the highlighting? |
|||
01-31-2018, 02:25 AM
Post: #32
|
|||
|
|||
RE: Lot numbers not printed in landscape
(01-31-2018 02:09 AM)TurboPT Wrote: I've applied the minor adjustment for the shipping price. That is the Lot/Batch/Serial number. https://www.linkedin.com/in/eclipsepaulbecker |
|||
01-31-2018, 02:50 AM
(This post was last modified: 01-31-2018 02:59 AM by TurboPT.)
Post: #33
|
|||
|
|||
RE: Lot numbers not printed in landscape
For that output, changes lines 394 and 405:
Offset values from: PHP Code: $pdf->addTextWrap($Left_Margin+82 //... ...to: PHP Code: $pdf->addTextWrap($Left_Margin+100 //... The previous 82 value was the copy from the portrait mode. The 100 offset matches the landscape description offset at line 367. |
|||
01-31-2018, 05:14 AM
Post: #34
|
|||
|
|||
RE: Lot numbers not printed in landscape
Updated script attached.
This covers the minor offset values mentioned in the last few posts, and now the payment terms and due date only print with invoices for both PDF and preview modes. NOTE: I'd first save (or backup) the current file before replacing! |
|||
01-31-2018, 05:22 AM
Post: #35
|
|||
|
|||
RE: Lot numbers not printed in landscape
Thank you!!!
https://www.linkedin.com/in/eclipsepaulbecker |
|||
02-01-2018, 09:02 AM
(This post was last modified: 02-01-2018 02:59 PM by TurboPT.)
Post: #36
|
|||
|
|||
RE: Lot numbers not printed in landscape
I have applied some of the landscape changes to the portrait file copy as well.
However, during testing of adding the due date into the footer, I ran into a snag related to the footer (and contents) that could become a potential issue. Now I'll have to double-check the landscape footer too. Yesterday, after a few hours of "fighting" the PDF layout/handling, as it seems to take sometimes [at least for me ![]() I'll post a separate topic to the development discussion with the issue, and a proposed change that could help. |
|||
02-03-2018, 09:18 AM
(This post was last modified: 02-06-2018 03:32 PM by TurboPT.)
Post: #37
|
|||
|
|||
RE: Lot numbers not printed in landscape
Shortly, I will be committing 4 files (PrintCustTrans.php, PrintCustTransPortrait.php, and the include headers for each) after doing some final comparisons and basic tests.
Here's a change summary:
Overall, these changes have also helped to "generally align" the two files to be nearly the same, and are easier to diff. At some future point, it could be possible to "merge" these two files into one as the primary difference is the PDF orientation and associated calculations, as Tim mentioned in post #5. |
|||
02-03-2018, 10:32 AM
Post: #38
|
|||
|
|||
RE: Lot numbers not printed in landscape
Changes committed to SVN.
|
|||
02-06-2018, 02:18 PM
Post: #39
|
|||
|
|||
RE: Lot numbers not printed in landscape
Feedback on the Lot/serial number output
The lot number line needing to be shifted on the right (see attachment) Thanks! |
|||
02-06-2018, 02:54 PM
(This post was last modified: 02-06-2018 03:27 PM by TurboPT.)
Post: #40
|
|||
|
|||
RE: Lot numbers not printed in landscape
Thanks for the feedback!
That is fixed in the SVN copy, the same feedback was also reported in post #28. See post #33. The line numbers have moved slightly since post 33, so apply those changes to lines: 377 and 388. Know that you're missing other script improvements not having the SVN copy! See post #37. Also, know that there were 4 files as part of the same commit. There are changes to the header file that gets included within the PrintCustTrans.php file. See the SVN link in post #38. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)