No BSD License  

Highlights from
DioPrint

4.0

4.0 | 10 ratings Rate this file 1 Download (last 30 days) File Size: 60.81 KB File ID: #2169
image thumbnail

DioPrint

by Michael Librodo

 

20 Aug 2002 (Updated 04 Mar 2003)

Using the DIO Object and parallel port adaptor to emulate the Centronics Protocol to drive a printer

| Watch this File

File Information
Description

This demo illustrates how you use MATLAB and the Data Acquisition Toolbox to emulate the Centronics protocol commonly used to communicate with parallel port devices.

The Centronics protocol is a set of rules that dictate the exchange of signals between a host and client device. This protocol ensures that information is passed in a correct and timely manner. With the Data Acquisition Toolbox providing the connectivity layer to the digital device and MATLAB serving as an environment to program the Centronics logic model, it is possible to develop an application that can take a simple string and output it to the parallel port.

An accompanied article discusses the logic model behind the Centronics protocol, using the Data Acquisition Toolbox and its new parallel port adaptor and the construction of the graphical user interface (GUI) to drive the demo application, dioprint.

For more information, see this MATLAB Digest article:
http://www.mathworks.com/company/newsletters/digest/sept02/centronics.html

Required Products Data Acquisition Toolbox
MATLAB release MATLAB 6.5 (R13)
Other requirements To run the demo a printer must be connected to the PC parallel port.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (14)
08 Apr 2003 G.SrinivasRao Rao

It is very but i want code for ecg data acquitions

19 Aug 2003 mahdieh ghasemi

I want to write for read data from parallel port by matlab ?

19 Nov 2003 M. T. Rastegar

I want to write a program in MATLAB that control a spectrometer system include two servo motor and count square pulses of spectrometer using parallel port, who do it?

13 Dec 2003 osama qazaqi

i wnat a help to connect parallel port using matlab R13(6.5), i dont find the needed help in matlab R12(6)

13 Dec 2003 osama qazaqi

 i need your help in which to make a trivial file transfer through the parallel port using matlab R13(6.5)

17 Dec 2003 ruba yousef

iwant to transfer data between 2 computers with parallel port, using matlab.

18 Dec 2003 Reem mohmaod

iwant to transfer data between 2 computers with parallel port, using matlab 6.5

24 Dec 2003 Tahanee Darabee

i want to transfer a file between two computers in parallel using matlab 6.5

28 Feb 2004 mohamed mohi

i want to read the port(0) of the LPT! "378h"
but RTW "Digital Input block "allows only reading the status register "5 lines" only.
 how can i read the pins 2-9 of the parralel port and under which mode?

01 Apr 2004 mohamed fezari

Hello this is mourad from algeria
thanks for dioprint functions , i were looking fro a way to control process using Matlab, and it will be more effective if there would be some functions on serial port RS232.

26 Jun 2004 islam saad  
19 Nov 2004 Arnaldo Barrucci

Dear Mr. Librodo

I have been using the Dioprint.m file and it works
just fine in a 1.6 GHz computer with Windows XP, But I
have problems using Dioprint.m in 2.2 GHz computer
(also with windows XP)... and the Parallel ports in
both computers have the same configuration.
I was wardering if you can help me with this concern..
Thanks a lot
I will be waiting for reply

Arnaldo Barrucci
a_barrucci@yahoo.com

20 Jul 2007 MAHD ASHUR  
14 Jan 2008 tejas pradhan

can u tell me how to interface with the 36 pin printer port.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
example Michael Librodo 22 Oct 2008 06:48:03
application Michael Librodo 22 Oct 2008 06:48:03
centronics Michael Librodo 22 Oct 2008 06:48:03
parallel Michael Librodo 22 Oct 2008 06:48:03
port Michael Librodo 22 Oct 2008 06:48:03
digest Michael Librodo 22 Oct 2008 06:48:03
dioprint Michael Librodo 22 Oct 2008 06:48:03
data Michael Librodo 22 Oct 2008 06:48:03
acquisiton Michael Librodo 22 Oct 2008 06:48:03
printe Michael Librodo 22 Oct 2008 06:48:03

Contact us at files@mathworks.com