473,396 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

connect to printer problem

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.

Oct 26 '07 #1
2 2495
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-Sha...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:

VGHello all,

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

VGApologies for my English,
VGThanks in advance.
VGVicente.

Oct 26 '07 #2
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.
"Vadym Stetsiak" <va*****@gmail.comescribió en el mensaje de noticias
news:ON**************@TK2MSFTNGP02.phx.gbl...
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-Sha...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:

VGHello all,

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

VGApologies for my English,
VGThanks in advance.
VGVicente.
Oct 26 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Patrick Herb | last post by:
Hello, I'm trying to print the content of a RichTextBox from my VB 6 app. What I want is that the CommonDialog shows up, the user selects a printer and the content of the RichTextBox prints to...
1
by: Bruce Adams | last post by:
I am using VB6 SP6. I have an application that prints charts. Specifically, it prints line charts of plant process information nightly. The code is a mix of API calls and Printer methods. I am...
2
by: Yong Pong | last post by:
I have some functionality that I am trying to implement and I cannot figure it out. What I am trying to do is make it so that a user goes to a web page, sees a printer, clicks on a hyperlink, and...
0
by: James Griffiths | last post by:
Here is a report I've written about a printing problem that is being experienced by a particular company for whom I had developed a A97 system. After upgrading to Win XP and AXP, some printing...
1
by: David Trivette | last post by:
I was wondering if anyone could help me with a MS Access 2002 issue I'm having. Problem - I created a db in Access 97 which worked just fine for several years. In the db the user can generate...
1
by: akhosravi4703 | last post by:
I'm having a problem with an application I pushed out recently. First, some background The application was made with Access 97 (unfortunately I'm stuck with this older version for the moment)...
1
by: groulder | last post by:
hi all, i have a problem with a network database that's used by a lot of people. people are finding, they will start the database, and if the mouse is moved over the print icon, the tooltip...
0
by: mmcgee00 | last post by:
Hi, Currently, I am trying to get different service banner by connecting to different ports using python (code below). The versions I am working with are python 4.2.1 and fedora core 4. I am...
0
by: Gunady | last post by:
Hi All, I have used ActiveX (written in C# 2.0) to render report and print it silently to printer. I have given up to use pure Javascript to do this. The code in ActiveX will connect to the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.