Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. piquet

    PHP suitability for producing complex printed reports

    Morning Nick, For some products, clients do have different templates as well as data. Here we simply store their variant in a site-specific templates area so it gets picked up automatically in place of the default one. I've just put an example report page here to give anyone interested a...
  2. piquet

    PHP suitability for producing complex printed reports

    Nope, Healthcare. I guess Wingz was quite well marketed, and some people jumped at it. Great to here you made money out of it both times! Well done that man! Phil
  3. piquet

    PHP suitability for producing complex printed reports

    I'd rather not say! Yes, we had Wingz the spreadsheet from Informix which we were piloting at the time. We got it out of the box, admired the pictures in the user guide, and had a play with it. After a very short time it became clear that its main value was in brightening up the office shelving...
  4. piquet

    PHP suitability for producing complex printed reports

    Nick, I really appreciate the time you've taken to explain. It does help me to weight up the pros and cons. Out of your reasons for not chosing Excel, only the speed thing really applies to us since we only really need to pass in csv files and we are only a very small department. The way it...
  5. piquet

    PHP suitability for producing complex printed reports

    ... sorry... the Excel macro producing 1100 pages of analysis takes almost an hour to run on an Pentium 4 3Ghz PC...
  6. piquet

    PHP suitability for producing complex printed reports

    I did ask! Did "they" give reasons as to why they wouldn't build a critical reporting package using Excel VBA? The reasons I would give for not doing it are really only that it is sometimes quite slow. For example, we have one report set which creates around 1100 pages of complex financial...
  7. piquet

    PHP suitability for producing complex printed reports

    ingresman, when everything the macro requires has been copied to the directory, we touch a "ready.dat" file in the same directory. The auto-run macro is looking only for the presence of this file which acts as its trigger to run. The macro looks every 30 seconds for "ready.dat" files. When it...
  8. piquet

    PHP suitability for producing complex printed reports

    Hi ingresman, Thanks for your post. I have to say that my initial assessment was that it would be difficult to replicate Excel functionality in PHP. Looking at the various online examples of using charting libraries and PDF creation libraries, yes you can do all thosse things but not with the...
  9. piquet

    PHP suitability for producing complex printed reports

    Hi, We currently use shell script and AWK on Linux-based systems to pull data from various large flat-file databases and then Excel VBA macros to basically cut and paste the data into complex report templates. The final output is printed or output as PDF. Excel provides us with a very...
  10. piquet

    SCO OS5.0.5 Printer Admin

    After the ESC sequence in the printers driver made absolutely no difference I wrote a small piece of code to count lines printed, and to print blank lines at the end of the print job to move the printhead to the correct top of form position. A bit of a kludge, but it works ! Thanks for your...
  11. piquet

    SCO OS5.0.5 Printer Admin

    The thing is, the dot matrix has worked fine for years using hpnpf, with the form length set to 3 inches. Are you saying that changing to lpd/netcat will allow me to change the form length more easily? Cheers, Phil
  12. piquet

    SCO OS5.0.5 Printer Admin

    Thanks again, I didn't mention that this dotmatrix is connected via a JetDirect box to the network. I have looked at the "PANASONIC" script in /usr/spool/lp/admins/lp/interfaces which does this : # This script invokes the original model script # from the subdirectory model.orig and...
  13. piquet

    SCO OS5.0.5 Printer Admin

    Thanks stanhubble - I've taken a look and found that the Panasonic printer we're using is Epson compatible and uses an interface called "myepson". There is a section in this script which appears to set the form length to 10 lines -...
  14. piquet

    SCO OS5.0.5 Printer Admin

    Hi, I'm running a SCO server (OpenServer 5.0.5) with a dot matrix label printer connected. All of a sudden I can't buy the same 10 line label stationery the system is set up for, so I had to settle for labels about half the form size. Going into the sysadmin shell printers section seems to...
  15. piquet

    Regular expression using negated class

    Hi ND, thanks - yes that is simple. Trouble is I have an application which checks in dozens of places for a single pattern read in from a mapping file to assign a group name based on the pattern of the code : BEGIN { while (getline <ARGV[1] >0) { patterns[$1]=$2 } #...
  16. piquet

    Regular expression using negated class

    Yep, that works, thanks very much! Anyone want to win a gold star for doing it in a single expression - ie. no &quot;|&quot;s !? Phil
  17. piquet

    Regular expression using negated class

    Yes - both of you are correct, I'm sorry the example I give was incorrect in the way you imagined. The string must not contain &quot;XP&quot; after &quot;420&quot; : &quot;420&quot; - is ok &quot;420 &quot; - is ok &quot;420XP&quot; - is NOT ok &quot;420AB&quot; - is ok &quot;420AC&quot; -...
  18. piquet

    Regular expression using negated class

    Hi marsd - thanks! I forgot to mention that I have to check using ~ (contains) and not !~ (does not contain): if (code ~ /420 ... something that means anything (or nothing) but &quot;XP&quot; So, the negating has to be done within the regular expression. Any ideas?
  19. piquet

    Regular expression using negated class

    Hi, I need to find a regular expression I can use in AWK to match a string which does NOT contain a sub-string in a fixed position. The string must begin with a pattern, but then NOT contain the sub-string. Here's an example - the string must not contain &quot;XP&quot; after &quot;420&quot; ...

Part and Inventory Search

Back
Top