Add A Local Or Network Printer

May 27, 2009

im making an application and i need to install a printer in a computer. The application im trying to do is a client-server application so the idea is that the server send the instruction to the client telling him what to do and then the client will do it, in this case it will go to a SAMBA directory and it will get the drivers for the printer model from there and after that it will install the printer, everything in silent mode.

[Code]...

View 3 Replies


ADVERTISEMENT

VS 2008 : Get Network Computer's Printer List And Printer Info?

Dec 7, 2009

get a list of printer's (name,port,model) from a computer over the network. I know how to list my own, but it's from querying the Win32_printer object on my machine, I need to be able to do something similar on a remote machine.

View 4 Replies

Check Status Of Local Printer?

Jun 4, 2011

I use Visual Basic 8.0 and Windows 7 Prof. and Deskjet 720c.To print a document i use PrintDocument component I want to Check status of local printer My problem is, if de printer if offline of not connected every print job is then automatically sent to the print spooler of Deskjet 720c.I try to use Try Catch, But this does not work I get no error message

[Code]...

View 1 Replies

Printing To A Network Printer?

Oct 20, 2009

i'm quite new to VB see my code i'm not sure where i enter your code Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load RichTextBox1.Text = "I print My text here.'filling the richtextbox with some text that can be used readily End Sub

[Code]...

View 1 Replies

Ways To Print To Pdf Using Itextsharp Or A Local Pdf Printer

May 23, 2011

