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 Andrzejek 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. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    Ok, Chris, as I wrote earlier. I can't participate in experiments until the end of January 2025. You have Microsoft FoxFont installed. This font also reports incorect BBox . I will finish the code that I presented here. It will take me some time due to my professional activities. I like to...
  2. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    Text files have exactly the same appearance as printer printouts. They consist of ASCII characters. For this reason, they can be opened using Modi File. Text files are imported into the Memo field in the DBF table and then printed to the printer using the "? MyMemoField" command. Narrow in the...
  3. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    I found a lot of information about this error. Sometimes reinstalling the font helped. In my case, the error occurs in FoxFont installed with VFP9, as well as in Font developed by my colleague. Printing from VFP to PDF printer, as I wrote, is correct. Acrobat reads correctly documents. There are...
  4. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    Absolutely not Chris. I downloaded the ZIP File. I wrote that it probably works with other fonts. And yes .... it work. It hangs with my font. Acrobat Reader displays the message: Font contains bad /BBox If I use any PDFPrinter for screen presentation., everything is OK. Font issues are...
  5. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    Editorial error. Of course config.fpw
  6. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    Good question. Ask autor of script about the Courier font from his provided example. I get a PDF that shows nothing. PDFCREATE("TEST.TXT","TEST.PDF",1,"Courier",10) Chris, I will finish the project. The interface will be available. The ListBox will freeze with a list of document pages to...
  7. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    Program code corected. I have added SET MEMOWIDTH TO 256. You can give a higher value (it won't hurt). In my programming environment and in programs codes I have set the value to 256. ********************************* * example of displaying txt files *********************************...
  8. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    Inset Chris to code "SET MMEMOWIDTH TO 256 or the maximum value designed for VFP. Then will be corectly. I entered MMEMOWIDTH value 1000 as a test. The number of report lines by MemLines() is correct. I counted manually :) Aliness is certainly a very good counter tool. Do you know a way to...
  9. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    That's exactly what I was thinking. That's what I used to do with printouts in Windows7/10 to old Oki Microline dot matrix printers via "Copy File.TXT LPT1.DOS". For some reason, after printing a few pages, the printout would suddenly stop. Probably some buffer would overflow. Every two pages I...
  10. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    I checked the program on another computer. The problem is in the limit of the Height property for EditBox. At a value slightly above 8400 it does not want to display text content. Program scrolls to the end of the documents list window and then stops scrolling. The last document is cut off. I...
  11. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    It may be a RAM issue. Old DELL computer 4 GB RAM installed, 3 GB for use. I bought one some time ago and have FVP installed on it. My clients had such computers. I had to have similar class to avoid surprises. I will compile the program to EXE and run it on a stronger machine. The TXT file was...
  12. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    Very interesting Chris. I ran your program. I did some performance tests of the TXT file browsing program. Today the code allows to display 31 pages of an A4 form. The file has 324927 (325000) characters. It doesn't want to display more. With much larger numbers of characters (rows) there is...
  13. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    I removed FontMetric() scaling in the code on my computer for testing. I left only Memlines(). I used a large font size. It stopped displaying properly. With one line in the text file, nothing was visible. With scaling, it displays with a slight excess ( spare multiplier of 1.3 value) I...
  14. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    I couldn't find any decent example, so I created a test window to display TXT files with font settings and scrolling vertically and horizontally. I followed Chris' instructions. I added some scaling by height. I gave a spare multiplier of 1.3 value. The scaling is more of an illustrative...
  15. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    For today I used a temporary solution. I prepared the appropriate FOXUSER.DBF file with required font assigned to TXT and other settings. At start of the program code I used SET RESOURCE OFF. In the program code I used the following sequences of commands for display raports: Set Resource ON...
  16. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    I rule out using EditBox. No horizontal scrolling. Unfortunately, my clients have a FoxUser.DBF file. Sometimes there are problems with it. Then I delete it. Most of my clients work on terminals, so a permanent system image with the FoxUser.DBF file is loaded during startup of system. I have to...
  17. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    Yes Dan ! :) This is probably the main reason. My FoxUser.DBF Incorrect assignment of the font to the text, as I wrote earlier, certainly occurs if programs written in VFP is run several times at the same time. After closing programs, everything is OK. However when client turns off...
  18. Piotr Czekalski

    How to set font size and type in TXT file thru VFP6/9

    I wrote earlier that I couldn't find Franklin font in registers. I looked through Windows registers of VFP and it wasn't there Screen-4. In options FVP-->IDE I added FoxFont font to TextFile. FoxFont appeared in Windows registers Screen-5. I turned computer off and then turned on. Modi...

Part and Inventory Search

Back
Top