LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Macro to print to IP address

Onced you have a printer installed all you have to do is select thie correct
printer

Application.ActivePrinter = "\\MYSPOOL\EASTPRINTER on AB10:"

You need to have a spooler on windows to send the data over the internet.
types of sppolers would be a Print Spooler, or a Mail Spooler, or some other
type of program that send data over the internet like FTP, HTTP.

You have an open excel file that you need to format and send over the
internet. A printer won't accept an excel file directly. You could print to
a file and then send the file to the printer. You would need to use FTP to
sent the file to the printer.

"Larry S" wrote:

Thanks, but the question wasn't how ti install a network printer. I need a
macro that will print to a printers IP address.


"Joel" wrote:

Add a new Printer using IP address using the following instructios. Then use
the new printer.

1) Start button - Settings - printer and fx
2) Add printer
3) Next - Local Printer attached to this computer. Un-check automatically
detect and install my Plug and Play Printer
4) Next - Create a new Port - Standard TCP/IP Port
5) Next - Next
6) Enter IP Address For Printer in Printer Name or IP Address
7) continue responding to questions until New Printer is installed
8) Go back to excel and select the new printer.

"Larry S" wrote:

Can someone help me with a macro to print to an IP address. I have a stand
alone network printer that i want to print to and everyone has the printer
named differently on their computer. The only constant is the IP address.

Thanks in advance,
Larry

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to print same address on entire sheet of labels ajeuck Excel Discussion (Misc queries) 2 August 14th 08 08:27 PM
how do I print address labels from an Excel Spreadsheet sq Excel Worksheet Functions 2 November 2nd 05 04:07 PM
how can I print address labels from an excel file bcowan Excel Discussion (Misc queries) 2 February 10th 05 02:07 PM
How do I make and print 3x5 address cards? spbaechle Excel Discussion (Misc queries) 3 January 11th 05 08:03 AM
Print enveloppes' address from Excel Thang Excel Programming 1 January 16th 04 03:41 PM


All times are GMT +1. The time now is 07:04 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"