Re: Com and printer port trouble



This is outside my experience, but as no one else replied to your
previous post, here goes.

Presumably the scale uses one of the signal lines in the parallel port
to show it's ready, and presumably your Access code has to keep calling
some code that polls the port.

The first thing that comes to mind (I really am guessing here) is that
the system could be losing the connection between the LPT1: or PRN:
device that Windows makes available to the Access session and the
physical parallel port. If you connect a printer to the physical port
and open a Windows command prompt, can you send data to the printer
(remember to send a FF - Chr(12) - to make the printer output the page)?

Are there any other programs or processes that might try to access the
parallel port? If so, they could interfere with the Access application.

I suspect, however, that the solution to your problem is more likely to
be found in a Windows forum than an Access one.



On Thu, 10 Aug 2006 15:03:02 -0700, Cameron
<Cameron@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Hello.

I have an application that uses a trigger sent from a scale to the printer
port to signify that data is ready to come from the scale to Com port 1. When
the access application recieves this data it records it and then calculates
the true weight and sends it to com port 3 which in turn is displayed on the
scale scoreboard. however, over time the application looses connection to the
printer port and stops recieving data. I'm kind of baffled by this, as this
just all of a sudden started doing this. Was there a microsoft update that
might have been responsible for my code no longer working?

--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
.



Relevant Pages

  • Re: IEEE 1284.4 printing support
    ... been windows XP systems with service pack 2. ... print when I install it through the usual add printer wizard. ... port called USB, ... a parallel port is turned on and is using either SPP, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: PC based measurements
    ... >> I would like to use the parallel or serial port to do it. ... as it can measure resistance directly. ... I have just purchased PureBasic which works in windows, ... and this connects to the Parallel Port via "io.dll" easily. ...
    (sci.electronics.basics)
  • Re: HP 840C printer wont print
    ... Why can't I print from the lpt1 port ... mine works ok either with the parallel or with the USB port. ... Try to remove the parallel port and reboot Windows to have it automatically ...
    (microsoft.public.windowsxp.print_fax)
  • Re: Interfacing two devices using RS-232 ports
    ... I need to interface two devices, both offering a RS-232 port. ... > Assuming that I have both the scale and printer techincal information ... > considering using a low power (both in terms of power consumption and ... > As you might have already guessed, reading the output (I am considering ...
    (sci.electronics.equipment)
  • Re: Interfacing two devices using RS-232 ports
    ... I need to interface two devices, both offering a RS-232 port. ... > the message to be printed) and send the string to an industrial ink-jet ... > Assuming that I have both the scale and printer techincal information ... > As you might have already guessed, reading the output (I am considering ...
    (sci.electronics.equipment)