You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(20) |
Aug
(21) |
Sep
(12) |
Oct
(2) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(3) |
Feb
(46) |
Mar
(65) |
Apr
(49) |
May
(33) |
Jun
(5) |
Jul
(79) |
Aug
(228) |
Sep
(347) |
Oct
(272) |
Nov
(270) |
Dec
(424) |
2005 |
Jan
(549) |
Feb
(232) |
Mar
(134) |
Apr
(103) |
May
(57) |
Jun
(74) |
Jul
(67) |
Aug
(45) |
Sep
(99) |
Oct
(187) |
Nov
(238) |
Dec
(127) |
2006 |
Jan
(81) |
Feb
(137) |
Mar
(46) |
Apr
(55) |
May
(62) |
Jun
(152) |
Jul
(137) |
Aug
(154) |
Sep
(176) |
Oct
(104) |
Nov
(65) |
Dec
(64) |
2007 |
Jan
(56) |
Feb
(303) |
Mar
(88) |
Apr
(80) |
May
(72) |
Jun
(20) |
Jul
(47) |
Aug
(28) |
Sep
(113) |
Oct
(49) |
Nov
(89) |
Dec
(24) |
2008 |
Jan
(24) |
Feb
(61) |
Mar
(43) |
Apr
(51) |
May
(12) |
Jun
(10) |
Jul
(49) |
Aug
(26) |
Sep
(7) |
Oct
(50) |
Nov
(19) |
Dec
(15) |
2009 |
Jan
(87) |
Feb
(144) |
Mar
(54) |
Apr
(72) |
May
(32) |
Jun
(23) |
Jul
(27) |
Aug
(90) |
Sep
(349) |
Oct
(174) |
Nov
(320) |
Dec
(110) |
2010 |
Jan
(162) |
Feb
(39) |
Mar
(80) |
Apr
(126) |
May
(45) |
Jun
(44) |
Jul
(75) |
Aug
(32) |
Sep
(100) |
Oct
(57) |
Nov
(49) |
Dec
(125) |
2011 |
Jan
(72) |
Feb
(41) |
Mar
(63) |
Apr
(18) |
May
(123) |
Jun
(100) |
Jul
(96) |
Aug
(84) |
Sep
(83) |
Oct
(39) |
Nov
(166) |
Dec
(103) |
2012 |
Jan
(158) |
Feb
(148) |
Mar
(77) |
Apr
(43) |
May
(126) |
Jun
(82) |
Jul
(67) |
Aug
(28) |
Sep
(109) |
Oct
(30) |
Nov
(23) |
Dec
(34) |
2013 |
Jan
(14) |
Feb
(16) |
Mar
(7) |
Apr
(79) |
May
(76) |
Jun
(13) |
Jul
(76) |
Aug
(36) |
Sep
(22) |
Oct
(35) |
Nov
(167) |
Dec
(93) |
2014 |
Jan
(64) |
Feb
(14) |
Mar
(57) |
Apr
(63) |
May
(60) |
Jun
(15) |
Jul
(24) |
Aug
(19) |
Sep
(56) |
Oct
(70) |
Nov
(45) |
Dec
(52) |
2015 |
Jan
(56) |
Feb
(73) |
Mar
(34) |
Apr
(11) |
May
(24) |
Jun
(19) |
Jul
(11) |
Aug
(8) |
Sep
(25) |
Oct
(22) |
Nov
(38) |
Dec
(7) |
2016 |
Jan
(7) |
Feb
(34) |
Mar
(17) |
Apr
(10) |
May
(17) |
Jun
(7) |
Jul
(17) |
Aug
(31) |
Sep
(3) |
Oct
(34) |
Nov
(5) |
Dec
(2) |
2017 |
Jan
|
Feb
(4) |
Mar
(18) |
Apr
(6) |
May
(10) |
Jun
(13) |
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
|
Dec
(1) |
2018 |
Jan
(2) |
Feb
|
Mar
(3) |
Apr
(10) |
May
(5) |
Jun
|
Jul
(7) |
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
(2) |
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
(6) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
(3) |
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2022 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(30) |
Nov
|
Dec
(2) |
From: Rafael C. <raf...@gm...> - 2015-02-12 22:02:26
|
Hi Vitaly, Thank you very much for you contribution. I will add your lines to the function before send the update. Also, I will add: * "Greater/Less than or equal to" comparisons instead of "Greater/Less than" to cover the possibility of exact matches (even character width are calculated at the level of 1/1000 dpi). * The use of soft-hyphen instead of hard-hyphen as break points. * Other contributions. The problem that you points out, also occurs when null, line-feed, carriage-return, back-slash, single-quote, double-quotes, and control-Z are escaped. This occurs when we use functions like mysqli_real_escape_string() --e.g. inside of function DB_escape_string()--. It is pending: * The use of curly braces {} to access characters in a string. Some PHP's documents say that this syntax is deprecated, but other do not (ref: php.net/manual/de/language.types.string.php vs. php.net/manual/en/language.types.string.php). Also, we have concerns about how multi-byte safe is. Best regards, Rafael. 2015-02-12 13:45 GMT-06:00 Vitaly Shevkunov <vsh...@so...>: > Rafael, > > Your function looks much more readable than the original. I also like that > it does splitting on the "\n" instead of relying on some external code to > do that. > I will try it on my test system to see how much it will affect various > forms. > > So far I noticed that sometimes a text, pasted from the text editor, may > have \r\n encoded as a text. It looks like that in PDF > line1\r\nline2\r\n > instead of > line1 > line2 > > I would like to add this to you function to cover all possible line ending > combinations > > $text = str_replace('\r','',$text); // single quotes - no string parsing > in PHP > $text = str_replace('\n',"\n",$text); // replace '\n' text with new line > character > > Regards, > > Vitaly > > > On 2/11/2015 4:44 PM, Rafael Chacón wrote: > > Hi Andrew, > > I enclose my new AddTextWrap. Inside ~/includes/class.pdf.php, replace > AddTextWrap lines (80-169) with lines 3-66 of the included file. > > Comments: > * I'm testing with last version of Nicola Asuni's TCPDF. > * It is possible to replace line 56 ("$textwidth += > $this->GetStringWidth($c);") with two lines. Those two lines makes the > function a little faster in some cases ($text width near the cell width), > but slower in other cases ($text width far from the cell width). > > Best regards, Rafael. > > 2015-02-11 16:19 GMT-06:00 Andrew Galuski <aga...@re...>: > >> I am trouble shooting the same problem today where it wraps text >> smaller than the width. The added $s = trim($s).' ';" causes an issue >> for me. Or you can change a do while loop from < to <= $nb and it appears >> to fix same issue. My worry was testing all existing forms. If you can send >> me your update I will test it in my environment for all my forms. >> >> Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G LTE >> network. >> *From: *Rafael Chacón >> *Sent: *Wednesday, February 11, 2015 3:26 PM >> *To: *webERP Developers >> *Reply To: *webERP Developers >> *Subject: *Re: [WebERP-developers] PDF generator in webERP. >> >> Hi Vitaly, >> >> Thank you for writing. >> >> About >> "$lines=explode("\r\n",htmlspecialchars_decode($myrow2['narrative']));": >> This line returns an array of strings, each of which is a substring of >> $myrow2['narrative'] formed by splitting it on boundaries formed by the >> characters Carriage_Return ("\r") and Line_Feed ("\n"). It only works for >> msWindows (Unix-like and Mac OS-10 use Line_Feed; Mac OS up to version 9 >> uses Carriage_Return). >> >> The problem in PrintCustTransPortrait.php (and other reports) is caused >> by two bugs in AddTextWarp(): >> >> 1. Line 108: "$s = trim($s).' ';" (extra blank character -> the extra >> white line). >> 2. Lines from 106 to 164: (the logic of the code -> splitting in the last >> white_space of a segment smaller that the cell width). >> >> My purpose in asking if someone "has problem with this function (last >> line line-feeded before the end) ?" is know who else experiences that >> problem. >> >> I have a new AddTextWrap that fixes both bugs. It is faster and produces >> PDF files with a slightly smaller size, but --obviously-- it not produce >> the extra blank line in segments smaller than cell width. Many users like >> this (no extra blank line) but there are some users who ask me to re-do >> this extra blank line. >> >> I would like other people tests this new AddTextWrap. Although this extra >> blank line is a bug, I am not comfortable with the idea of a potential >> change in actual reports. >> >> Best regards, Rafael. >> >> >> 2015-02-11 8:25 GMT-06:00 Vitaly Shevkunov <vsh...@so...>: >> >>> Rafael, >>> >>> The addTextWrap() does not split the line like that. It is done by this >>> function >>> $lines=explode("\r\n",htmlspecialchars_decode($myrow2['narrative'])); >>> >>> in PrintCustTransPortrait.php >>> >>> >>> Vitaly >>> >>> >>> On 2/10/2015 9:38 PM, Rafael Chacón wrote: >>> >>> HI Phil, >>> >>> Thank you for your answer. >>> >>> Topic 1: From R&OS -> FPDF -> TCPDF. For future pdf development, I think >>> it will be better to directly use TCPDF: (a) Y-coordinate= instead of >>> calculating as from page-bottom to cell-bottom and the script class.pdf.php >>> translates to page-top to cell-top to use tcpdf.php, we can directly use >>> page-top to cell-top and TCPDF; (b) TCPDF has interesting functions >>> (writeHTML, writeHTMLCell, etc.) to write code html (a screen report) into >>> a pdf. >>> >>> Topic 2: tcpdf 6.2.6 has new fonts and others.They may be helpful to >>> give more options to reports. >>> >>> Topic 3: With PrintCustTransPortrait.php (and other reports) I have >>> unexpected breaks (see enclose) and prints lines with whitespace. The >>> problems are inside AddTextWarp(). >>> >>> Regards, Rafael. >>> >>> >>> 2015-02-09 22:34 GMT-06:00 Phil Daintree <ph...@lo...>: >>> >>>> Yes originally used R & OS pdf library. >>>> Moved to Oliver Plathey FPDF http://www.fpdf.org/ >>>> The class.pdf.php was created to allow the transition to FPDF >>>> ... then to TCPDF which was a development of FPDF which allowed utf-8 >>>> pdfs - using CID fonts rather than embedding a large monster font file into >>>> each pdf - so a small 10k report becomes 2 Meg. This was not considered >>>> acceptable. >>>> I update tcpdf from time to time. >>>> >>>> Not sure about 3. >>>> >>>> Phil >>>> >>>> Phil Daintree >>>> Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz >>>> >>>> On 10/02/15 13:37, Rafael Chacón wrote: >>>> >>>> Hi, >>>> >>>> Some questions: >>>> >>>> 1. webERP begun using PHP Pdf creation - R&OS ( >>>> http://sourceforge.net/projects/pdf-php/). Then, webERP moved to TCPDF >>>> (http://www.tcpdf.org/). Javier de Lorenzo-Cáceres wrote >>>> ~/includes/class.pdf.php to use TCPDF with "PHP_Pdf_creation_-_R&OS syntax" >>>> (old code). Is it right? >>>> >>>> 2. Someone has updated the ~/includes/tcpdf folder with TCPDF version >>>> 6.2.6 ? >>>> >>>> 3. Someone has replaced the function AddTextWarp() or has problem with >>>> this function (last line line-feeded before the end) ? >>>> >>>> Best regards, Rafael. >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Dive into the World of Parallel Programming. The Go Parallel Website, >>>> sponsored by Intel and developed in partnership with Slashdot Media, is your >>>> hub for all things parallel software development, from weekly thought >>>> leadership blogs to news, videos, case studies, tutorials and more. Take a >>>> look and join the conversation now. http://goparallel.sourceforge.net/ >>>> >>>> >>>> >>>> _______________________________________________ >>>> Web-erp-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Dive into the World of Parallel Programming. The Go Parallel Website, >>>> sponsored by Intel and developed in partnership with Slashdot Media, is >>>> your >>>> hub for all things parallel software development, from weekly thought >>>> leadership blogs to news, videos, case studies, tutorials and more. >>>> Take a >>>> look and join the conversation now. http://goparallel.sourceforge.net/ >>>> _______________________________________________ >>>> Web-erp-developers mailing list >>>> Web...@li... >>>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>>> >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming. The Go Parallel Website, >>> sponsored by Intel and developed in partnership with Slashdot Media, is your >>> hub for all things parallel software development, from weekly thought >>> leadership blogs to news, videos, case studies, tutorials and more. Take a >>> look and join the conversation now. http://goparallel.sourceforge.net/ >>> >>> >>> >>> _______________________________________________ >>> Web-erp-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>> >>> >>> >>> No virus found in this message. >>> Checked by AVG - www.avg.com >>> Version: 2015.0.5646 / Virus Database: 4284/9096 - Release Date: 02/11/15 >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming. The Go Parallel Website, >>> sponsored by Intel and developed in partnership with Slashdot Media, is >>> your >>> hub for all things parallel software development, from weekly thought >>> leadership blogs to news, videos, case studies, tutorials and more. Take >>> a >>> look and join the conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Web-erp-developers mailing list >>> Web...@li... >>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>> >>> >> >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > Web-erp-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2015.0.5646 / Virus Database: 4284/9102 - Release Date: 02/12/15 > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > |
From: Vitaly S. <vsh...@so...> - 2015-02-12 19:46:01
|
Rafael, Your function looks much more readable than the original. I also like that it does splitting on the "\n" instead of relying on some external code to do that. I will try it on my test system to see how much it will affect various forms. So far I noticed that sometimes a text, pasted from the text editor, may have \r\n encoded as a text. It looks like that in PDF line1\r\nline2\r\n instead of line1 line2 I would like to add this to you function to cover all possible line ending combinations $text = str_replace('\r','',$text); // single quotes - no string parsing in PHP $text = str_replace('\n',"\n",$text); // replace '\n' text with new line character Regards, Vitaly On 2/11/2015 4:44 PM, Rafael Chacón wrote: > Hi Andrew, > > I enclose my new AddTextWrap. Inside ~/includes/class.pdf.php, replace > AddTextWrap lines (80-169) with lines 3-66 of the included file. > > Comments: > * I'm testing with last version of Nicola Asuni's TCPDF. > * It is possible to replace line 56 ("$textwidth += > $this->GetStringWidth($c);") with two lines. Those two lines makes the > function a little faster in some cases ($text width near the cell > width), but slower in other cases ($text width far from the cell width). > > Best regards, Rafael. > > 2015-02-11 16:19 GMT-06:00 Andrew Galuski <aga...@re... > <mailto:aga...@re...>>: > > I am trouble shooting the same problem today where it wraps text > smaller than the width. The added $s = trim($s).' ';" causes an > issue for me. Or you can change a do while loop from < to <= $nb > and it appears to fix same issue. My worry was testing all > existing forms. If you can send me your update I will test it in > my environment for all my forms. > > Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G > LTE network. > *From: *Rafael Chacón > *Sent: *Wednesday, February 11, 2015 3:26 PM > *To: *webERP Developers > *Reply To: *webERP Developers > *Subject: *Re: [WebERP-developers] PDF generator in webERP. > > > Hi Vitaly, > > Thank you for writing. > > About > "$lines=explode("\r\n",htmlspecialchars_decode($myrow2['narrative']));": > This line returns an array of strings, each of which is a > substring of $myrow2['narrative'] formed by splitting it on > boundaries formed by the characters Carriage_Return ("\r") and > Line_Feed ("\n"). It only works for msWindows (Unix-like and Mac > OS-10 use Line_Feed; Mac OS up to version 9 uses Carriage_Return). > > The problem in PrintCustTransPortrait.php (and other reports) is > caused by two bugs in AddTextWarp(): > > 1. Line 108: "$s = trim($s).' ';" (extra blank character -> the > extra white line). > 2. Lines from 106 to 164: (the logic of the code -> splitting in > the last white_space of a segment smaller that the cell width). > > My purpose in asking if someone "has problem with this function > (last line line-feeded before the end) ?" is know who else > experiences that problem. > > I have a new AddTextWrap that fixes both bugs. It is faster and > produces PDF files with a slightly smaller size, but --obviously-- > it not produce the extra blank line in segments smaller than cell > width. Many users like this (no extra blank line) but there are > some users who ask me to re-do this extra blank line. > > I would like other people tests this new AddTextWrap. Although > this extra blank line is a bug, I am not comfortable with the idea > of a potential change in actual reports. > > Best regards, Rafael. > > > 2015-02-11 8:25 GMT-06:00 Vitaly Shevkunov > <vsh...@so... <mailto:vsh...@so...>>: > > Rafael, > > The addTextWrap() does not split the line like that. It is > done by this function > $lines=explode("\r\n",htmlspecialchars_decode($myrow2['narrative'])); > > in PrintCustTransPortrait.php > > > Vitaly > > > On 2/10/2015 9:38 PM, Rafael Chacón wrote: >> HI Phil, >> >> Thank you for your answer. >> >> Topic 1: From R&OS -> FPDF -> TCPDF. For future pdf >> development, I think it will be better to directly use TCPDF: >> (a) Y-coordinate= instead of calculating as from page-bottom >> to cell-bottom and the script class.pdf.php translates to >> page-top to cell-top to use tcpdf.php, we can directly use >> page-top to cell-top and TCPDF; (b) TCPDF has interesting >> functions (writeHTML, writeHTMLCell, etc.) to write code html >> (a screen report) into a pdf. >> >> Topic 2: tcpdf 6.2.6 has new fonts and others.They may be >> helpful to give more options to reports. >> >> Topic 3: With PrintCustTransPortrait.php (and other reports) >> I have unexpected breaks (see enclose) and prints lines with >> whitespace. The problems are inside AddTextWarp(). >> >> Regards, Rafael. >> >> >> 2015-02-09 22:34 GMT-06:00 Phil Daintree >> <ph...@lo... <mailto:ph...@lo...>>: >> >> Yes originally used R & OS pdf library. >> Moved to Oliver Plathey FPDF http://www.fpdf.org/ >> The class.pdf.php was created to allow the transition to FPDF >> ... then to TCPDF which was a development of FPDF which >> allowed utf-8 pdfs - using CID fonts rather than >> embedding a large monster font file into each pdf - so a >> small 10k report becomes 2 Meg. This was not considered >> acceptable. >> I update tcpdf from time to time. >> >> Not sure about 3. >> >> Phil >> >> Phil Daintree >> Logic Works Ltd - +64 (0)275 567890 >> http://www.logicworks.co.nz >> >> On 10/02/15 13:37, Rafael Chacón wrote: >>> Hi, >>> >>> Some questions: >>> >>> 1. webERP begun using PHP Pdf creation - R&OS >>> (http://sourceforge.net/projects/pdf-php/). Then, webERP >>> moved to TCPDF (http://www.tcpdf.org/). Javier de >>> Lorenzo-Cáceres wrote ~/includes/class.pdf.php to use >>> TCPDF with "PHP_Pdf_creation_-_R&OS syntax" (old code). >>> Is it right? >>> >>> 2. Someone has updated the ~/includes/tcpdf folder with >>> TCPDF version 6.2.6 ? >>> >>> 3. Someone has replaced the function AddTextWarp() or >>> has problem with this function (last line line-feeded >>> before the end) ? >>> >>> Best regards, Rafael. >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming. The Go Parallel Website, >>> sponsored by Intel and developed in partnership with Slashdot Media, is your >>> hub for all things parallel software development, from weekly thought >>> leadership blogs to news, videos, case studies, tutorials and more. Take a >>> look and join the conversation now.http://goparallel.sourceforge.net/ >>> >>> >>> _______________________________________________ >>> Web-erp-developers mailing list >>> Web...@li... <mailto:Web...@li...> >>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go >> Parallel Website, >> sponsored by Intel and developed in partnership with >> Slashdot Media, is your >> hub for all things parallel software development, from >> weekly thought >> leadership blogs to news, videos, case studies, tutorials >> and more. Take a >> look and join the conversation now. >> http://goparallel.sourceforge.net/ >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> <mailto:Web...@li...> >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now.http://goparallel.sourceforge.net/ >> >> >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... <mailto:Web...@li...> >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> >> No virus found in this message. >> Checked by AVG - www.avg.com <http://www.avg.com> >> Version: 2015.0.5646 / Virus Database: 4284/9096 - Release >> Date: 02/11/15 >> > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel > Website, > sponsored by Intel and developed in partnership with Slashdot > Media, is your > hub for all things parallel software development, from weekly > thought > leadership blogs to news, videos, case studies, tutorials and > more. Take a > look and join the conversation now. > http://goparallel.sourceforge.net/ > <http://goparallel.sourceforge.net/> > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot > Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and > more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > No virus found in this message. > Checked by AVG - www.avg.com <http://www.avg.com> > Version: 2015.0.5646 / Virus Database: 4284/9102 - Release Date: 02/12/15 > |
From: ExsonQu <hex...@gm...> - 2015-02-12 07:50:17
|
*Dear all,* Thank you for all your great attribution to webERP. During use work orders for multiple out for one WO, we found that there is no choice to delete the wrong input item. For instance, if we make a wrong choice to select bread to work orders, we have no way to correct the mistake, except cancel the whole work orders. I suggest to change the current behavior to allow delete or a 0 quantity request to allow mistakes like this correctable. Or there are other condition for this design which I overlooked? Any comments are highly appreciated! Best regards! Exson -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Some-modification-suggestion-for-work-orders-tp4658091.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |
From: wertthey <jp...@nu...> - 2015-02-12 05:25:25
|
It does work, although not pretty. That being said,... I am not coder...I have hacked it and it works. Any help in proper implementation would be nice. When I added the picture to the SelectProduct.php years back, I sent that in and someone who could code well cleaned it up for us. That worked as well, but it was a hack too. At that same time I tried to make it as clean as someone with my skills could make it.... If you have any questions I will do my best to help. ----- Using weberp since 2004, Thanks for all your hard work! -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-Added-qrcode-for-part-labeling-tp4658077p4658090.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |
From: wertthey <jp...@nu...> - 2015-02-12 05:22:35
|
Thanks I was un-aware of that. Something about weberp, mostly in reports, I got tired of needing to worry about waiting for pdf's to generate. It is so quick to have it in html code and print straight from a browser. When working with parts, my people may be going through 1000's during a cycle count. Literally hitting print and having a sticker in under 2 secs makes a difference. Rather then popping up a pdf that depending on what update goes on the browser may or may not open in the browser, you may need to save it.... To me something like this seems simple. ----- Using weberp since 2004, Thanks for all your hard work! -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-Added-qrcode-for-part-labeling-tp4658077p4658089.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |
From: wertthey <jp...@nu...> - 2015-02-12 05:13:41
|
Actually I thought that barcode pack is not capable of QR bar code. From what we have noticed qrcode is much quicker to scan, can hold more data and less prone to mis-scan. ----- Using weberp since 2004, Thanks for all your hard work! -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-Added-qrcode-for-part-labeling-tp4658077p4658088.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |
From: gilberto d. s. a. <gs...@gm...> - 2015-02-12 04:27:55
|
hi. this url barcodepack.com do not exist (from brazil we do not find whois barcodepack.com). I find this project on sourceforge [1] it is same that we have inside weberp/includes. Good examples on tcpdf.org [2]. thanks. [1] http://sourceforge.net/projects/barcodepack/files/?source=directory [2] http://www.tcpdf.org/examples.php 2015-02-11 18:27 GMT-02:00 <ph...@lo...>: > There is already a barcode library bundled with webERP see > includes/barcodepack > > http://www.barcodepack.com > > Which looks to be capable of producing qr codes. I hate to add duplicate > code and would rather reuse what we have than add additional libraries. > Maybe your label could be modified to use this class? > > Phil > > On 2015-02-11 09:36, wertthey wrote: > > Over the last few years I keep adding the same code each revision I > > upgrade I > > think that it is very helpful and would like to share it. It uses code > > from > > > > FROM > > > > http://phpqrcode.sourceforge.net/ > > > > http://phpqrcode.sourceforge.net/examples/index.php > > > > > > * PHP QR Code is distributed under LGPL 3 > > * Copyright (C) 2010 Dominik Dzienia > > > > > > > > I do understand that there is a whole label feature, but it really > > doesn't > > really work well for us. When I send our employees out to the > > worksite on > > a job, they where loosing (not accounting) for product that they > > installed. > > We would end up with a handful of postit notes and paper scraps of > > product > > that they used at the client (if we were lucky). [P.S. Almost never can > > we > > cut a sales order before sending out the employee. They never know > > what > > they need until they get there] It was a mess. > > > > So I added this to help us label EVERYTHING that we receive. When we > > receive the product in shipping we add a label that allows us to > > quickly > > identify the product. This also allows us to have something that our > > employees in the field can quickly capture on the cell phones (bar-code > > box > > scan app works well, and they can then email the list to our person > > that > > does the invoicing) We are no longer missing product and it allows us > > to > > quickly to invoice. > > > > > > So during our receiving process................................... > > > > > > As shipping receives the product. We have them count the items out of > > the > > box and then Enter the "This Delivery Quantity" At that time they > > click on > > the Item code, which opens a new unique (Not a Blank) target window to > > show > > the label. Rather than the photo. > > > > < > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/GoodsReceived.jpg > > > > > > > > > > To make this work, I modified the follow line to GoodsReceived.php > > below > > the jwp > > > > ####MODIFICATION FOR THE GoodsReceived.php > > ############################## > > > > > > ####MODIFICATION FOR THE GoodsReceived.php > > ############################## > > > > <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/label.jpg> > > > > this label is really nice as we have a few dymo labelwriter 400 which > > can > > print it on a on cheap address labels. The shipping person just hits > > print > > in the browser and chooses the number of copies. no pdf etc. Just > > print. > > > > If for some reason we find a part in the stock room that does not have > > a > > label, I have modified the SelectProduct.php page so that while you are > > looking at the item you can print a label. > > > > < > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/SelectProduct.jpg > > > > > > which opens the label in its own page. > > > > < > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/labelPower.jpg > > > > > > > > To make this work, I modified the follow line to SelectProduct.php > > below > > the jwp > > > > ####MODIFICATION FOR THE SelectProduct.php > > ############################## > > > > > > > > ####MODIFICATION FOR THE SelectProduct.php > > ############################## > > > > > > the code from http://phpqrcode.sourceforge.net/ resides for me under > > > > /qrcode/phpqrcode/ > > > > > > where I modified the index.php that came with the phpqrcode. > > from (Copyright (C) 2010 Dominik Dzienia ) so it looks like > > > > > > ####MODIFICATION FOR THE LABEL index.php ############################## > > > > > > > > ####MODIFICATION FOR THE LABEL index.php ############################## > > > > > > It would be nice to be able to have a setting for both the label image > > size > > pixels and the qrcode size (1-5) in setup System Parameters since the > > description and the part number are already limited in size it works > > out > > nicely. > > > > > > I hope this helps someone and I would hope even more, it may be added > > to > > future versions. > > > > > > > > > > > > ----- > > Using weberp since 2004, Thanks for all your hard work! > > -- > > View this message in context: > > > http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-Added-qrcode-for-part-labeling-tp4658077.html > > Sent from the web-ERP-developers mailing list archive at Nabble.com. > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming. The Go Parallel Website, > > sponsored by Intel and developed in partnership with Slashdot Media, is > > your > > hub for all things parallel software development, from weekly thought > > leadership blogs to news, videos, case studies, tutorials and more. > > Take a > > look and join the conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > -- gilberto dos santos alves +55(11)9-8646-5049 sao paulo - sp - brasil |
From: gilberto d. s. a. <gs...@gm...> - 2015-02-12 03:28:05
|
hummm. thanks. i will read this Labels and make tests to understand how this work and what is going on. regards. 2015-02-12 0:22 GMT-02:00 <ph...@lo...>: > Well it looks like there is some problem with this script... > > http://www.weberp.org/weberp/Labels.php > > Should allow you to define labels with a number of fields - with one > option a barcode > > > On 2015-02-11 19:10, gilberto dos santos alves wrote: > > Please could some one point me one single example o barcode (ean13, > > code 39, upc-a, QR) inside weberp available on sourceforce? thanks for > > you time. > > > > 2015-02-11 20:15 GMT-02:00 Rafael Chacón > > <raf...@gm...>: > > > >> Hi, > >> > >> Thank you Wertthey. Very interesting. Barcodes are very useful in > >> several processes and they don't need special devices (an android > >> smarphone with ZXing's barcode scanner does the job!). > >> > >> In the past, we worked to have labels with barcode for products and > >> for product bins. It helps a lot in inventory control and in > >> picking/packing process. > >> > >> We used Folke Ashberg's PHP-Barcode. Today, we are looking for > >> moving the code to one of the libraries used by webERP: > >> 1. Tomáš Horáček's BarcodePack; or > >> 2. Nicola Asuni's TCPDF (http://www.tcpdf.org/ [11]). > >> > >> TCPDF is a library used in webERP's PDF output. It has 1D barcode in > >> HTML, PNG, SVG and SVGI formats. Also, it has datamatrix, pdf417 and > >> qrcode 2D barcodes; all in HTML, PNG, SVG and SVGI formats. > >> > >> Best regards, Rafael. > >> > >> 2015-02-11 14:27 GMT-06:00 <ph...@lo...>: > >> > >>> There is already a barcode library bundled with webERP see > >>> includes/barcodepack > >>> > >>> http://www.barcodepack.com [1] > >>> > >>> Which looks to be capable of producing qr codes. I hate to add > >>> duplicate > >>> code and would rather reuse what we have than add additional > >>> libraries. > >>> Maybe your label could be modified to use this class? > >>> > >>> Phil > >>> > >>> On 2015-02-11 09:36, wertthey wrote: > >>>> Over the last few years I keep adding the same code each > >>> revision I > >>>> upgrade I > >>>> think that it is very helpful and would like to share it. It > >>> uses code > >>>> from > >>>> > >>>> FROM > >>>> > >>>> http://phpqrcode.sourceforge.net/ [2] > >>>> > >>>> http://phpqrcode.sourceforge.net/examples/index.php [3] > >>>> > >>>> > >>>> * PHP QR Code is distributed under LGPL 3 > >>>> * Copyright (C) 2010 Dominik Dzienia > >>>> > >>>> > >>>> > >>>> I do understand that there is a whole label feature, but it > >>> really > >>>> doesn't > >>>> really work well for us. When I send our employees out to the > >>>> worksite on > >>>> a job, they where loosing (not accounting) for product that > >>> they > >>>> installed. > >>>> We would end up with a handful of postit notes and paper scraps > >>> of > >>>> product > >>>> that they used at the client (if we were lucky). [P.S. Almost > >>> never can > >>>> we > >>>> cut a sales order before sending out the employee. They never > >>> know > >>>> what > >>>> they need until they get there] It was a mess. > >>>> > >>>> So I added this to help us label EVERYTHING that we receive. > >>> When we > >>>> receive the product in shipping we add a label that allows us > >>> to > >>>> quickly > >>>> identify the product. This also allows us to have something > >>> that our > >>>> employees in the field can quickly capture on the cell phones > >>> (bar-code > >>>> box > >>>> scan app works well, and they can then email the list to our > >>> person > >>>> that > >>>> does the invoicing) We are no longer missing product and it > >>> allows us > >>>> to > >>>> quickly to invoice. > >>>> > >>>> > >>>> So during our receiving > >>> process................................... > >>>> > >>>> > >>>> As shipping receives the product. We have them count the items > >>> out of > >>>> the > >>>> box and then Enter the "This Delivery Quantity" At that time > >>> they > >>>> click on > >>>> the Item code, which opens a new unique (Not a Blank) target > >>> window to > >>>> show > >>>> the label. Rather than the photo. > >>>> > >>>> > >>> > >> > > < > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/GoodsReceived.jpg > >>> [4]> > >>>> > >>>> > >>>> > >>>> To make this work, I modified the follow line to > >>> GoodsReceived.php > >>>> below > >>>> the jwp > >>>> > >>>> ####MODIFICATION FOR THE GoodsReceived.php > >>>> ############################## > >>>> > >>>> > >>>> ####MODIFICATION FOR THE GoodsReceived.php > >>>> ############################## > >>>> > >>>> > >>> > >> > > <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/label.jpg > >>> [5]> > >>>> > >>>> this label is really nice as we have a few dymo labelwriter 400 > >>> which > >>>> can > >>>> print it on a on cheap address labels. The shipping person > >>> just hits > >>>> print > >>>> in the browser and chooses the number of copies. no pdf etc. > >>> Just > >>>> print. > >>>> > >>>> If for some reason we find a part in the stock room that does > >>> not have > >>>> a > >>>> label, I have modified the SelectProduct.php page so that while > >>> you are > >>>> looking at the item you can print a label. > >>>> > >>>> > >>> > >> > > < > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/SelectProduct.jpg > >>> [6]> > >>>> > >>>> which opens the label in its own page. > >>>> > >>>> > >>> > >> > > < > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/labelPower.jpg > >>> [7]> > >>>> > >>>> > >>>> To make this work, I modified the follow line to > >>> SelectProduct.php > >>>> below > >>>> the jwp > >>>> > >>>> ####MODIFICATION FOR THE SelectProduct.php > >>>> ############################## > >>>> > >>>> > >>>> > >>>> ####MODIFICATION FOR THE SelectProduct.php > >>>> ############################## > >>>> > >>>> > >>>> the code from http://phpqrcode.sourceforge.net/ [2] resides > >>> for me under > >>>> > >>>> /qrcode/phpqrcode/ > >>>> > >>>> > >>>> where I modified the index.php that came with the phpqrcode. > >>>> from (Copyright (C) 2010 Dominik Dzienia ) so it looks like > >>>> > >>>> > >>>> ####MODIFICATION FOR THE LABEL index.php > >>> ############################## > >>>> > >>>> > >>>> > >>>> ####MODIFICATION FOR THE LABEL index.php > >>> ############################## > >>>> > >>>> > >>>> It would be nice to be able to have a setting for both the > >>> label image > >>>> size > >>>> pixels and the qrcode size (1-5) in setup System Parameters > >>> since the > >>>> description and the part number are already limited in size it > >>> works > >>>> out > >>>> nicely. > >>>> > >>>> > >>>> I hope this helps someone and I would hope even more, it may be > >>> added > >>>> to > >>>> future versions. > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> ----- > >>>> Using weberp since 2004, Thanks for all your hard work! > >>>> -- > >>>> View this message in context: > >>>> > >>> > >> > > > http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-Added-qrcode-for-part-labeling-tp4658077.html > >>> [8] > >>>> Sent from the web-ERP-developers mailing list archive at > >>> Nabble.com. > >>>> > >>>> > >>> > >> > > > ------------------------------------------------------------------------------ > >>>> Dive into the World of Parallel Programming. The Go Parallel > >>> Website, > >>>> sponsored by Intel and developed in partnership with Slashdot > >>> Media, is > >>>> your > >>>> hub for all things parallel software development, from weekly > >>> thought > >>>> leadership blogs to news, videos, case studies, tutorials and > >>> more. > >>>> Take a > >>>> look and join the conversation now. > >>> http://goparallel.sourceforge.net/ [9] > >>>> _______________________________________________ > >>>> Web-erp-developers mailing list > >>>> Web...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers > >>> [10] > >>> > >>> > >> > > > ------------------------------------------------------------------------------ > >>> Dive into the World of Parallel Programming. The Go Parallel > >>> Website, > >>> sponsored by Intel and developed in partnership with Slashdot > >>> Media, is your > >>> hub for all things parallel software development, from weekly > >>> thought > >>> leadership blogs to news, videos, case studies, tutorials and > >>> more. Take a > >>> look and join the conversation now. > >>> http://goparallel.sourceforge.net/ [9] > >>> _______________________________________________ > >>> Web-erp-developers mailing list > >>> Web...@li... > >>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers > >>> [10] > >> > >> > > > ------------------------------------------------------------------------------ > >> Dive into the World of Parallel Programming. The Go Parallel > >> Website, > >> sponsored by Intel and developed in partnership with Slashdot > >> Media, is your > >> hub for all things parallel software development, from weekly > >> thought > >> leadership blogs to news, videos, case studies, tutorials and more. > >> Take a > >> look and join the conversation now. > >> http://goparallel.sourceforge.net/ [9] > >> _______________________________________________ > >> Web-erp-developers mailing list > >> Web...@li... > >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers > >> [10] > > > > -- > > > > gilberto dos santos alves > > +55(11)9-8646-5049 > > sao paulo - sp - brasil > > > > > > > > Links: > > ------ > > [1] http://www.barcodepack.com > > [2] http://phpqrcode.sourceforge.net/ > > [3] http://phpqrcode.sourceforge.net/examples/index.php > > [4] > > > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/GoodsReceived.jpg > > [5] > > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/label.jpg > > [6] > > > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/SelectProduct.jpg > > [7] > > > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/labelPower.jpg > > [8] > > > http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-Added-qrcode-for-part-labeling-tp4658077.html > > [9] http://goparallel.sourceforge.net/ > > [10] https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > [11] http://www.tcpdf.org/ > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming. The Go Parallel Website, > > sponsored by Intel and developed in partnership with Slashdot Media, is > > your > > hub for all things parallel software development, from weekly thought > > leadership blogs to news, videos, case studies, tutorials and more. > > Take a > > look and join the conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > -- gilberto dos santos alves +55(11)9-8646-5049 sao paulo - sp - brasil |
From: <ph...@lo...> - 2015-02-12 02:22:33
|
Well it looks like there is some problem with this script... http://www.weberp.org/weberp/Labels.php Should allow you to define labels with a number of fields - with one option a barcode On 2015-02-11 19:10, gilberto dos santos alves wrote: > Please could some one point me one single example o barcode (ean13, > code 39, upc-a, QR) inside weberp available on sourceforce? thanks for > you time. > > 2015-02-11 20:15 GMT-02:00 Rafael Chacón > <raf...@gm...>: > >> Hi, >> >> Thank you Wertthey. Very interesting. Barcodes are very useful in >> several processes and they don't need special devices (an android >> smarphone with ZXing's barcode scanner does the job!). >> >> In the past, we worked to have labels with barcode for products and >> for product bins. It helps a lot in inventory control and in >> picking/packing process. >> >> We used Folke Ashberg's PHP-Barcode. Today, we are looking for >> moving the code to one of the libraries used by webERP: >> 1. Tomáš Horáček's BarcodePack; or >> 2. Nicola Asuni's TCPDF (http://www.tcpdf.org/ [11]). >> >> TCPDF is a library used in webERP's PDF output. It has 1D barcode in >> HTML, PNG, SVG and SVGI formats. Also, it has datamatrix, pdf417 and >> qrcode 2D barcodes; all in HTML, PNG, SVG and SVGI formats. >> >> Best regards, Rafael. >> >> 2015-02-11 14:27 GMT-06:00 <ph...@lo...>: >> >>> There is already a barcode library bundled with webERP see >>> includes/barcodepack >>> >>> http://www.barcodepack.com [1] >>> >>> Which looks to be capable of producing qr codes. I hate to add >>> duplicate >>> code and would rather reuse what we have than add additional >>> libraries. >>> Maybe your label could be modified to use this class? >>> >>> Phil >>> >>> On 2015-02-11 09:36, wertthey wrote: >>>> Over the last few years I keep adding the same code each >>> revision I >>>> upgrade I >>>> think that it is very helpful and would like to share it. It >>> uses code >>>> from >>>> >>>> FROM >>>> >>>> http://phpqrcode.sourceforge.net/ [2] >>>> >>>> http://phpqrcode.sourceforge.net/examples/index.php [3] >>>> >>>> >>>> * PHP QR Code is distributed under LGPL 3 >>>> * Copyright (C) 2010 Dominik Dzienia >>>> >>>> >>>> >>>> I do understand that there is a whole label feature, but it >>> really >>>> doesn't >>>> really work well for us. When I send our employees out to the >>>> worksite on >>>> a job, they where loosing (not accounting) for product that >>> they >>>> installed. >>>> We would end up with a handful of postit notes and paper scraps >>> of >>>> product >>>> that they used at the client (if we were lucky). [P.S. Almost >>> never can >>>> we >>>> cut a sales order before sending out the employee. They never >>> know >>>> what >>>> they need until they get there] It was a mess. >>>> >>>> So I added this to help us label EVERYTHING that we receive. >>> When we >>>> receive the product in shipping we add a label that allows us >>> to >>>> quickly >>>> identify the product. This also allows us to have something >>> that our >>>> employees in the field can quickly capture on the cell phones >>> (bar-code >>>> box >>>> scan app works well, and they can then email the list to our >>> person >>>> that >>>> does the invoicing) We are no longer missing product and it >>> allows us >>>> to >>>> quickly to invoice. >>>> >>>> >>>> So during our receiving >>> process................................... >>>> >>>> >>>> As shipping receives the product. We have them count the items >>> out of >>>> the >>>> box and then Enter the "This Delivery Quantity" At that time >>> they >>>> click on >>>> the Item code, which opens a new unique (Not a Blank) target >>> window to >>>> show >>>> the label. Rather than the photo. >>>> >>>> >>> >> > <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/GoodsReceived.jpg >>> [4]> >>>> >>>> >>>> >>>> To make this work, I modified the follow line to >>> GoodsReceived.php >>>> below >>>> the jwp >>>> >>>> ####MODIFICATION FOR THE GoodsReceived.php >>>> ############################## >>>> >>>> >>>> ####MODIFICATION FOR THE GoodsReceived.php >>>> ############################## >>>> >>>> >>> >> > <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/label.jpg >>> [5]> >>>> >>>> this label is really nice as we have a few dymo labelwriter 400 >>> which >>>> can >>>> print it on a on cheap address labels. The shipping person >>> just hits >>>> print >>>> in the browser and chooses the number of copies. no pdf etc. >>> Just >>>> print. >>>> >>>> If for some reason we find a part in the stock room that does >>> not have >>>> a >>>> label, I have modified the SelectProduct.php page so that while >>> you are >>>> looking at the item you can print a label. >>>> >>>> >>> >> > <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/SelectProduct.jpg >>> [6]> >>>> >>>> which opens the label in its own page. >>>> >>>> >>> >> > <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/labelPower.jpg >>> [7]> >>>> >>>> >>>> To make this work, I modified the follow line to >>> SelectProduct.php >>>> below >>>> the jwp >>>> >>>> ####MODIFICATION FOR THE SelectProduct.php >>>> ############################## >>>> >>>> >>>> >>>> ####MODIFICATION FOR THE SelectProduct.php >>>> ############################## >>>> >>>> >>>> the code from http://phpqrcode.sourceforge.net/ [2] resides >>> for me under >>>> >>>> /qrcode/phpqrcode/ >>>> >>>> >>>> where I modified the index.php that came with the phpqrcode. >>>> from (Copyright (C) 2010 Dominik Dzienia ) so it looks like >>>> >>>> >>>> ####MODIFICATION FOR THE LABEL index.php >>> ############################## >>>> >>>> >>>> >>>> ####MODIFICATION FOR THE LABEL index.php >>> ############################## >>>> >>>> >>>> It would be nice to be able to have a setting for both the >>> label image >>>> size >>>> pixels and the qrcode size (1-5) in setup System Parameters >>> since the >>>> description and the part number are already limited in size it >>> works >>>> out >>>> nicely. >>>> >>>> >>>> I hope this helps someone and I would hope even more, it may be >>> added >>>> to >>>> future versions. >>>> >>>> >>>> >>>> >>>> >>>> ----- >>>> Using weberp since 2004, Thanks for all your hard work! >>>> -- >>>> View this message in context: >>>> >>> >> > http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-Added-qrcode-for-part-labeling-tp4658077.html >>> [8] >>>> Sent from the web-ERP-developers mailing list archive at >>> Nabble.com. >>>> >>>> >>> >> > ------------------------------------------------------------------------------ >>>> Dive into the World of Parallel Programming. The Go Parallel >>> Website, >>>> sponsored by Intel and developed in partnership with Slashdot >>> Media, is >>>> your >>>> hub for all things parallel software development, from weekly >>> thought >>>> leadership blogs to news, videos, case studies, tutorials and >>> more. >>>> Take a >>>> look and join the conversation now. >>> http://goparallel.sourceforge.net/ [9] >>>> _______________________________________________ >>>> Web-erp-developers mailing list >>>> Web...@li... >>>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>> [10] >>> >>> >> > ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming. The Go Parallel >>> Website, >>> sponsored by Intel and developed in partnership with Slashdot >>> Media, is your >>> hub for all things parallel software development, from weekly >>> thought >>> leadership blogs to news, videos, case studies, tutorials and >>> more. Take a >>> look and join the conversation now. >>> http://goparallel.sourceforge.net/ [9] >>> _______________________________________________ >>> Web-erp-developers mailing list >>> Web...@li... >>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>> [10] >> >> > ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel >> Website, >> sponsored by Intel and developed in partnership with Slashdot >> Media, is your >> hub for all things parallel software development, from weekly >> thought >> leadership blogs to news, videos, case studies, tutorials and more. >> Take a >> look and join the conversation now. >> http://goparallel.sourceforge.net/ [9] >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> [10] > > -- > > gilberto dos santos alves > +55(11)9-8646-5049 > sao paulo - sp - brasil > > > > Links: > ------ > [1] http://www.barcodepack.com > [2] http://phpqrcode.sourceforge.net/ > [3] http://phpqrcode.sourceforge.net/examples/index.php > [4] > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/GoodsReceived.jpg > [5] > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/label.jpg > [6] > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/SelectProduct.jpg > [7] > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/labelPower.jpg > [8] > http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-Added-qrcode-for-part-labeling-tp4658077.html > [9] http://goparallel.sourceforge.net/ > [10] https://lists.sourceforge.net/lists/listinfo/web-erp-developers > [11] http://www.tcpdf.org/ > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. > Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: gilberto d. s. a. <gs...@gm...> - 2015-02-12 02:10:13
|
Please could some one point me one single example o barcode (ean13, code 39, upc-a, QR) inside weberp available on sourceforce? thanks for you time. 2015-02-11 20:15 GMT-02:00 Rafael Chacón <raf...@gm...>: > Hi, > > Thank you Wertthey. Very interesting. Barcodes are very useful in several > processes and they don't need special devices (an android smarphone with > ZXing's barcode scanner does the job!). > > In the past, we worked to have labels with barcode for products and for > product bins. It helps a lot in inventory control and in picking/packing > process. > > We used Folke Ashberg's PHP-Barcode. Today, we are looking for moving the > code to one of the libraries used by webERP: > 1. Tomáš Horáček's BarcodePack; or > 2. Nicola Asuni's TCPDF (http://www.tcpdf.org/). > > TCPDF is a library used in webERP's PDF output. It has 1D barcode in HTML, > PNG, SVG and SVGI formats. Also, it has datamatrix, pdf417 and qrcode 2D > barcodes; all in HTML, PNG, SVG and SVGI formats. > > Best regards, Rafael. > > 2015-02-11 14:27 GMT-06:00 <ph...@lo...>: > > There is already a barcode library bundled with webERP see >> includes/barcodepack >> >> http://www.barcodepack.com >> >> Which looks to be capable of producing qr codes. I hate to add duplicate >> code and would rather reuse what we have than add additional libraries. >> Maybe your label could be modified to use this class? >> >> Phil >> >> On 2015-02-11 09:36, wertthey wrote: >> > Over the last few years I keep adding the same code each revision I >> > upgrade I >> > think that it is very helpful and would like to share it. It uses code >> > from >> > >> > FROM >> > >> > http://phpqrcode.sourceforge.net/ >> > >> > http://phpqrcode.sourceforge.net/examples/index.php >> > >> > >> > * PHP QR Code is distributed under LGPL 3 >> > * Copyright (C) 2010 Dominik Dzienia >> > >> > >> > >> > I do understand that there is a whole label feature, but it really >> > doesn't >> > really work well for us. When I send our employees out to the >> > worksite on >> > a job, they where loosing (not accounting) for product that they >> > installed. >> > We would end up with a handful of postit notes and paper scraps of >> > product >> > that they used at the client (if we were lucky). [P.S. Almost never can >> > we >> > cut a sales order before sending out the employee. They never know >> > what >> > they need until they get there] It was a mess. >> > >> > So I added this to help us label EVERYTHING that we receive. When we >> > receive the product in shipping we add a label that allows us to >> > quickly >> > identify the product. This also allows us to have something that our >> > employees in the field can quickly capture on the cell phones (bar-code >> > box >> > scan app works well, and they can then email the list to our person >> > that >> > does the invoicing) We are no longer missing product and it allows us >> > to >> > quickly to invoice. >> > >> > >> > So during our receiving process................................... >> > >> > >> > As shipping receives the product. We have them count the items out of >> > the >> > box and then Enter the "This Delivery Quantity" At that time they >> > click on >> > the Item code, which opens a new unique (Not a Blank) target window to >> > show >> > the label. Rather than the photo. >> > >> > < >> http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/GoodsReceived.jpg >> > >> > >> > >> > >> > To make this work, I modified the follow line to GoodsReceived.php >> > below >> > the jwp >> > >> > ####MODIFICATION FOR THE GoodsReceived.php >> > ############################## >> > >> > >> > ####MODIFICATION FOR THE GoodsReceived.php >> > ############################## >> > >> > <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/label.jpg >> > >> > >> > this label is really nice as we have a few dymo labelwriter 400 which >> > can >> > print it on a on cheap address labels. The shipping person just hits >> > print >> > in the browser and chooses the number of copies. no pdf etc. Just >> > print. >> > >> > If for some reason we find a part in the stock room that does not have >> > a >> > label, I have modified the SelectProduct.php page so that while you are >> > looking at the item you can print a label. >> > >> > < >> http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/SelectProduct.jpg >> > >> > >> > which opens the label in its own page. >> > >> > < >> http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/labelPower.jpg >> > >> > >> > >> > To make this work, I modified the follow line to SelectProduct.php >> > below >> > the jwp >> > >> > ####MODIFICATION FOR THE SelectProduct.php >> > ############################## >> > >> > >> > >> > ####MODIFICATION FOR THE SelectProduct.php >> > ############################## >> > >> > >> > the code from http://phpqrcode.sourceforge.net/ resides for me under >> > >> > /qrcode/phpqrcode/ >> > >> > >> > where I modified the index.php that came with the phpqrcode. >> > from (Copyright (C) 2010 Dominik Dzienia ) so it looks like >> > >> > >> > ####MODIFICATION FOR THE LABEL index.php ############################## >> > >> > >> > >> > ####MODIFICATION FOR THE LABEL index.php ############################## >> > >> > >> > It would be nice to be able to have a setting for both the label image >> > size >> > pixels and the qrcode size (1-5) in setup System Parameters since the >> > description and the part number are already limited in size it works >> > out >> > nicely. >> > >> > >> > I hope this helps someone and I would hope even more, it may be added >> > to >> > future versions. >> > >> > >> > >> > >> > >> > ----- >> > Using weberp since 2004, Thanks for all your hard work! >> > -- >> > View this message in context: >> > >> http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-Added-qrcode-for-part-labeling-tp4658077.html >> > Sent from the web-ERP-developers mailing list archive at Nabble.com. >> > >> > >> ------------------------------------------------------------------------------ >> > Dive into the World of Parallel Programming. The Go Parallel Website, >> > sponsored by Intel and developed in partnership with Slashdot Media, is >> > your >> > hub for all things parallel software development, from weekly thought >> > leadership blogs to news, videos, case studies, tutorials and more. >> > Take a >> > look and join the conversation now. http://goparallel.sourceforge.net/ >> > _______________________________________________ >> > Web-erp-developers mailing list >> > Web...@li... >> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > -- gilberto dos santos alves +55(11)9-8646-5049 sao paulo - sp - brasil |
From: Rafael C. <raf...@gm...> - 2015-02-11 22:44:52
|
Hi Andrew, I enclose my new AddTextWrap. Inside ~/includes/class.pdf.php, replace AddTextWrap lines (80-169) with lines 3-66 of the included file. Comments: * I'm testing with last version of Nicola Asuni's TCPDF. * It is possible to replace line 56 ("$textwidth += $this->GetStringWidth($c);") with two lines. Those two lines makes the function a little faster in some cases ($text width near the cell width), but slower in other cases ($text width far from the cell width). Best regards, Rafael. 2015-02-11 16:19 GMT-06:00 Andrew Galuski <aga...@re...>: > I am trouble shooting the same problem today where it wraps text smaller > than the width. The added $s = trim($s).' ';" causes an issue for me. Or > you can change a do while loop from < to <= $nb and it appears to fix same > issue. My worry was testing all existing forms. If you can send me your > update I will test it in my environment for all my forms. > > Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G LTE > network. > *From: *Rafael Chacón > *Sent: *Wednesday, February 11, 2015 3:26 PM > *To: *webERP Developers > *Reply To: *webERP Developers > *Subject: *Re: [WebERP-developers] PDF generator in webERP. > > Hi Vitaly, > > Thank you for writing. > > About > "$lines=explode("\r\n",htmlspecialchars_decode($myrow2['narrative']));": > This line returns an array of strings, each of which is a substring of > $myrow2['narrative'] formed by splitting it on boundaries formed by the > characters Carriage_Return ("\r") and Line_Feed ("\n"). It only works for > msWindows (Unix-like and Mac OS-10 use Line_Feed; Mac OS up to version 9 > uses Carriage_Return). > > The problem in PrintCustTransPortrait.php (and other reports) is caused by > two bugs in AddTextWarp(): > > 1. Line 108: "$s = trim($s).' ';" (extra blank character -> the extra > white line). > 2. Lines from 106 to 164: (the logic of the code -> splitting in the last > white_space of a segment smaller that the cell width). > > My purpose in asking if someone "has problem with this function (last line > line-feeded before the end) ?" is know who else experiences that problem. > > I have a new AddTextWrap that fixes both bugs. It is faster and produces > PDF files with a slightly smaller size, but --obviously-- it not produce > the extra blank line in segments smaller than cell width. Many users like > this (no extra blank line) but there are some users who ask me to re-do > this extra blank line. > > I would like other people tests this new AddTextWrap. Although this extra > blank line is a bug, I am not comfortable with the idea of a potential > change in actual reports. > > Best regards, Rafael. > > > 2015-02-11 8:25 GMT-06:00 Vitaly Shevkunov <vsh...@so...>: > >> Rafael, >> >> The addTextWrap() does not split the line like that. It is done by this >> function >> $lines=explode("\r\n",htmlspecialchars_decode($myrow2['narrative'])); >> >> in PrintCustTransPortrait.php >> >> >> Vitaly >> >> >> On 2/10/2015 9:38 PM, Rafael Chacón wrote: >> >> HI Phil, >> >> Thank you for your answer. >> >> Topic 1: From R&OS -> FPDF -> TCPDF. For future pdf development, I think >> it will be better to directly use TCPDF: (a) Y-coordinate= instead of >> calculating as from page-bottom to cell-bottom and the script class.pdf.php >> translates to page-top to cell-top to use tcpdf.php, we can directly use >> page-top to cell-top and TCPDF; (b) TCPDF has interesting functions >> (writeHTML, writeHTMLCell, etc.) to write code html (a screen report) into >> a pdf. >> >> Topic 2: tcpdf 6.2.6 has new fonts and others.They may be helpful to give more >> options to reports. >> >> Topic 3: With PrintCustTransPortrait.php (and other reports) I have >> unexpected breaks (see enclose) and prints lines with whitespace. The >> problems are inside AddTextWarp(). >> >> Regards, Rafael. >> >> >> 2015-02-09 22:34 GMT-06:00 Phil Daintree <ph...@lo...>: >> >>> Yes originally used R & OS pdf library. >>> Moved to Oliver Plathey FPDF http://www.fpdf.org/ >>> The class.pdf.php was created to allow the transition to FPDF >>> ... then to TCPDF which was a development of FPDF which allowed utf-8 >>> pdfs - using CID fonts rather than embedding a large monster font file into >>> each pdf - so a small 10k report becomes 2 Meg. This was not considered >>> acceptable. >>> I update tcpdf from time to time. >>> >>> Not sure about 3. >>> >>> Phil >>> >>> Phil Daintree >>> Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz >>> >>> On 10/02/15 13:37, Rafael Chacón wrote: >>> >>> Hi, >>> >>> Some questions: >>> >>> 1. webERP begun using PHP Pdf creation - R&OS ( >>> http://sourceforge.net/projects/pdf-php/). Then, webERP moved to TCPDF ( >>> http://www.tcpdf.org/). Javier de Lorenzo-Cáceres wrote >>> ~/includes/class.pdf.php to use TCPDF with "PHP_Pdf_creation_-_R&OS syntax" >>> (old code). Is it right? >>> >>> 2. Someone has updated the ~/includes/tcpdf folder with TCPDF version >>> 6.2.6 ? >>> >>> 3. Someone has replaced the function AddTextWarp() or has problem with >>> this function (last line line-feeded before the end) ? >>> >>> Best regards, Rafael. >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming. The Go Parallel Website, >>> sponsored by Intel and developed in partnership with Slashdot Media, is your >>> hub for all things parallel software development, from weekly thought >>> leadership blogs to news, videos, case studies, tutorials and more. Take a >>> look and join the conversation now. http://goparallel.sourceforge.net/ >>> >>> >>> >>> _______________________________________________ >>> Web-erp-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming. The Go Parallel Website, >>> sponsored by Intel and developed in partnership with Slashdot Media, is >>> your >>> hub for all things parallel software development, from weekly thought >>> leadership blogs to news, videos, case studies, tutorials and more. Take >>> a >>> look and join the conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Web-erp-developers mailing list >>> Web...@li... >>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> >> >> >> _______________________________________________ >> Web-erp-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> >> >> No virus found in this message. >> Checked by AVG - www.avg.com >> Version: 2015.0.5646 / Virus Database: 4284/9096 - Release Date: 02/11/15 >> >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > |
From: Andrew G. <aga...@re...> - 2015-02-11 22:19:30
|
I am trouble shooting the same problem today where it wraps text smaller than the width. The added $s = trim($s).' ';" causes an issue for me. Or you can change a do while loop from < to <= $nb and it appears to fix same issue. My worry was testing all existing forms. If you can send me your update I will test it in my environment for all my forms. Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G LTE network. From: Rafael Chacón Sent: Wednesday, February 11, 2015 3:26 PM To: webERP Developers Reply To: webERP Developers Subject: Re: [WebERP-developers] PDF generator in webERP. Hi Vitaly, Thank you for writing. About "$lines=explode("\r\n",htmlspecialchars_decode($myrow2['narrative']));": This line returns an array of strings, each of which is a substring of $myrow2['narrative'] formed by splitting it on boundaries formed by the characters Carriage_Return ("\r") and Line_Feed ("\n"). It only works for msWindows (Unix-like and Mac OS-10 use Line_Feed; Mac OS up to version 9 uses Carriage_Return). The problem in PrintCustTransPortrait.php (and other reports) is caused by two bugs in AddTextWarp(): 1. Line 108: "$s = trim($s).' ';" (extra blank character -> the extra white line). 2. Lines from 106 to 164: (the logic of the code -> splitting in the last white_space of a segment smaller that the cell width). My purpose in asking if someone "has problem with this function (last line line-feeded before the end) ?" is know who else experiences that problem. I have a new AddTextWrap that fixes both bugs. It is faster and produces PDF files with a slightly smaller size, but --obviously-- it not produce the extra blank line in segments smaller than cell width. Many users like this (no extra blank line) but there are some users who ask me to re-do this extra blank line. I would like other people tests this new AddTextWrap. Although this extra blank line is a bug, I am not comfortable with the idea of a potential change in actual reports. Best regards, Rafael. 2015-02-11 8:25 GMT-06:00 Vitaly Shevkunov <vsh...@so...<mailto:vsh...@so...>>: Rafael, The addTextWrap() does not split the line like that. It is done by this function $lines=explode("\r\n",htmlspecialchars_decode($myrow2['narrative'])); in PrintCustTransPortrait.php Vitaly On 2/10/2015 9:38 PM, Rafael Chacón wrote: HI Phil, Thank you for your answer. Topic 1: From R&OS -> FPDF -> TCPDF. For future pdf development, I think it will be better to directly use TCPDF: (a) Y-coordinate= instead of calculating as from page-bottom to cell-bottom and the script class.pdf.php translates to page-top to cell-top to use tcpdf.php, we can directly use page-top to cell-top and TCPDF; (b) TCPDF has interesting functions (writeHTML, writeHTMLCell, etc.) to write code html (a screen report) into a pdf. Topic 2: tcpdf 6.2.6 has new fonts and others.They may be helpful to give more options to reports. Topic 3: With PrintCustTransPortrait.php (and other reports) I have unexpected breaks (see enclose) and prints lines with whitespace. The problems are inside AddTextWarp(). Regards, Rafael. 2015-02-09 22:34 GMT-06:00 Phil Daintree <ph...@lo...<mailto:ph...@lo...>>: Yes originally used R & OS pdf library. Moved to Oliver Plathey FPDF http://www.fpdf.org/ The class.pdf.php was created to allow the transition to FPDF ... then to TCPDF which was a development of FPDF which allowed utf-8 pdfs - using CID fonts rather than embedding a large monster font file into each pdf - so a small 10k report becomes 2 Meg. This was not considered acceptable. I update tcpdf from time to time. Not sure about 3. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 10/02/15 13:37, Rafael Chacón wrote: Hi, Some questions: 1. webERP begun using PHP Pdf creation - R&OS (http://sourceforge.net/projects/pdf-php/). Then, webERP moved to TCPDF (http://www.tcpdf.org/). Javier de Lorenzo-Cáceres wrote ~/includes/class.pdf.php to use TCPDF with "PHP_Pdf_creation_-_R&OS syntax" (old code). Is it right? 2. Someone has updated the ~/includes/tcpdf folder with TCPDF version 6.2.6 ? 3. Someone has replaced the function AddTextWarp() or has problem with this function (last line line-feeded before the end) ? Best regards, Rafael. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers No virus found in this message. Checked by AVG - www.avg.com<http://www.avg.com> Version: 2015.0.5646 / Virus Database: 4284/9096 - Release Date: 02/11/15 ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Web-erp-developers mailing list Web...@li...<mailto:Web...@li...> https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Rafael C. <raf...@gm...> - 2015-02-11 22:15:52
|
Hi, Thank you Wertthey. Very interesting. Barcodes are very useful in several processes and they don't need special devices (an android smarphone with ZXing's barcode scanner does the job!). In the past, we worked to have labels with barcode for products and for product bins. It helps a lot in inventory control and in picking/packing process. We used Folke Ashberg's PHP-Barcode. Today, we are looking for moving the code to one of the libraries used by webERP: 1. Tomáš Horáček's BarcodePack; or 2. Nicola Asuni's TCPDF (http://www.tcpdf.org/). TCPDF is a library used in webERP's PDF output. It has 1D barcode in HTML, PNG, SVG and SVGI formats. Also, it has datamatrix, pdf417 and qrcode 2D barcodes; all in HTML, PNG, SVG and SVGI formats. Best regards, Rafael. 2015-02-11 14:27 GMT-06:00 <ph...@lo...>: > There is already a barcode library bundled with webERP see > includes/barcodepack > > http://www.barcodepack.com > > Which looks to be capable of producing qr codes. I hate to add duplicate > code and would rather reuse what we have than add additional libraries. > Maybe your label could be modified to use this class? > > Phil > > On 2015-02-11 09:36, wertthey wrote: > > Over the last few years I keep adding the same code each revision I > > upgrade I > > think that it is very helpful and would like to share it. It uses code > > from > > > > FROM > > > > http://phpqrcode.sourceforge.net/ > > > > http://phpqrcode.sourceforge.net/examples/index.php > > > > > > * PHP QR Code is distributed under LGPL 3 > > * Copyright (C) 2010 Dominik Dzienia > > > > > > > > I do understand that there is a whole label feature, but it really > > doesn't > > really work well for us. When I send our employees out to the > > worksite on > > a job, they where loosing (not accounting) for product that they > > installed. > > We would end up with a handful of postit notes and paper scraps of > > product > > that they used at the client (if we were lucky). [P.S. Almost never can > > we > > cut a sales order before sending out the employee. They never know > > what > > they need until they get there] It was a mess. > > > > So I added this to help us label EVERYTHING that we receive. When we > > receive the product in shipping we add a label that allows us to > > quickly > > identify the product. This also allows us to have something that our > > employees in the field can quickly capture on the cell phones (bar-code > > box > > scan app works well, and they can then email the list to our person > > that > > does the invoicing) We are no longer missing product and it allows us > > to > > quickly to invoice. > > > > > > So during our receiving process................................... > > > > > > As shipping receives the product. We have them count the items out of > > the > > box and then Enter the "This Delivery Quantity" At that time they > > click on > > the Item code, which opens a new unique (Not a Blank) target window to > > show > > the label. Rather than the photo. > > > > < > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/GoodsReceived.jpg > > > > > > > > > > To make this work, I modified the follow line to GoodsReceived.php > > below > > the jwp > > > > ####MODIFICATION FOR THE GoodsReceived.php > > ############################## > > > > > > ####MODIFICATION FOR THE GoodsReceived.php > > ############################## > > > > <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/label.jpg> > > > > this label is really nice as we have a few dymo labelwriter 400 which > > can > > print it on a on cheap address labels. The shipping person just hits > > print > > in the browser and chooses the number of copies. no pdf etc. Just > > print. > > > > If for some reason we find a part in the stock room that does not have > > a > > label, I have modified the SelectProduct.php page so that while you are > > looking at the item you can print a label. > > > > < > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/SelectProduct.jpg > > > > > > which opens the label in its own page. > > > > < > http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/labelPower.jpg > > > > > > > > To make this work, I modified the follow line to SelectProduct.php > > below > > the jwp > > > > ####MODIFICATION FOR THE SelectProduct.php > > ############################## > > > > > > > > ####MODIFICATION FOR THE SelectProduct.php > > ############################## > > > > > > the code from http://phpqrcode.sourceforge.net/ resides for me under > > > > /qrcode/phpqrcode/ > > > > > > where I modified the index.php that came with the phpqrcode. > > from (Copyright (C) 2010 Dominik Dzienia ) so it looks like > > > > > > ####MODIFICATION FOR THE LABEL index.php ############################## > > > > > > > > ####MODIFICATION FOR THE LABEL index.php ############################## > > > > > > It would be nice to be able to have a setting for both the label image > > size > > pixels and the qrcode size (1-5) in setup System Parameters since the > > description and the part number are already limited in size it works > > out > > nicely. > > > > > > I hope this helps someone and I would hope even more, it may be added > > to > > future versions. > > > > > > > > > > > > ----- > > Using weberp since 2004, Thanks for all your hard work! > > -- > > View this message in context: > > > http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-Added-qrcode-for-part-labeling-tp4658077.html > > Sent from the web-ERP-developers mailing list archive at Nabble.com. > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming. The Go Parallel Website, > > sponsored by Intel and developed in partnership with Slashdot Media, is > > your > > hub for all things parallel software development, from weekly thought > > leadership blogs to news, videos, case studies, tutorials and more. > > Take a > > look and join the conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Web-erp-developers mailing list > > Web...@li... > > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > |
From: Rafael C. <raf...@gm...> - 2015-02-11 21:25:08
|
Hi Vitaly, Thank you for writing. About "$lines=explode("\r\n",htmlspecialchars_decode($myrow2['narrative']));": This line returns an array of strings, each of which is a substring of $myrow2['narrative'] formed by splitting it on boundaries formed by the characters Carriage_Return ("\r") and Line_Feed ("\n"). It only works for msWindows (Unix-like and Mac OS-10 use Line_Feed; Mac OS up to version 9 uses Carriage_Return). The problem in PrintCustTransPortrait.php (and other reports) is caused by two bugs in AddTextWarp(): 1. Line 108: "$s = trim($s).' ';" (extra blank character -> the extra white line). 2. Lines from 106 to 164: (the logic of the code -> splitting in the last white_space of a segment smaller that the cell width). My purpose in asking if someone "has problem with this function (last line line-feeded before the end) ?" is know who else experiences that problem. I have a new AddTextWrap that fixes both bugs. It is faster and produces PDF files with a slightly smaller size, but --obviously-- it not produce the extra blank line in segments smaller than cell width. Many users like this (no extra blank line) but there are some users who ask me to re-do this extra blank line. I would like other people tests this new AddTextWrap. Although this extra blank line is a bug, I am not comfortable with the idea of a potential change in actual reports. Best regards, Rafael. 2015-02-11 8:25 GMT-06:00 Vitaly Shevkunov <vsh...@so...>: > Rafael, > > The addTextWrap() does not split the line like that. It is done by this > function > $lines=explode("\r\n",htmlspecialchars_decode($myrow2['narrative'])); > > in PrintCustTransPortrait.php > > > Vitaly > > > On 2/10/2015 9:38 PM, Rafael Chacón wrote: > > HI Phil, > > Thank you for your answer. > > Topic 1: From R&OS -> FPDF -> TCPDF. For future pdf development, I think > it will be better to directly use TCPDF: (a) Y-coordinate= instead of > calculating as from page-bottom to cell-bottom and the script class.pdf.php > translates to page-top to cell-top to use tcpdf.php, we can directly use > page-top to cell-top and TCPDF; (b) TCPDF has interesting functions > (writeHTML, writeHTMLCell, etc.) to write code html (a screen report) into > a pdf. > > Topic 2: tcpdf 6.2.6 has new fonts and others.They may be helpful to give more > options to reports. > > Topic 3: With PrintCustTransPortrait.php (and other reports) I have > unexpected breaks (see enclose) and prints lines with whitespace. The > problems are inside AddTextWarp(). > > Regards, Rafael. > > > 2015-02-09 22:34 GMT-06:00 Phil Daintree <ph...@lo...>: > >> Yes originally used R & OS pdf library. >> Moved to Oliver Plathey FPDF http://www.fpdf.org/ >> The class.pdf.php was created to allow the transition to FPDF >> ... then to TCPDF which was a development of FPDF which allowed utf-8 >> pdfs - using CID fonts rather than embedding a large monster font file into >> each pdf - so a small 10k report becomes 2 Meg. This was not considered >> acceptable. >> I update tcpdf from time to time. >> >> Not sure about 3. >> >> Phil >> >> Phil Daintree >> Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz >> >> On 10/02/15 13:37, Rafael Chacón wrote: >> >> Hi, >> >> Some questions: >> >> 1. webERP begun using PHP Pdf creation - R&OS ( >> http://sourceforge.net/projects/pdf-php/). Then, webERP moved to TCPDF ( >> http://www.tcpdf.org/). Javier de Lorenzo-Cáceres wrote >> ~/includes/class.pdf.php to use TCPDF with "PHP_Pdf_creation_-_R&OS syntax" >> (old code). Is it right? >> >> 2. Someone has updated the ~/includes/tcpdf folder with TCPDF version >> 6.2.6 ? >> >> 3. Someone has replaced the function AddTextWarp() or has problem with >> this function (last line line-feeded before the end) ? >> >> Best regards, Rafael. >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> >> >> >> _______________________________________________ >> Web-erp-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > Web-erp-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2015.0.5646 / Virus Database: 4284/9096 - Release Date: 02/11/15 > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > |
From: <ph...@lo...> - 2015-02-11 20:27:52
|
There is already a barcode library bundled with webERP see includes/barcodepack http://www.barcodepack.com Which looks to be capable of producing qr codes. I hate to add duplicate code and would rather reuse what we have than add additional libraries. Maybe your label could be modified to use this class? Phil On 2015-02-11 09:36, wertthey wrote: > Over the last few years I keep adding the same code each revision I > upgrade I > think that it is very helpful and would like to share it. It uses code > from > > FROM > > http://phpqrcode.sourceforge.net/ > > http://phpqrcode.sourceforge.net/examples/index.php > > > * PHP QR Code is distributed under LGPL 3 > * Copyright (C) 2010 Dominik Dzienia > > > > I do understand that there is a whole label feature, but it really > doesn't > really work well for us. When I send our employees out to the > worksite on > a job, they where loosing (not accounting) for product that they > installed. > We would end up with a handful of postit notes and paper scraps of > product > that they used at the client (if we were lucky). [P.S. Almost never can > we > cut a sales order before sending out the employee. They never know > what > they need until they get there] It was a mess. > > So I added this to help us label EVERYTHING that we receive. When we > receive the product in shipping we add a label that allows us to > quickly > identify the product. This also allows us to have something that our > employees in the field can quickly capture on the cell phones (bar-code > box > scan app works well, and they can then email the list to our person > that > does the invoicing) We are no longer missing product and it allows us > to > quickly to invoice. > > > So during our receiving process................................... > > > As shipping receives the product. We have them count the items out of > the > box and then Enter the "This Delivery Quantity" At that time they > click on > the Item code, which opens a new unique (Not a Blank) target window to > show > the label. Rather than the photo. > > <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/GoodsReceived.jpg> > > > > To make this work, I modified the follow line to GoodsReceived.php > below > the jwp > > ####MODIFICATION FOR THE GoodsReceived.php > ############################## > > > ####MODIFICATION FOR THE GoodsReceived.php > ############################## > > <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/label.jpg> > > this label is really nice as we have a few dymo labelwriter 400 which > can > print it on a on cheap address labels. The shipping person just hits > print > in the browser and chooses the number of copies. no pdf etc. Just > print. > > If for some reason we find a part in the stock room that does not have > a > label, I have modified the SelectProduct.php page so that while you are > looking at the item you can print a label. > > <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/SelectProduct.jpg> > > which opens the label in its own page. > > <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/labelPower.jpg> > > > To make this work, I modified the follow line to SelectProduct.php > below > the jwp > > ####MODIFICATION FOR THE SelectProduct.php > ############################## > > > > ####MODIFICATION FOR THE SelectProduct.php > ############################## > > > the code from http://phpqrcode.sourceforge.net/ resides for me under > > /qrcode/phpqrcode/ > > > where I modified the index.php that came with the phpqrcode. > from (Copyright (C) 2010 Dominik Dzienia ) so it looks like > > > ####MODIFICATION FOR THE LABEL index.php ############################## > > > > ####MODIFICATION FOR THE LABEL index.php ############################## > > > It would be nice to be able to have a setting for both the label image > size > pixels and the qrcode size (1-5) in setup System Parameters since the > description and the part number are already limited in size it works > out > nicely. > > > I hope this helps someone and I would hope even more, it may be added > to > future versions. > > > > > > ----- > Using weberp since 2004, Thanks for all your hard work! > -- > View this message in context: > http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-Added-qrcode-for-part-labeling-tp4658077.html > Sent from the web-ERP-developers mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. > Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: gilberto d. s. a. <gs...@gm...> - 2015-02-11 18:35:55
|
+1 from me. Good Explanation. IMO this could be usable for: barcode (for example [1] we have modified this code and use inside weberp) too. regards. [1] http://www.barcodephp.com/ 2015-02-11 13:40 GMT-02:00 wertthey <jp...@nu...>: > Over the last few years I keep adding the same code each revision I > upgrade I > think that it is very helpful and would like to share it. It uses code from > > FROM > > http://phpqrcode.sourceforge.net/ > > http://phpqrcode.sourceforge.net/examples/index.php > > > * PHP QR Code is distributed under LGPL 3 > * Copyright (C) 2010 Dominik Dzienia > > > > I do understand that there is a whole label feature, but it really doesn't > really work well for me. When I send people out on a job, they where > loosing (not accounting) for product that they installed. So when we > receive the product we add a label that allows us to quickly identify the > product, and have something that our field people's cell phones can record > (bar-code box scan app works well) as a list as they use the product which > allows us to quickly to invoice. > > > So during our receiving processes. > > > As shipping receives the product. We have them count the items Enter the > "This Delivery Quantity" > > then click on the Item code, which opens a new target window to show the > label. > > < > http://weberp-accounting.1478800.n4.nabble.com/file/n4658072/GoodsReceived.jpg > > > > > > ----- > Using weberp since 2004, Thanks for all your hard work! > -- > View this message in context: > http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-Added-qrcode-for-part-labeling-tp4658072.html > Sent from the web-ERP-developers mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > -- gilberto dos santos alves +55(11)9-8646-5049 sao paulo - sp - brasil |
From: wertthey <jp...@nu...> - 2015-02-11 16:42:39
|
Over the last few years I keep adding the same code each revision I upgrade I think that it is very helpful and would like to share it. It uses code from FROM http://phpqrcode.sourceforge.net/ http://phpqrcode.sourceforge.net/examples/index.php * PHP QR Code is distributed under LGPL 3 * Copyright (C) 2010 Dominik Dzienia I do understand that there is a whole label feature, but it really doesn't really work well for us. When I send our employees out to the worksite on a job, they where loosing (not accounting) for product that they installed. We would end up with a handful of postit notes and paper scraps of product that they used at the client (if we were lucky). [P.S. Almost never can we cut a sales order before sending out the employee. They never know what they need until they get there] It was a mess. So I added this to help us label EVERYTHING that we receive. When we receive the product in shipping we add a label that allows us to quickly identify the product. This also allows us to have something that our employees in the field can quickly capture on the cell phones (bar-code box scan app works well, and they can then email the list to our person that does the invoicing) We are no longer missing product and it allows us to quickly to invoice. So during our receiving process................................... As shipping receives the product. We have them count the items out of the box and then Enter the "This Delivery Quantity" At that time they click on the Item code, which opens a new unique (Not a Blank) target window to show the label. Rather than the photo. <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/GoodsReceived.jpg> To make this work, I modified the follow line to GoodsReceived.php below the jwp ####MODIFICATION FOR THE GoodsReceived.php ############################## ####MODIFICATION FOR THE GoodsReceived.php ############################## <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/label.jpg> this label is really nice as we have a few dymo labelwriter 400 which can print it on a on cheap address labels. The shipping person just hits print in the browser and chooses the number of copies. no pdf etc. Just print. If for some reason we find a part in the stock room that does not have a label, I have modified the SelectProduct.php page so that while you are looking at the item you can print a label. <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/SelectProduct.jpg> which opens the label in its own page. <http://weberp-accounting.1478800.n4.nabble.com/file/n4658077/labelPower.jpg> To make this work, I modified the follow line to SelectProduct.php below the jwp ####MODIFICATION FOR THE SelectProduct.php ############################## ####MODIFICATION FOR THE SelectProduct.php ############################## the code from http://phpqrcode.sourceforge.net/ resides for me under /qrcode/phpqrcode/ where I modified the index.php that came with the phpqrcode. from (Copyright (C) 2010 Dominik Dzienia ) so it looks like ####MODIFICATION FOR THE LABEL index.php ############################## ####MODIFICATION FOR THE LABEL index.php ############################## It would be nice to be able to have a setting for both the label image size pixels and the qrcode size (1-5) in setup System Parameters since the description and the part number are already limited in size it works out nicely. I hope this helps someone and I would hope even more, it may be added to future versions. ----- Using weberp since 2004, Thanks for all your hard work! -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-Added-qrcode-for-part-labeling-tp4658077.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |
From: wertthey <jp...@nu...> - 2015-02-11 16:08:44
|
Over the last few years I keep adding the same code each revision I upgrade I think that it is very helpful and would like to share it. It uses code from FROM http://phpqrcode.sourceforge.net/ http://phpqrcode.sourceforge.net/examples/index.php * PHP QR Code is distributed under LGPL 3 * Copyright (C) 2010 Dominik Dzienia I do understand that there is a whole label feature, but it really doesn't really work well for me. When I send people out on a job, they where loosing (not accounting) for product that they installed. So when we receive the product we add a label that allows us to quickly identify the product, and have something that our field people's cell phones can record (bar-code box scan app works well) as a list as they use the product which allows us to quickly to invoice. So during our receiving processes. As shipping receives the product. We have them count the items Enter the "This Delivery Quantity" then click on the Item code, which opens a new target window to show the label. <http://weberp-accounting.1478800.n4.nabble.com/file/n4658076/GoodsReceived.jpg> I modified the follow line to GoodsReceived.php below the jwp jpalof //Now Display LineItem //jwp jpalof 11182014 Removed the below line as who needs the picture if it is on the label. //echo ' StockID . '.jpg" target="_blank">' . $LnItm->StockID . ' <"' . $RootPath . '/' . $_SESSION['part_pics_dir'] . '/' . $LnItm-> //jwp jpalof 1118014 added the below line so you can click on the part number and then print the label. echo ' StockID . '&Description=' . $LnItm->ItemDescription . '"target="' . $LnItm->StockID . '">' . $LnItm->StockID . ' <"' . $RootPath . 'qrcode/phpqrcode/index.php?StockID=' . $LnItm-> ' . $LnItm->ItemDescription . ' ' . $DisplaySupplierQtyOrd . ' ' . $LnItm->SuppliersUnit . ' ' . $DisplaySupplierQtyRec . ' ' . $LnItm->ConversionFactor . ' ' . $DisplayQtyOrd . ' <http://weberp-accounting.1478800.n4.nabble.com/file/n4658076/label.jpg> this label is really nice as we can print it on a dymo labelwriter 400 on cheap address labels. The shipping person just hits print and chooses the number of copies. If for some reason we find a part in the stock room that does not have a label, I have modified the SelectProduct.php page so that while you are looking at the item you can print a label. <http://weberp-accounting.1478800.n4.nabble.com/file/n4658076/SelectProduct.jpg> which opens the label in its own page. the code from http://phpqrcode.sourceforge.net/ resides for me under /qrcode/phpqrcode/ where I modified the index.php that came with the phpqrcode. so it looks like <?php /* * PHP QR Code encoder * * Exemplatory usage * * PHP QR Code is distributed under LGPL 3 * Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, or any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ /* $Id: SelectProduct.php 6908 2014-10-06 05:13:27Z daintree $ echo ' ' . _('Print Stock Label') . ' <' . $RootPath . '/qrcode/phpqrcode/index2.php?StockID=' . $StockID . '> <br />';*/ $PricesSecurity = 12;//don't show pricing info unless security token 12 available to user $SuppliersSecurity = 9; //don't show supplier purchasing info unless security token 9 available to user include ('includes/session.inc'); $Title = _('Search Inventory Items'); /* webERP manual links before header.inc */ $ViewTopic= 'Inventory'; $BookMark = 'SelectingInventory'; include ('includes/header.inc'); include ('includes/SQL_CommonFunctions.inc'); //set it to writable location, a place for temp generated PNG files $PNG_TEMP_DIR = dirname(__FILE__).DIRECTORY_SEPARATOR.'temp'.DIRECTORY_SEPARATOR; //html PNG location prefix $PNG_WEB_DIR = 'temp/'; include "qrlib.php"; //ofcourse we need rights to create temp dir if (!file_exists($PNG_TEMP_DIR)) mkdir($PNG_TEMP_DIR); $filename = $PNG_TEMP_DIR.'test.png'; //Correction Level Options. array('L','M','Q','H') $errorCorrectionLevel = 'L'; // Size option 1-10 $matrixPointSize = 4; //Defining the size and quality of the qr code. QRcode::png($_GET['StockID'], $filename, $errorCorrectionLevel, $matrixPointSize, 2); // Writing the code to the screen echo ' <'.$PNG_WEB_DIR.basename($filename).'> '.$_GET["StockID"].' <' . $RootPath . '/companies/weberp/part_pics/'.$_GET[> <p style="font-size:11px">..'.$_GET["Description"].'</p> '; I hope this helps someone and I would hope even more, it may be added to future versions. It would be nice to be able to have a setting for both the label image size pixels and the qrcode size (1-5) in setup System Parameters since the description and the part number are already limited in size it works out nicely ----- Using weberp since 2004, Thanks for all your hard work! -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-I-have-Added-qrcode-for-part-labeling-tp4658076.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |
From: wertthey <jp...@nu...> - 2015-02-11 16:04:28
|
Over the last few years I keep adding the same code each revision I upgrade I think that it is very helpful and would like to share it. It uses code from FROM http://phpqrcode.sourceforge.net/ http://phpqrcode.sourceforge.net/examples/index.php * PHP QR Code is distributed under LGPL 3 * Copyright (C) 2010 Dominik Dzienia I do understand that there is a whole label feature, but it really doesn't really work well for me. When I send people out on a job, they where loosing (not accounting) for product that they installed. So when we receive the product we add a label that allows us to quickly identify the product, and have something that our field people's cell phones can record (bar-code box scan app works well) as a list as they use the product which allows us to quickly to invoice. So during our receiving processes. As shipping receives the product. We have them count the items Enter the "This Delivery Quantity" then click on the Item code, which opens a new target window to show the label. <http://weberp-accounting.1478800.n4.nabble.com/file/n4658074/GoodsReceived.jpg> I modified the follow line to GoodsReceived.php below the jwp jpalof //Now Display LineItem //jwp jpalof 11182014 Removed the below line as who needs the picture if it is on the label. //echo ' StockID . '.jpg" target="_blank">' . $LnItm->StockID . ' <"' . $RootPath . '/' . $_SESSION['part_pics_dir'] . '/' . $LnItm-> //jwp jpalof 1118014 added the below line so you can click on the part number and then print the label. echo ' StockID . '&Description=' . $LnItm->ItemDescription . '"target="' . $LnItm->StockID . '">' . $LnItm->StockID . ' <"' . $RootPath . 'qrcode/phpqrcode/index.php?StockID=' . $LnItm-> ' . $LnItm->ItemDescription . ' ' . $DisplaySupplierQtyOrd . ' ' . $LnItm->SuppliersUnit . ' ' . $DisplaySupplierQtyRec . ' ' . $LnItm->ConversionFactor . ' ' . $DisplayQtyOrd . ' <http://weberp-accounting.1478800.n4.nabble.com/file/n4658074/label.jpg> this label is really nice as we can print it on a dymo labelwriter 400 on cheap address labels. The shipping person just hits print and chooses the number of copies. If for some reason we find a part in the stock room that does not have a label, I have modified the SelectProduct.php page so that while you are looking at the item you can print a label. <http://weberp-accounting.1478800.n4.nabble.com/file/n4658074/SelectProduct.jpg> which opens the label in its own page. the code from http://phpqrcode.sourceforge.net/ resides for me under /qrcode/phpqrcode/ where I modified the index.php that came with the phpqrcode. so it looks like <?php /* * PHP QR Code encoder * * Exemplatory usage * * PHP QR Code is distributed under LGPL 3 * Copyright (C) 2010 Dominik Dzienia <deltalab at poczta dot fm> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, or any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ /* $Id: SelectProduct.php 6908 2014-10-06 05:13:27Z daintree $ echo ' ' . _('Print Stock Label') . ' <' . $RootPath . '/qrcode/phpqrcode/index2.php?StockID=' . $StockID . '> <br />';*/ $PricesSecurity = 12;//don't show pricing info unless security token 12 available to user $SuppliersSecurity = 9; //don't show supplier purchasing info unless security token 9 available to user include ('includes/session.inc'); $Title = _('Search Inventory Items'); /* webERP manual links before header.inc */ $ViewTopic= 'Inventory'; $BookMark = 'SelectingInventory'; include ('includes/header.inc'); include ('includes/SQL_CommonFunctions.inc'); //set it to writable location, a place for temp generated PNG files $PNG_TEMP_DIR = dirname(__FILE__).DIRECTORY_SEPARATOR.'temp'.DIRECTORY_SEPARATOR; //html PNG location prefix $PNG_WEB_DIR = 'temp/'; include "qrlib.php"; //ofcourse we need rights to create temp dir if (!file_exists($PNG_TEMP_DIR)) mkdir($PNG_TEMP_DIR); $filename = $PNG_TEMP_DIR.'test.png'; //Correction Level Options. array('L','M','Q','H') $errorCorrectionLevel = 'L'; // Size option 1-10 $matrixPointSize = 4; //Defining the size and quality of the qr code. QRcode::png($_GET['StockID'], $filename, $errorCorrectionLevel, $matrixPointSize, 2); // Writing the code to the screen echo ' <'.$PNG_WEB_DIR.basename($filename).'> '.$_GET["StockID"].' <' . $RootPath . '/companies/weberp/part_pics/'.$_GET[> <p style="font-size:11px">..'.$_GET["Description"].'</p> '; I hope this helps someone and I would hope even more, it may be added to future versions. It would be nice to be able to have a setting for both the label image size pixels and the qrcode size (1-5) in setup System Parameters since the description and the part number are already limited in size it works out nicely ----- Using weberp since 2004, Thanks for all your hard work! -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-I-have-Added-qrcode-for-part-labeling-tp4658074.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |
From: wertthey <jp...@nu...> - 2015-02-11 16:02:17
|
Over the last few years I keep adding the same code each revision I upgrade I think that it is very helpful and would like to share it. It uses code from FROM http://phpqrcode.sourceforge.net/ http://phpqrcode.sourceforge.net/examples/index.php * PHP QR Code is distributed under LGPL 3 * Copyright (C) 2010 Dominik Dzienia I do understand that there is a whole label feature, but it really doesn't really work well for me. When I send people out on a job, they where loosing (not accounting) for product that they installed. So when we receive the product we add a label that allows us to quickly identify the product, and have something that our field people's cell phones can record (bar-code box scan app works well) as a list as they use the product which allows us to quickly to invoice. So during our receiving processes. As shipping receives the product. We have them count the items Enter the "This Delivery Quantity" then click on the Item code, which opens a new target window to show the label. <http://weberp-accounting.1478800.n4.nabble.com/file/n4658072/GoodsReceived.jpg> ----- Using weberp since 2004, Thanks for all your hard work! -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/For-Consideration-Added-qrcode-for-part-labeling-tp4658072.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |
From: Vitaly S. <vsh...@so...> - 2015-02-11 14:26:17
|
Rafael, The addTextWrap() does not split the line like that. It is done by this function $lines=explode("\r\n",htmlspecialchars_decode($myrow2['narrative'])); in PrintCustTransPortrait.php Vitaly On 2/10/2015 9:38 PM, Rafael Chacón wrote: > HI Phil, > > Thank you for your answer. > > Topic 1: From R&OS -> FPDF -> TCPDF. For future pdf development, I > think it will be better to directly use TCPDF: (a) Y-coordinate= > instead of calculating as from page-bottom to cell-bottom and the > script class.pdf.php translates to page-top to cell-top to use > tcpdf.php, we can directly use page-top to cell-top and TCPDF; (b) > TCPDF has interesting functions (writeHTML, writeHTMLCell, etc.) to > write code html (a screen report) into a pdf. > > Topic 2: tcpdf 6.2.6 has new fonts and others.They may be helpful to > give more options to reports. > > Topic 3: With PrintCustTransPortrait.php (and other reports) I have > unexpected breaks (see enclose) and prints lines with whitespace. The > problems are inside AddTextWarp(). > > Regards, Rafael. > > > 2015-02-09 22:34 GMT-06:00 Phil Daintree <ph...@lo... > <mailto:ph...@lo...>>: > > Yes originally used R & OS pdf library. > Moved to Oliver Plathey FPDF http://www.fpdf.org/ > The class.pdf.php was created to allow the transition to FPDF > ... then to TCPDF which was a development of FPDF which allowed > utf-8 pdfs - using CID fonts rather than embedding a large monster > font file into each pdf - so a small 10k report becomes 2 Meg. > This was not considered acceptable. > I update tcpdf from time to time. > > Not sure about 3. > > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 > http://www.logicworks.co.nz > > On 10/02/15 13:37, Rafael Chacón wrote: >> Hi, >> >> Some questions: >> >> 1. webERP begun using PHP Pdf creation - R&OS >> (http://sourceforge.net/projects/pdf-php/). Then, webERP moved to >> TCPDF (http://www.tcpdf.org/). Javier de Lorenzo-Cáceres wrote >> ~/includes/class.pdf.php to use TCPDF with >> "PHP_Pdf_creation_-_R&OS syntax" (old code). Is it right? >> >> 2. Someone has updated the ~/includes/tcpdf folder with TCPDF >> version 6.2.6 ? >> >> 3. Someone has replaced the function AddTextWarp() or has problem >> with this function (last line line-feeded before the end) ? >> >> Best regards, Rafael. >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now.http://goparallel.sourceforge.net/ >> >> >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... <mailto:Web...@li...> >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot > Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and > more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > No virus found in this message. > Checked by AVG - www.avg.com <http://www.avg.com> > Version: 2015.0.5646 / Virus Database: 4284/9096 - Release Date: 02/11/15 > |
From: Phil D. <ph...@lo...> - 2015-02-11 07:06:57
|
we would not want to leave people on slow bandwidth connections with 2meg pdfs for a 10k report though Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 11/02/15 16:38, Rafael Chacón wrote: > HI Phil, > > Thank you for your answer. > > Topic 1: From R&OS -> FPDF -> TCPDF. For future pdf development, I > think it will be better to directly use TCPDF: (a) Y-coordinate= > instead of calculating as from page-bottom to cell-bottom and the > script class.pdf.php translates to page-top to cell-top to use > tcpdf.php, we can directly use page-top to cell-top and TCPDF; (b) > TCPDF has interesting functions (writeHTML, writeHTMLCell, etc.) to > write code html (a screen report) into a pdf. > > Topic 2: tcpdf 6.2.6 has new fonts and others.They may be helpful to > give more options to reports. > > Topic 3: With PrintCustTransPortrait.php (and other reports) I have > unexpected breaks (see enclose) and prints lines with whitespace. The > problems are inside AddTextWarp(). > > Regards, Rafael. > > > 2015-02-09 22:34 GMT-06:00 Phil Daintree <ph...@lo... > <mailto:ph...@lo...>>: > > Yes originally used R & OS pdf library. > Moved to Oliver Plathey FPDF http://www.fpdf.org/ > The class.pdf.php was created to allow the transition to FPDF > ... then to TCPDF which was a development of FPDF which allowed > utf-8 pdfs - using CID fonts rather than embedding a large monster > font file into each pdf - so a small 10k report becomes 2 Meg. > This was not considered acceptable. > I update tcpdf from time to time. > > Not sure about 3. > > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 > http://www.logicworks.co.nz > > On 10/02/15 13:37, Rafael Chacón wrote: >> Hi, >> >> Some questions: >> >> 1. webERP begun using PHP Pdf creation - R&OS >> (http://sourceforge.net/projects/pdf-php/). Then, webERP moved to >> TCPDF (http://www.tcpdf.org/). Javier de Lorenzo-Cáceres wrote >> ~/includes/class.pdf.php to use TCPDF with >> "PHP_Pdf_creation_-_R&OS syntax" (old code). Is it right? >> >> 2. Someone has updated the ~/includes/tcpdf folder with TCPDF >> version 6.2.6 ? >> >> 3. Someone has replaced the function AddTextWarp() or has problem >> with this function (last line line-feeded before the end) ? >> >> Best regards, Rafael. >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now.http://goparallel.sourceforge.net/ >> >> >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... <mailto:Web...@li...> >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot > Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and > more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > <mailto:Web...@li...> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Rafael C. <raf...@gm...> - 2015-02-11 03:38:43
|
HI Phil, Thank you for your answer. Topic 1: From R&OS -> FPDF -> TCPDF. For future pdf development, I think it will be better to directly use TCPDF: (a) Y-coordinate= instead of calculating as from page-bottom to cell-bottom and the script class.pdf.php translates to page-top to cell-top to use tcpdf.php, we can directly use page-top to cell-top and TCPDF; (b) TCPDF has interesting functions (writeHTML, writeHTMLCell, etc.) to write code html (a screen report) into a pdf. Topic 2: tcpdf 6.2.6 has new fonts and others.They may be helpful to give more options to reports. Topic 3: With PrintCustTransPortrait.php (and other reports) I have unexpected breaks (see enclose) and prints lines with whitespace. The problems are inside AddTextWarp(). Regards, Rafael. 2015-02-09 22:34 GMT-06:00 Phil Daintree <ph...@lo...>: > Yes originally used R & OS pdf library. > Moved to Oliver Plathey FPDF http://www.fpdf.org/ > The class.pdf.php was created to allow the transition to FPDF > ... then to TCPDF which was a development of FPDF which allowed utf-8 > pdfs - using CID fonts rather than embedding a large monster font file into > each pdf - so a small 10k report becomes 2 Meg. This was not considered > acceptable. > I update tcpdf from time to time. > > Not sure about 3. > > Phil > > Phil Daintree > Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz > > On 10/02/15 13:37, Rafael Chacón wrote: > > Hi, > > Some questions: > > 1. webERP begun using PHP Pdf creation - R&OS ( > http://sourceforge.net/projects/pdf-php/). Then, webERP moved to TCPDF ( > http://www.tcpdf.org/). Javier de Lorenzo-Cáceres wrote > ~/includes/class.pdf.php to use TCPDF with "PHP_Pdf_creation_-_R&OS syntax" > (old code). Is it right? > > 2. Someone has updated the ~/includes/tcpdf folder with TCPDF version > 6.2.6 ? > > 3. Someone has replaced the function AddTextWarp() or has problem with > this function (last line line-feeded before the end) ? > > Best regards, Rafael. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > Web-erp-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers > > |
From: Phil D. <ph...@lo...> - 2015-02-10 04:34:25
|
Yes originally used R & OS pdf library. Moved to Oliver Plathey FPDF http://www.fpdf.org/ The class.pdf.php was created to allow the transition to FPDF ... then to TCPDF which was a development of FPDF which allowed utf-8 pdfs - using CID fonts rather than embedding a large monster font file into each pdf - so a small 10k report becomes 2 Meg. This was not considered acceptable. I update tcpdf from time to time. Not sure about 3. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 10/02/15 13:37, Rafael Chacón wrote: > Hi, > > Some questions: > > 1. webERP begun using PHP Pdf creation - R&OS > (http://sourceforge.net/projects/pdf-php/). Then, webERP moved to > TCPDF (http://www.tcpdf.org/). Javier de Lorenzo-Cáceres wrote > ~/includes/class.pdf.php to use TCPDF with "PHP_Pdf_creation_-_R&OS > syntax" (old code). Is it right? > > 2. Someone has updated the ~/includes/tcpdf folder with TCPDF version > 6.2.6 ? > > 3. Someone has replaced the function AddTextWarp() or has problem with > this function (last line line-feeded before the end) ? > > Best regards, Rafael. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers |
From: Rafael C. <raf...@gm...> - 2015-02-10 00:37:52
|
Hi, Some questions: 1. webERP begun using PHP Pdf creation - R&OS ( http://sourceforge.net/projects/pdf-php/). Then, webERP moved to TCPDF ( http://www.tcpdf.org/). Javier de Lorenzo-Cáceres wrote ~/includes/class.pdf.php to use TCPDF with "PHP_Pdf_creation_-_R&OS syntax" (old code). Is it right? 2. Someone has updated the ~/includes/tcpdf folder with TCPDF version 6.2.6 ? 3. Someone has replaced the function AddTextWarp() or has problem with this function (last line line-feeded before the end) ? Best regards, Rafael. |