473,407 Members | 2,546 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,407 software developers and data experts.

Print

Hey guys,

i have 2 PC (called PC1, PC2). The printer is connected to PC1 and i want to be able to print from PC2 since the printer is shared. I've tried
PrintDocument1.PrinterSettings.PrinterName = "\\PC1\iDP3210" .. but did not work .. any suggestions

NEED CODE PLEAS
THANX IN ADVANC

Nov 20 '05 #1
3 1188
Yeah, dumb question, but it is shared properly isn't it?
"Will" <an*******@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
Hey guys,

i have 2 PC (called PC1, PC2). The printer is connected to PC1 and i want to be able to print from PC2 since the printer is shared. I've tried : PrintDocument1.PrinterSettings.PrinterName = "\\PC1\iDP3210" .. but did not work .. any suggestions ?
NEED CODE PLEASE
THANX IN ADVANCE

Nov 20 '05 #2
Last thing...

try this to see what printers are availible.

For i = 0 To Printing.PrinterSettings.InstalledPrinters.Count - 1

Debug.Writeline(Printing.PrinterSettings.Installed Printers()(i))

Next

"Will" <an*******@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
Hey guys,

i have 2 PC (called PC1, PC2). The printer is connected to PC1 and i want to be able to print from PC2 since the printer is shared. I've tried : PrintDocument1.PrinterSettings.PrinterName = "\\PC1\iDP3210" .. but did not work .. any suggestions ?
NEED CODE PLEASE
THANX IN ADVANCE

Nov 20 '05 #3
Hey, was trying to figure out if any printers were installed on a
computer or not, and voila, ran across your reply here.

Just wanted to write in and say thanks, CJ, and the rest of you guys!
Your vast plethora of knowledge is much appreciated, even if you aren't
thanked enough.

Keep up the great work,
Brian
Nov 20 '05 #4

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

Similar topics

12
by: Michael Foord | last post by:
Here's a little oddity with 'print' being a reserved word... >>> class thing: pass >>> something = thing() >>> something.print = 3 SyntaxError: invalid syntax >>> print something.__dict__...
14
by: Marcin Ciura | last post by:
Here is a pre-PEP about print that I wrote recently. Please let me know what is the community's opinion on it. Cheers, Marcin PEP: XXX Title: Print Without Intervening Space Version:...
0
by: bearophileHUGS | last post by:
There is/was a long discussion about the replacement for print in Python 3.0 (I don't know if this discussion is finished): http://mail.python.org/pipermail/python-dev/2005-September/055968.html ...
1
by: hamil | last post by:
I am trying to print a graphic file (tif) and also use the PrintPreview control, the PageSetup control, and the Print dialog control. The code attached is a concatination of two examples taken out...
1
by: Steff | last post by:
I am wandering if my code is making sense... I use a lot the print function. Is it weird in this case where I have to display an array ? I thought it would be better to have the entire array in php...
3
by: James J. Besemer | last post by:
I would like to champion a proposed enhancement to Python. I describe the basic idea below, in order to gage community interest. Right now, it's only an idea, and I'm sure there's room for...
69
by: Edward K Ream | last post by:
The pros and cons of making 'print' a function in Python 3.x are well discussed at: http://mail.python.org/pipermail/python-dev/2005-September/056154.html Alas, it appears that the effect of...
2
by: Brad Pears | last post by:
I have some sample code that uses the print dialog, print preview and a print direct options. If I select print preview and then click the printer icon from that, the document prints. If I...
7
by: samslists | last post by:
Am I the only one that thinks this would be useful? :) I'd really like to be able to use python 3.0's print statement in 2.x. Is this at least being considered as an option for 2.6? It seems...
12
by: Studiotyphoon | last post by:
Hi, I have report which I need to print 3 times, but would like to have the following headings Customer Copy - Print 1 Accounts Copy - Print 2 File Copy -Print 3 I created a macro to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.