parallel port monitor?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Wizard
    Badcaps Legend
    • Mar 2008
    • 2296

    #1

    parallel port monitor?

    I need a software that can give me info what program DOS is outputting data to a parallel port by flagging the LPT# address. Not the one that monitors the parallel port itself.

    It is like IP scanner.

    Problem is I have a program brundle, one works well with 2 printers but one other program for printing from the database that was created by first program is squirting data steam into ether-space and is "waiting for a ACK from printer or spooler" and doesn't appear on XP spool monitor.

    For this reason I need to track down the "ghost" port address that program is sending data to that doesn't exist so I can redirect it to correct port. That where I need a program to report to me what this program is doing during the "printing".
    The brundle of this two programs with database does not have provision for changing the port settings. Unfortunely and it is important.

    Tried google and could not find what I'm looking for.

    HELP!

    Cheers, Wizard
  • zandrax
    Hit and miss
    • Dec 2007
    • 1157
    • Italy

    #2
    Re: parallel port monitor?

    The program is a Dos program or a Windows one? If it's a Dos one, it may pool directly the printer and wait for a reply from it (an ACKnowledge command); a Windows one should send all data through the Windows spooler but there are [dreadful] exceptions.

    I don't know if such a lpt tester does exist so I suggest an alternative approach: remap a LPT port to a network device with "NET USE LPTx \\SERVER\PRINTER", being LPTx the port you want to redirect and \\SERVER\PRINTER the path (SERVER is your computer's name and PRINTER the printer's one). Ancient Dos program should look for LPT1 and LPT2 only (IBM PCs and XTs could address only two parallel ports) while newer Dos programs (for 286, 386 and above) can look up to 4 ports and Windows ones are without explicit limits (they can send data to any port, such as FILE or USBx), though 4 addressable ports are the most common limit. Try remapping LPT1 first: if it doesn't work, then remove the remapping and try with LPT2, then LPT3 etc. Moreover, the program can print to a serial port instead to a parallel one so try remapping all COM[1-4] ports if the 4 LPT aren't enough. Eventually you should identify the port the program uses.
    Note: remapping port[s] physically present on the computer (such as LPT1) is tricky because you need Administrative privileges.

    Zandrax
    Last edited by zandrax; 11-25-2008, 04:14 PM.
    Have an happy life.

    Comment

    • Wizard
      Badcaps Legend
      • Mar 2008
      • 2296

      #3
      Re: parallel port monitor?

      Thanks for the reply, I figured that out that thing, will try to find a solution for once and all, because I recalled looong ago about the bios call and banging on the hardware directly (NO NO!! finger wagging.).

      I tested on a spare printer and the old server (98 and the software) that I took out offline awhile ago due to corruptions to database) to see if windows's spooler appear when this retarded program prints. Nothing on spooler and printer a-churning. Aha, banging on the hardware. :P Funny, the 2 out of 3 programs we use works except the one was different in programming. So I added the start link to the alterative program so we can keep going.

      Yes, I said DOS programs.

      I'll use the NET USE.... method and see.

      I wish the hardware designer of this wonderful 1x PCI-E 2x parallel ports adapter card wrote and designed that adapter better even it works via software emulation but make it better that it can fool the hardware-twiddling programs.

      Cheers, Wizard

      Comment

      • bgavin
        Badcaps Legend
        • Jan 2007
        • 1355

        #4
        Re: parallel port monitor?

        That's a tough one to answer... I did a lot of copy protection cracking in the DOS days, by writing an ASM routine that intercepted various interrupt vectors.

        This concept will work to intercept Int17 calls to the parallel ports. But... most DOS programs bypassed the BIOS call due to awful performance, and wrote directly to port 378, etc. Nothing comes to mind for a software intercept of I/O ports. A bus analyzer would do the trick. Think of it as a Sniffer on the bus that is filtered to watch for the port addresses you are interested in.

        All the above is geeky stuff, and not really a fix. The redirection idea is probably the first choice. After that, perhaps running the DOS application in a virtual machine might work... ?

        Comment

        Related Topics

        Collapse

        • momaka
          HannStar Hanns-G HC194d LCD monitor repair
          by momaka
          Normally, I never post repairs this quick after I do them, because… I am usually very slow. But today, I’m making an exception here. Why? No idea. Perhaps only because the repair details are still “fresh” in my head… which is ironic, given this is a 16 year old monitor that hardly anyone will care about today. It is new to me, though. I picked it up last November from someone on my local Craigslist. It wasn’t very close to where I live, but was close to a family friend that I had to go visit anyways. So after watching the posting on Craigslist for a few weeks and seeing it getting...
          03-15-2023, 10:17 PM
        • amuse619
          Asus G15 5980HX - 6800M - No Display on Laptop - HDMI/Display Port external monitor works fine. Fried Component.
          by amuse619
          Hello!
          Looks like I fried something when my EDP cable got squeezed on the hinge. I replaced the cable but still no display. Laptop works fine with external monitor connected through HDMI and Display Port-USB C port. I took it apart and I see a burnt component. Can anyone help me identify what this component is? I tried to use schematics for another G15 but it does not match on the amount of pins and size. I attached pictures. The component has a label on it - (21A29)

          Laptop is a Asus G15 Advantage Edition 2021 Laptop Ryzen 9 5980HX - 6800M...
          08-14-2024, 01:22 PM
        • Document Archive
          LENOVO ThinkCentre M710 + ThinkVision T23i 23" Full HD IPS monitor ThinkCentre M i5-7400 Specification for Upgrade or Repair
          by Document Archive
          This specification for the LENOVO ThinkCentre M710 + ThinkVision T23i 23" Full HD IPS monitor can be useful for upgrading or repairing a desktop PC that is not working. As a community we are working through our specifications to add valuable data like the ThinkCentre M710 + ThinkVision T23i 23" Full HD IPS monitor boardview and ThinkCentre M710 + ThinkVision T23i 23" Full HD IPS monitor schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional...
          09-12-2024, 01:58 PM
        • Document Archive
          HP Compaq dc7700p Intel Core2 Duo Processor E6300 2x512M/80G DVD-ROM WXP Pro Small Form Factor PC E6300 Specification for Upgrade or Repair
          by Document Archive
          This specification for the HP Compaq dc7700p Intel Core2 Duo Processor E6300 2x512M/80G DVD-ROM WXP Pro Small Form Factor PC can be useful for upgrading or repairing a desktop PC that is not working. As a community we are working through our specifications to add valuable data like the Compaq dc7700p Intel Core2 Duo Processor E6300 2x512M/80G DVD-ROM WXP Pro Small Form Factor PC boardview and Compaq dc7700p Intel Core2 Duo Processor E6300 2x512M/80G DVD-ROM WXP Pro Small Form Factor PC schematic. Our users have donated over 1 million documents which are being added to the site. This page will...
          09-12-2024, 03:36 PM
        • wattage
          AOC AG493UCX 49-inch monitor - Firmware request
          by wattage
          Hello Badcaps Community,

          I purchased a preowned AOC monitor that is not working and out of warranty. It was sold as not working. I am looking for guidance on self-repair. In particular, I am after the firmware for the monitor. At the end, I have included monitor model information and links to pics and vids of the issue.

          The problem is that it will not display a picture on any of its inputs. And the on-screen menu does not appear. The power button works properly. It powers on with the remote as well. But the on-screen menu does not appear, even when not connected to any...
          07-13-2025, 04:41 PM
        • Loading...
        • No more items.
        Working...