Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

CLACom with .NET
All,

We are re-writting an application that was originally developed in the
Clarion programming language that utilized CLACom, developed by GAP,
for serial communications with a dot matrix printer (Star Micronics
SP300). We are experiencing poor performance when trying to use the
Windows drivers printing from our new application written in C#.
Therefore, which of the following options is recommended to obtain the
same speed we had before using the CLACom libray.

1. Use the OPOS drivers
2. Call the CLACom32.dll directly from C# (using Interop - if this is
even possible).
3. Look into a 3rd party product to provide serial communications
(similar to what CLACom provided).

Any other ideas or recommendations are welcome...

Thanks,
Steve

Report this thread to moderator Post Follow-up to this message
Old Post
Steve
08-04-04 08:55 PM


Re: CLACom with .NET
Steve spoke thusly on 04-Aug-04 09:23:
> All,
>
> We are re-writting an application that was originally developed in the
> Clarion programming language that utilized CLACom, developed by GAP,
> for serial communications with a dot matrix printer (Star Micronics
> SP300). We are experiencing poor performance when trying to use the
> Windows drivers printing from our new application written in C#.
> Therefore, which of the following options is recommended to obtain the
> same speed we had before using the CLACom libray.
>
> 1. Use the OPOS drivers
> 2. Call the CLACom32.dll directly from C# (using Interop - if this is
> even possible).
> 3. Look into a 3rd party product to provide serial communications
> (similar to what CLACom provided).
>

You forgot #4, which is to write your own serial port code.

Having said that though, I'd recommend you use the OPOS drivers.
IIRC there's a .Net wrapper for OPOS objects on Curtiss' site, and once
you get the code working for the Star printers you should be able to use
it again for virtually every printer on the market.

--
Paul
(Look at ORGANISATION field in header for correct email address)
[message posting using news.individual.net]

Report this thread to moderator Post Follow-up to this message
Old Post
Paul Attryde
08-05-04 08:55 PM


Re: CLACom with .NET
For the CLACom solution, you can use the Interop services:

public class Clacom {
public const short COM1 = 0;
public const short COM2 = 1;

Report this thread to moderator Post Follow-up to this message
Old Post
Hilario Perez
08-06-04 08:55 PM


Re: CLACom with .NET
Is there anyone who uses the COM_IOControl or do I have o buy a control inst
ead?

Report this thread to moderator Post Follow-up to this message
Old Post
Niek
01-07-05 11:39 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Clarion archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:35 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.