Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/11/04 11:44
Read: times


 
#72366 - RE: There is a way to connect printer !!
Responding to: ???'s previous message
Mohit Gupta:

There is actually a way, albeit cumbersome, to interface the 8051 to the laser printer. The 8051 UART would be connected, via MAX232, to a COMM port on a spare PC unit. The PC unit is in turn connected to the laser printer via the PC parallel port.

For software you will need to install Windows on the PC and install the appropriate Windows driver for the particular laser printer. Next write a program for the PC, you could maybe use Visual Basic, that opens a COMM port and accepts serial input ASCII strings and copies them to the laser printer via the Windows printer interface API. Then on the 8051 provide UART interface support. (There are many examples of UART code for 8051 here at 8052.com including in my C8051F126 Loader). The 8051 can now easily make up ASCII strings and send them out the UART port to the Laser printer by way of the PC.

Michael Karas


List of 14 messages in thread
TopicAuthorDate
Problem in printing data to LaserPrinter            01/01/70 00:00      
   RE: Problem in printing data to LaserPri            01/01/70 00:00      
   Is it a Win-Printer?            01/01/70 00:00      
      RE: Is it a Win-Printer?            01/01/70 00:00      
         RE: Is it a Win-Printer?            01/01/70 00:00      
            Nothing to do with EPP            01/01/70 00:00      
               RE: Nothing to do with EPP            01/01/70 00:00      
   RE: Problem in printing data to LaserPrinter            01/01/70 00:00      
   RE: Problem in printing data to LaserPrinter            01/01/70 00:00      
      Winprinter            01/01/70 00:00      
      RE: Problem in printing data to LaserPri            01/01/70 00:00      
      RE: There is a way to connect printer !!            01/01/70 00:00      
         RE: cumbersome way to connect printer !!            01/01/70 00:00      
            RE: cumbersome way to connect printer !!            01/01/70 00:00      

Back to Subject List