+ Reply to Thread
Results 1 to 3 of 3

Thread: network printer

  1. #1
    Forum Contributor
    Join Date
    05-27-2004
    Posts
    119

    network printer

    Hi,
    I wanted to create a macro that will connect and give print command to the network printer (not the default ) and need to rearrange the page setup also.
    if anybody knows any useful link regarding this will be very helpful for me
    thanks and regards
    nowfal

  2. #2
    Valued Forum Contributor
    Join Date
    09-04-2006
    Location
    Yorkshire, England
    Posts
    268
    is it always going to be same printer you want to connect to?

    if so just change the file path in the below code

    Code:
    Application.ActivePrinter = "\\prnl030s.VIA.NOVONET\PR000318 on Ne08:"
        ActiveWindow.SelectedSheets.PrintOut Copies:=1, ActivePrinter:= _
            "\\prnl030s.VIA.NOVONET\PR000318 on Ne08:", Collate:=True
    if this does not work check this out

    HTML Code:
    http://exceltips.vitalnews.com/Pages/T0548_Controlling_the_Printer_in_a_Macro.html
    Last edited by JR@SGC; 08-24-2007 at 07:39 AM.
    JR
    Versions
    Mac OS X 'Leopard'
    Mac MS Office Excel 2004
    Windows XP
    MS Excel 2002
    MS Excel 2003

  3. #3
    Forum Contributor
    Join Date
    05-27-2004
    Posts
    119
    thanks for your reply, i have to check with my office network tomorrow

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0