Announcement

Collapse

Forum etiquette

Our mission ...

This forum is part of our mission to promote the preservation of vintage computers through education and outreach. (In real life we also run events and have a museum.) We encourage you to join us, participate, share your knowledge, and enjoy.

This forum has been around in this format for over 15 years. These rules and guidelines help us maintain a healthy and active community, and we moderate the forum to keep things on track. Please familiarize yourself with these rules and guidelines.


Remain civil and respectful

There are several hundred people who actively participate here. People come from all different backgrounds and will have different ways of seeing things. You will not agree with everything you read here. Back-and-forth discussions are fine but do not cross the line into rude or disrespectful behavior.

Conduct yourself as you would at any other place where people come together in person to discuss their hobby. If you wouldn't say something to somebody in person, then you probably should not be writing it here.

This should be obvious but, just in case: profanity, threats, slurs against any group (sexual, racial, gender, etc.) will not be tolerated.


Stay close to the original topic being discussed
  • If you are starting a new thread choose a reasonable sub-forum to start your thread. (If you choose incorrectly don't worry, we can fix that.)
  • If you are responding to a thread, stay on topic - the original poster was trying to achieve something. You can always start a new thread instead of potentially "hijacking" an existing thread.



Contribute something meaningful

To put things in engineering terms, we value a high signal to noise ratio. Coming here should not be a waste of time.
  • This is not a chat room. If you are taking less than 30 seconds to make a post then you are probably doing something wrong. A post should be on topic, clear, and contribute something meaningful to the discussion. If people read your posts and feel that their time as been wasted, they will stop reading your posts. Worse yet, they will stop visiting and we'll lose their experience and contributions.
  • Do not bump threads.
  • Do not "necro-post" unless you are following up to a specific person on a specific thread. And even then, that person may have moved on. Just start a new thread for your related topic.
  • Use the Private Message system for posts that are targeted at a specific person.


"PM Sent!" messages (or, how to use the Private Message system)

This forum has a private message feature that we want people to use for messages that are not of general interest to other members.

In short, if you are going to reply to a thread and that reply is targeted to a specific individual and not of interest to anybody else (either now or in the future) then send a private message instead.

Here are some obvious examples of when you should not reply to a thread and use the PM system instead:
  • "PM Sent!": Do not tell the rest of us that you sent a PM ... the forum software will tell the other person that they have a PM waiting.
  • "How much is shipping to ....": This is a very specific and directed question that is not of interest to anybody else.


Why do we have this policy? Sending a "PM Sent!" type message basically wastes everybody else's time by making them having to scroll past a post in a thread that looks to be updated, when the update is not meaningful. And the person you are sending the PM to will be notified by the forum software that they have a message waiting for them. Look up at the top near the right edge where it says 'Notifications' ... if you have a PM waiting, it will tell you there.

Copyright and other legal issues

We are here to discuss vintage computing, so discussing software, books, and other intellectual property that is on-topic is fine. We don't want people using these forums to discuss or enable copyright violations or other things that are against the law; whether you agree with the law or not is irrelevant. Do not use our resources for something that is legally or morally questionable.

Our discussions here generally fall under "fair use." Telling people how to pirate a software title is an example of something that is not allowable here.


Reporting problematic posts

If you see spam, a wildly off-topic post, or something abusive or illegal please report the thread by clicking on the "Report Post" icon. (It looks like an exclamation point in a triangle and it is available under every post.) This send a notification to all of the moderators, so somebody will see it and deal with it.

If you are unsure you may consider sending a private message to a moderator instead.


New user moderation

New users are directly moderated so that we can weed spammers out early. This means that for your first 10 posts you will have some delay before they are seen. We understand this can be disruptive to the flow of conversation and we try to keep up with our new user moderation duties to avoid undue inconvenience. Please do not make duplicate posts, extra posts to bump your post count, or ask the moderators to expedite this process; 10 moderated posts will go by quickly.

New users also have a smaller personal message inbox limit and are rate limited when sending PMs to other users.


Other suggestions
  • Use Google, books, or other definitive sources. There is a lot of information out there.
  • Don't make people guess at what you are trying to say; we are not mind readers. Be clear and concise.
  • Spelling and grammar are not rated, but they do make a post easier to read.
See more
See less

I dont knw how comunicate with printer port

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

    I dont knw how comunicate with printer port

    Hi to all members I am new here I want to learn programming for electronic circuits bt i dont now how to communicate with printer port I tried before take knowledge from internet but fail my system doesnt work like them it shows some error of system 32. Can anyone help me to do so.

    #2
    I trust that you're using Windows 9x or MS-DOS as your host system. Windows NT....Windows 10 doesn't work the same way, although for 2K-XP there is a "GIVEIO" driver that can let some programs at the printer port.

    Comment


      #3
      It depends on what you mean "communicate with the printer port". If you just want to send pre-formatted data, for example HPGL, G-Code or similar vector graphics code then you can use the .net "RawPrinterHelper" class as described here:-

      https://support.microsoft.com/en-us/kb/322090

      (This also has links to how to do the same thing from VB6)

      but its purely one way, that is you can write but not read. For two-way I/O I generally load a copy of WIN9X into a VMware Player VM and map the LPT port across. I have had good results with that for many thing, but its not as fast as a real printer port.

      If you want real bit-level I/O then a modern PC is not really an suitable platform. You would be better using an Arduino, Raspberry PI or one of the other embedded solutions (Beagle Board black). If you really want to stick with a PC running Linux might also help...
      Dave
      G4UGM

      Looking for Analog Computers, Drum Plotters, and Graphics Terminals

      Comment


        #4
        Thanks.. chuck(g) for reply.. I need ur guidence to learn programming n all stuff plz help me in this I m tried from a long period bt I didnt find any one who can guide me properly. first I wnt to knw wt changes I hv to make wide my pc to convert it in a ic programmer or making program for electronic circuits. I want you to add as a friend if u can. Plzz its a humble request to you. In my city there is no such any teacher who can teach me deeply these things thanks... I hope you under stand my problem

        Comment


          #5
          Thanks. For reply. Can u suggest any book or online link to learn programming for electronic circuits..plz reply

          Comment


            #6
            Thanks for reply.. cn you suggest me ny book or onlune link to learn programming for electronic circuits.. plz reply

            Comment


              #7
              Thanks for reply.. I m new here can you plz help me learn programming n stuff I m trying from long time bt I didnot find any one who can guide me to learn these things in my city there is no such teacher who can teach in deep its a humble request to you plz help me to learn... add me as ur friend if u cn... thanks awaiting for ur kind reply

              Comment


                #8
                Is windows NT IS suitable for. Port communication or any other os...???

                Comment


                  #9
                  What are you trying to do with the parallel port? If we have a clearer idea, we can make suggestions.

                  It is VERY possible to communicate bidirectionally with that, or almost ANY port from DOS, or ANY Windows, Linux,etc. version--just takes different methods for each OS...

                  Can you give us an outline of what you are tring to accomplish?

                  gwk

                  Comment


                    #10
                    I want to do programing for electronic systems I want to send programs by printer port and recive intrupt data from the system

                    Comment


                      #11
                      I would also like to talk directly to printer ports on Windows 8.1 (and Windows/10) preview 64-bit without having to pay to licence code...
                      Dave
                      G4UGM

                      Looking for Analog Computers, Drum Plotters, and Graphics Terminals

                      Comment


                        #12
                        Actually I have now found a DLL that claims to do it:-

                        http://www.highrez.co.uk/Downloads/InpOut32/default.htm

                        will have to give it a whirl...
                        Dave
                        G4UGM

                        Looking for Analog Computers, Drum Plotters, and Graphics Terminals

                        Comment


                          #13
                          What OS are you wanting to use?

                          Comment


                            #14
                            Hi Dave,

                            Yeah, there are several around, and they work great if you don't require any real throughput, and you can work in a polled mode rather than responding in a timely fashion to an interrupt, and then que responses in a buffer.

                            TO do that properly, you need to be at Ring0 in Windows 7/8x/10, and that is going to require a IOCTL-based kernel mode driver (which I can point you to).

                            The DLLs are all USER mode (Ring3 with boundary transitions), and can be adequate if you don't need the speed.

                            gwk

                            Comment


                              #15
                              I did recently find one app that needs the speed. It loads programs into the "Baby" valve computer Replica and it can be found some where on here:-

                              http://www.cs.man.ac.uk/CCS/SSEM/vol...s/archive.html

                              basically it needs to set a bit every 10us and it fails under emulation, so I would expect it to fail with the DLLs. The code in use has some assembler embedded in Turbo Pascal....
                              ... I think I will probably build an Arduino replacement, if that will go fast enough, with an SD card reader so we don't end up transferring data on floppy.
                              Dave
                              G4UGM

                              Looking for Analog Computers, Drum Plotters, and Graphics Terminals

                              Comment

                              Working...
                              X