Ive searched the forum and found numerous ways to print to pdf using itextsharp or a local pdf printer which is great. The problem I have is that "from what I can see" paths are specified to documents which are trying to be converted.Can anyone tell me if its possible for the VB code to point to say a pdf printer but not specify the document I wish to send. The reason for this (and if you've seen a simular post in the VB6 forum sorry - I decided to try .net). Im trying to incorporate the process to create an API.

View 9 Replies

Get Default Printer Name With Network Path?

Mar 25, 2009

I want to get the default printer name with the network path. Because i am using the network printer as a default printer. So i need this in VB.NET or C#.Net.

View 3 Replies

Print Document Through Network Printer?

Nov 12, 2008

i have tried to print pdf file through network. i have used printdocument. File is printed with no content. Content is not set to the printer. My code is

Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[Code].....

View 2 Replies

Print To A Network Printer From A Webpage?

Jan 18, 2010

I am trying to print to a network printer from a web page. To do this I am using PrintDocument and some simple code that I found. When I run this code while debugging in visual studios it works fine but when I move it to our server (windows server 2003 - only happens on x64) it gives an invalid handle exception. I don't believe it is a connection problem with the printer because I am able to print while remotely logged on to the server and the error comes up when trying to print to a file as well.

Protected Sub Button1_Click() Handles Button1.Click
myPrint = New PrintDocument()
myPrint.PrinterSettings.PrinterName = "\printserverprinter"
myPrint.PrintController = New StandardPrintController()
myPrint.Print()
End Sub

View 4 Replies

Send A Character To A Network Printer?

Oct 14, 2010

I need to create an exe in VS2010 with VB that does the same thing as a simple command line. The reason is related to debugging. I can type ECHO ~ > \WIN7MMF25$ in a command window on a W2K8R2E server and it will send the ~ character to the shared "printer" on the Win7 PC. Actually, the device is a cash drawer connected to LPT1 that pops open when it sees a ~ character.

Anyway, I created a CMD file with that command, saved it, fired it, and the cash drawer on the Win7 PC opens. However, when I try to call that command file from our ERP application, it doesn't work (it does work if the remote PC is XP, though - just not if it is Win7 or Vista).

Anyway, I was hoping if I created a simple EXE and called THAT from the ERP software, perhaps whatever issue is bugging us will not bug us anymore.

View 5 Replies

Sending Documents To A Network Printer Using .NET?

Aug 3, 2009

We have large IBM Infoprint printers. I need to read a bunch of PDF files off a database, merge them together, and send it to one of these printers. I need to be able to specify many options such as what tray to use, with/without staple, etc. All of these options can be manually set when I try to print something off my computer (via the advanced print driver preferences), so I am certain that these can also be set programmatically. How can I do this in .NET (Visual Basic)?

View 2 Replies

Know Print Given To Network Printer Is Success Or Fail?

Nov 6, 2009

how to know print given to newtwork printer is sucees or fail.Using WMI methods i am checking printer status..but after PrintDocument.Print() calling, how can i know print is success or fail.

View 5 Replies

Create User Defined Paper Size To A Network Printer?

Sep 30, 2010

How can I create a user defined paper size to a network printer on Windows XP ?

View 12 Replies

IP Adress On A Local Network?

Mar 25, 2010

any one have a code in vb 2008 which allows me to know the IP address of local network.

View 2 Replies

Web Service - How To Write Text String Directly To Network Shared Printer

Jan 16, 2012

I have a web service that is currently calling the DOS command copy to put a text file to a specified network share.

This is the code:
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.ComponentModel
Imports System.Data
Imports System.IO
Imports System.Xml
[Code] .....

It appears doing this might be causing some problems and our front-end programmer suggested I see if I can output the stream "output" directly to the network shared printer specified by the SOAP request. Is this possible? This is VS 2010

View 8 Replies

Find The Local Network Ip Address?

Jul 26, 2011

I have a .net network application , and as part of improving the performance of the software i would like to find the shortest route to the server . When i have more than one network , i need to find the local network ip from these current ip list .

View 3 Replies

Getting A Local Network Chat Program?

Aug 26, 2011

I need a program that can send and receive msgs to everyone that's on that program and on that network, then is there a way to add chat rooms to the program 2. I looked all around the Internet and MSDN and found a lot of results but non worked property.

View 6 Replies

How To Send File Between PC's On Local Network By Using PC Name

Jan 24, 2012

Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click

Dim FileToCopy As String
Dim NewCopy As String
FileToCopy = "C:Users????DesktopfileName"
NewCopy = "C:Users???Desktop
ewfileName"

[Code]...

View 2 Replies

Sharing Database In Local Network?

Jun 23, 2010

I have created an application using Visual Basic .NET, the application use an access data base which must be shared in server of a local network. The problem is when I run the application in a client machine (connected to the network) I can't connect to the data base.In the same machine the connection work which it's not the case when I change the location of the base to: Data Source="serverIPAdress/DataBase.mdb"

View 2 Replies

SQL Server Name On Local Computer Not Network?

Jul 18, 2012

how to find the list of SQL servers on the local machine...and not the network...

I searched in google but everywhere its for the list of SQL servers on network....I just want my PC SQL server name....

View 4 Replies

VS 2008 - Possible To Get Network Users Local IP?

Jul 9, 2011

Is it possible to get all my network users' local IPs using VB 2008?

View 6 Replies

.net 08 Local Area Network (LAN) Source Code?

Mar 4, 2010

find a source code of using a local area network(LAN) in visual basic.net 2008?

View 1 Replies

Check For Share And File In Local Network?

Jan 1, 2010

I am developing an application, which hunts the local network for attached computers then checks for a share and a file, if found it displays it in a listbox. While testing this I have seen some strange Chinese or Japanese computer names pop up and in a few seconds go away, the names seem to always be different.

View 8 Replies

How To View Computers Connected To A Local Network

Jun 8, 2011

Here is my Prob- we have a main router from which we use a distributor or hub for internet connection distribution, ever computer connected automatically obtains IP address of format say - 180.50.50.xxx to access net connection.if any connected computer has different IP format than the given one, it cannot access internet.

View 1 Replies

Local And Network Printers For ALL Users On A Remote Pc?

May 30, 2012

I have this partially working but only shows printers for one user, need all local and network printers mapped for ALL users on a remote pc so I can migrate them, I know I need to do some sort of for each method but not sure what will work

[Code]...

View 1 Replies

Make A Chat Application That Can Go Out The Local Network?

May 16, 2012

I have been trying to make a chat application that can go out the local network for quite some time, but all I seem to find is chat applications for in local networks?

View 7 Replies

MS Access Database File On Local Network

Jun 22, 2010

I am working on a project based on networking. My problem is that database on server (time to time updated by clients Application) is available in shared folder sometime any client delete that database file from shared folder then project stopped working. So give me process for accomplish this problem is there any way through which is database on server work invisibly and client unable to delete that file. I tried read only attribute on shared folder then my project unable to insert record in that database file.

View 1 Replies

Respond To Data From A Local Network Port?

Nov 27, 2009

I am writing some software that should respond to commands from a port.

How do I set up a handler to respond when data is recieved at that port.

Do I need to do anything special, like respond or set up the port in the first place.

I don't have any experience doing anything like this!

CheersGuy Joseph - Intel Quad Q9450, 4Gb Ram, 3x500GB Hard Drives, NVidia 8800GT, Marian Marc 8, VB Express 2008

View 1 Replies

Windows Application + Accessing From Outside The Local Network?

Jul 12, 2011

I have developed a windows application for my company. It is a multi user software and we are using sql 2008 as the database. The sql 2008 is installed in our company server. Within our LAN, there is no problem in accessing the software and its working pretty fine.

Now the problem is, some of the managers need to go out frequently(for business tour and all) and they need access to this software. The software is already installed in their laptops.Is there any way to access the database that is in our company server ???

We have few static IPs with us, is there any way i can use that here (Using NAT in the firewall or something)?

View 3 Replies

.net - Search For Files Over Local Network Servers Directorys?

Jan 31, 2012

I want to build a search program that searches for a key word over any local networks the computer workstation has assess to like the search for files and folder function on any standard windows computer but with added feature it will also search across the networks servers its connected to?

View 1 Replies

Check If A Computer Is Connected To Domain Or Only A Local Network?

Oct 27, 2010

i need to check if my Computer is connected with an Active Directory Domain or only in a Workgroup. Is this possible?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved