Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 303
Default selecting network printer

Our IT staff say they cannot solve the issue...............................

I use a macro to select a networked label printer as a default printer and
after the job has been printed to select the normal inkjet printer.

Problem is when we log on to the network the label printer may be on a
different port. I.e. in stead of on Ne04 it may now be on Ne01 and the
macro does not run.....
Is there a different way to select a non default printer?

Thanks
Bill Kuunders

part of the macro.................

Selection.PasteSpecial Paste:=xlValues

Application.ActivePrinter = "\\nzdfprn01\Label_UHT_Sato on Ne04:"
Sheets("label").Select

ActiveWindow.SelectedSheets.PrintOut Copies:=2

Application.ScreenUpdating = True
Application.ActivePrinter = "\\nzdfprn01\Inkjet_BevProd on Ne04:"
Sheets("schedule").Select



Reply
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
members on my network printer not able to print to default printer smeheut Excel Discussion (Misc queries) 0 June 18th 07 06:42 PM
How do I send a spreadsheet to a printer outside the network? Moe in Goffstown Excel Discussion (Misc queries) 3 February 14th 07 04:34 PM
Selecting A Printer With VBA Minitman[_4_] Excel Programming 4 October 21st 04 05:51 PM
Selecting a printer Robin Clay[_3_] Excel Programming 0 February 2nd 04 06:25 PM
Selecting a Printer in VBA Robin Clay[_3_] Excel Programming 3 January 28th 04 01:13 AM


All times are GMT +1. The time now is 11:45 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"