RS-485 communication with delphi 5

Posted on 2001-06-18
Last Modified: 2010-04-06
My project is to print to 3 ink jet printers, which are connected to RS-485 network. Do you know any suitable components to use with delphi 5. I would also be grateful for any example code.
Question by:sahkofinne

Expert Comment

ID: 6205435
Are the printers installed in Windows (sorry but networks aren't my thing)? If they are then you should be able to simply send the document to each of the printers installed by using the PrinterIndex property of TPrinter

FOR iCount := 0 TO (Printers.Count -1)
  PrinterIndex := iCount;
  //Print the document

The Neil =:)

Author Comment

ID: 6205526
The printers are not istalled in windows.
They are special ink jet printers which prints article number to products, which are made in production line.
Each printer prints different article id.
I shoud send new data to all printers about every second.

I have done this before with RS-232 (one printer) interface but I don't know how to use RS-485 interface?


Accepted Solution

TOndrej earned 100 total points
ID: 6207348
Go to and download RS-485 driver and source code example in C. You can also find RS-485 specs on that site.

Expert Comment

ID: 6223687
I find the easiest thing to do with RS-485 to PC connections is to buy a cheap 485/232 adapter, and access them via RS232.  This is an easy way to go, especially if you don't need multipoint or long distances.

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Making delphi communicate with a c# service 16 112
tidtcpserver connection lost handle 2 103
Performance of SQL statement 37 127
Multi-layered image in FireMonkey 9 49
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question