Announcement

Collapse
No announcement yet.

Printing a document with word or notepad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Re: Printing a document with word or notepad

    OK, you are right.
    anyway, try this one to show it how it works:

    home.hccnet.nl/temp/write.zip



    programming is very easy, just put the characters in the right order....

    Comment


    • #17
      Re: Printing a document with word or notepad

      Check your link

      Comment


      • #18
        Re: Printing a document with word or notepad

        The link is OK.
        Put the line in the adresbar of your browser and you can download the file.
        programming is very easy, just put the characters in the right order....

        Comment


        • #19
          Re: Printing a document with word or notepad

          Pfff... 404

          Comment


          • #20
            Re: Printing a document with word or notepad

            send me a direct email.
            So I can send the file to you.
            programming is very easy, just put the characters in the right order....

            Comment


            • #21
              Re: Printing a document with word or notepad

              Thanks much! Write.exe did exactly what I wanted it to. When I tried wordpad.exe it didn't work. Do you think that the write.exe command will work across different platforms?

              dan

              Comment


              • #22
                Re: Printing a document with word or notepad

                as far as I know, all the windows versions can handle "write.exe".

                gr. Mario
                programming is very easy, just put the characters in the right order....

                Comment


                • #23
                  Re: Printing a document with word or notepad

                  Are you saying that this will not work with Win2000? I don't understand your posting probably because of my ignorance. I am not familiar with HKEY_LOCAL_MACHINE or what you are telling me here. I would appreciate some help.

                  Comment


                  • #24
                    Re: Printing a document with word or notepad

                    HKEY_LOCAL_MACHINE is a registry hive.

                    Windows 2000 doesn't have any "write.exe". Just "wordpad.exe" that starts even if you call "write.exe" but as long as there is a registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Cur rentVersion\App Paths\WRITE.EXE" pointing as you can see at the same "wordpad.exe" with "(Default)" value of "%ProgramFiles%\Windows NT\Accessories\WORDPAD.EXE".

                    Windows 98's "C:\WINDOWS\WRITE.EXE" is just a launcher for "C:\Program Files\Accessories\WORDPAD.EXE" but not app itself so including it with your autorun is kinda useless. It's like copying whole disk C: to your D: disk just making a "Shortcut to C:" on your D:.

                    I'd reccomend you to associate your program with write.exe not including it on your CD as it's:

                    1. Against Microsoft EULA/Copyrights

                    2. wordpad.exe installed by default and in case of

                    2a. Windows 98 got launcher "C:\WINDOWS\WRITE.EXE" starting the "C:\Program Files\Accessories\WORDPAD.EXE"

                    2b. Windows 2000 got registry values set to make things work.

                    On the other hand user may uninstall write/wordpad or could have it not installed at all if he choosed not to install it during Windows installation. Then the whole procedure will fail.

                    My point is not to horrify you but let you see that there's no point at all to include just "write.exe" launcher on your CD. It's almost the same as if you call it with shortcut from your start menu.

                    Comment


                    • #25
                      Re: Printing a document with word or notepad

                      I appreciate your thoughts and see the logic. Perhaps my best option to provide print-outs of my text would be to direct the user to adobe's site for "acrobat reader" if the user does not have it installed, and then to associate my print files to print with the reader software. That's probably the route I should take unless someone else has another idea. I was trying to avoid creating the documents and then having to convert them to pdf. Plain text files don't seem to meet my needs either because they lack formatting and style.

                      Thanks for the suggestions.

                      Comment


                      • #26
                        Re: Printing a document with word or notepad

                        Although I never had complaints using the WRITE.EXE command, you can run Acrobat Reader directly from CD.
                        Try this with an older version (3.0). It will run much faster than version 4 and speeds up the limits comparing with version 5.
                        Be shure you take the right actions Adobe demands if the Reader is used.

                        mario
                        programming is very easy, just put the characters in the right order....

                        Comment


                        • #27
                          Re: Printing a document with word or notepad

                          Or you could simply include Adobe Acrobat Reader on your CD for user to install/read documentation. There were plenty of explanations already concerning this case. Search forum for Acrobat subject. There was a pretty good example somewhere which detects if user already has Acrobat Reader installed, also checks it's version and if it's older asks user to install newer one you have included on CD.

                          Comment

                          Working...
                          X