PC Review


Reply
Thread Tools Rate Thread

USB connexion

 
 
Vincent A.
Guest
Posts: n/a
 
      30th Jun 2006
Hi !

I'm developping using C# and .NET CF 1.0. I'd like to connect an USB
printer on my device. I know how to manipulate serial port COM1: /
COM2: but i've never tested with an USB port. Can I manipulate USB as
Serial port ?

Thanks in advance,

Vincent.

 
Reply With Quote
 
 
 
 
Dick Grier
Guest
Posts: n/a
 
      30th Jun 2006
Hi,

>>

Can I manipulate USB as
Serial port ?
<<

Not unless that device (printer) is installed as a serial printer. Almost
certainly it IS NOT. Instead it is a standard printer, and you would use
exactly the same methods that you would use if it were a parallel printer.
In fact, even if had been installed as a serial device, you still would
(normally) choose to use standard printer output, otherwise, you would be
bypassing the Windows print spooler, etc.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.


 
Reply With Quote
 
Dick Grier
Guest
Posts: n/a
 
      30th Jun 2006
Hi Vincent,

Sorry, I misread your post, completely! I must have been asleep.

In answer to your real question.... No. The USB port is not a serial port,
and standard serial APIs cannot be used. In fact, there is nothing that you
can do with the USB port (except to use it for ActiveSync -- and, thereby,
use it for a network connection via TCP/IP, or from the desktop via RAPI).

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.


 
Reply With Quote
 
Ilya Tumanov [MS]
Guest
Posts: n/a
 
      30th Jun 2006
First of all, you'd need USB host on your device to connect anything with
USB interface.

Most devices don't have USB host, only client, so USB connection is not
possible at all.

If your particular device has USB host, please contact printer manufacture
for Windows CE driver and SDK.


--
Best regards,


Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/...ramework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

"Vincent A." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi !
>
> I'm developping using C# and .NET CF 1.0. I'd like to connect an USB
> printer on my device. I know how to manipulate serial port COM1: /
> COM2: but i've never tested with an USB port. Can I manipulate USB as
> Serial port ?
>
> Thanks in advance,
>
> Vincent.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
connexion daniel mary Windows Vista Mail 2 30th Nov 2009 07:31 PM
connexion francoise Windows Vista Mail 0 28th Jan 2009 11:40 AM
USB Connexion on win ce 4.2 Vincent A. Microsoft Dot NET Compact Framework 4 4th Jul 2006 03:00 PM
connexion USB rona Microsoft Access 1 25th Dec 2005 01:36 PM
RE: using p/invoke to do a connexion Stephanie Conroy [MSFT] Microsoft Dot NET Compact Framework 0 27th Jan 2004 12:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:53 PM.