Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / October 2007

Tip: Looking for answers? Try searching our database.

connect to printer problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vicente García - 26 Oct 2007 11:01 GMT
Hello all,

I have an a bit strange printer and I would like to connect a C# program
running on my computer to the printer. I know that the printer can be
connected by LAN (TCP/IP protocol, 10/100 Base-T)  but  I am not quite sure
of its meaning. I have not seen anything about that the printer could be
connected by a specific port. Could someone please tell me if I can connect
the computer to the printer via the Internet and how I could do this job?

Apologies for my English,
Thanks in advance.
Vicente.
Vadym Stetsiak - 26 Oct 2007 11:41 GMT
Hello, Vicente!

AFAIR network printer can be connected directly to the network and have its
own IP and port.

Also printer can be connected to the computer, that has IP address on the
network.

You can read more about printing here
http://www.devarticles.com/c/a/C-Sharp/Printing-Using-C-sharp/ and
here http://support.microsoft.com/kb/322091

--
With best regards, Vadym Stetsiak.
Blog: http://vadmyst.blogspot.com

You wrote  on Fri, 26 Oct 2007 12:01:55 +0200:

VG> Hello all,

VG> I have an a bit strange printer and I would like to connect a C#
VG> program  running on my computer to the printer. I know that the
VG> printer can be  connected by LAN (TCP/IP protocol, 10/100 Base-T)
VG> but  I am not quite sure  of its meaning. I have not seen anything
VG> about that the printer could be  connected by a specific port. Could
VG> someone please tell me if I can connect  the computer to the printer
VG> via the Internet and how I could do this job?

VG> Apologies for my English,
VG> Thanks in advance.
VG> Vicente.
Vicente García - 26 Oct 2007 13:28 GMT
Hi Vadym,

I typed http://192.168.2.4/ in the domain and then I obtained info about the
printer (the machine produces labels)

TCP/IP status
  IP address  : 192.168.2.4(DHCP)
  Subnet Mask : 255.255.255.0
  Gateway addr: 192.168.2.1
  DHCP Server : 192.168.2.1
  Lease time  : 172800sec.
  WINS server(Pri.): 0.0.0.0
  WINS server(Sec.): 0.0.0.0
  NetBIOS Scope ID :

But I think I need a port which connect from my PC (PC and printer are in
the same local network). Next I must send and receive ASCII messages to and
from the printer from the PC.

Many many thanks
Vicente.

> Hello, Vicente!
>
[quoted text clipped - 27 lines]
> VG> Thanks in advance.
> VG> Vicente.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.