Beiträge von bernr

    Hello Julian,

    I send the you an email back on Monday January the 11th stating

    Zitat

    We are looking at releasing support for Chinese and Arabic in our application by June of this year, can you please let me know how well WPT supports these two languages, what is not supported and what are some things we should be aware of working with these languages in WPT.

    I have a meeting with the president of our company tomorrow concerning this and have yet to receive a reply.

    I emailed this to support with the attached file.

    I am having problems with styles using Korean language documents. I am running WPTools 5.48 but I checked in the TBX demo for v6 and I see the same behavior.

    The WPT file I emailed has a style called EC Title (24 Point Batang in red, centered). If I highlight text using my own 5.48 editor, or the 6 TBX editor and apply EC Title style to text, it gets the font and size right, but the color does not change to red. I am also getting weird behavior when I highlight text and change the color, the color changes in the editor but the CurrAtr.Color does not appear to return correctly (if I change text to red, it still comes up as black.

    Any ideas on why the styles are not working properly?

    Thanks,

    ok some more info. I was finally able to reproduce the issue in house using the Microsoft Office Image Writer and printing the print job as a .tif.
    Not all images are missing.
    I downloaded the most current WPTools (5.51) and upgraded to it. Same problem (note: I DID not modify any of the source).
    But if I print the WPT to WPDF and print the PDF then it works perfectly.
    It is just weird, the WPT shows correctly just does not print correctly.

    Ok now we seem to be having another problem from this. We have made the code changes in the WPTools code as you suggested and that did fix the GDI leak problem. But now we are having customers complain that graphics that use to print are now no longer printing. Basically we append a graphic header to the top and a graphic footer to the bottom of certain documents. Now at certain sites these graphics are not printing after the WPTools code change. At one site changing the top and bottom margins to 0 fixed the problem and the images started printing again, but at another site it did not.

    Any Ideas?

    Hello,

    We have another weird problem.
    Ok have have some users that have created a document that only contains a single table row with hidden borders with no text. Now when you look at the document it looks blank, and in the old days if you did an .asansitext it would come back as '', but now with the new way you format ANSI text (which we are glad about by the way) it comes ASANSITEXT comes back as '#9#9#$D#$A', so my question is what is the proper way to see if there is actually any text in the document? .ISEMPTY returns false, which makes sense. And I can not just check for '#9#9#$D#$A', because what if they have two rows.

    Thank you, changing the code fixed the problem.
    Will this something that will be fixed in future versions, or will I need to remember to change your source code on new versions?

    Also I am being asked what the issues was and why this fixes it.
    And can you explain the DONT_USE_DIBS compiler symbol a little more for me.

    And THANKS for getting back to me so quickly!!!!!!!!!!!!!!

    No special setting that we know of, happens whenever we are rdped into our xp system, also happens on terminal server. it is happening on a brother printer,multiple up printer and using docuprinter to produce pdfs. Only happens when we print from wptools, does not happen from word, adobe or gnostice pdf from Delphi.

    Did you test while expedition into the console of a system?

    I have posted a zip file on our website at http://www.exitcare.com/downloads/temp/WPTools_Problem.zip
    This zip file contains both the RTF we are testing with and an AVI video showing the problem

    Ok we have found out that it is not just related to HP Print drivers.
    It seems to really only be happening when RDPed into a system.

    We are able to reproduce this on multiple print drivers.
    Basically what we have found is that WPTools is leaking 1 GDI reasouce in the print spooler for each graphic that is in a document.

    We have been doing our testing with the WPTools Multi Demo using the TBX Demo.

    Steps to reproduce
    1) RDP into a computer (Make sure you are connected to the console)
    2) First bring up Task Manager
    3) Click view | select columns and add GDI objects
    4) Find Spoolsv.exe in the list so you can watch the GDI objects
    5) Now run the your TBX Demo
    6) Load an RTF file with images in it
    7) Print the file (I will also email you the RTF we are using)
    8) Notice the GDI objects go up, then come but down but are more then what they were when started. After doing testing we noticed for each graphics in the document 1 GDI object is leaked in the spooler.

    We have tested this using V5 and V6
    Thanks Bern

    Hello we have a customer that is having a problem when printing.
    They are using HP printers Models () with the Advance Printing Functions (APF) turned on. They are telling us that when they print the GDI object count reaches 10,000 and their print spooler hangs and stops printing until the spoolers are stopped and restarted.
    They say it does not happen when the APF is turned off. However they say they need the APF turned on so that the print job collate properly. If APF is not turned on, proper collation does not work, and multiple copies of print output from their other applications do not print in the right sequence.

    Their environment
    64-bit, Windows 2003 Terminal Server
    32 bit Windows 2003 Terminal server
    Using the standard 2003 printer drivers for HP printers
    They have also tried the HP universal printer driver.
    In this scenario (Universal Print Driver), the print jobs do NOT leak GDI objects, even when APF is enable on the printer.

    HOWEVER, when the UPD is used, we cannot print at all unless the logged-in user is an administrator of the machine


    Thank you
    Bern