+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30
Windows Server 2000/2003 Thread, Print scripts very annoying issue in Technical; ive never had to specify the driver for a printer before i just use the following Code: ' suiteprinters.vbs - ...
  1. #16


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,207
    Thank Post
    218
    Thanked 812 Times in 694 Posts
    Rep Power
    274
    ive never had to specify the driver for a printer before i just use the following

    Code:
    ' suiteprinters.vbs - Jonathan
    Option Explicit
    Dim objNetwork
    on error resume next
    Set objNetwork = CreateObject("WScript.Network") 
    
    objNetwork.AddWindowsPrinterConnection "\\server\libbw01"
    
    objNetwork.SetDefaultPrinter "\\server\libbw01"
    i have found though that if your share name and printer naem are eifferent it can cause some issues on win7 (so printer is shared as say \\server\printer1 but its named suite1 printer)

  2. #17
    Mcshammer_dj's Avatar
    Join Date
    Feb 2007
    Location
    Portsmouth
    Posts
    908
    Thank Post
    35
    Thanked 154 Times in 125 Posts
    Rep Power
    54
    which driver are you using??

  3. #18

    Join Date
    Apr 2012
    Posts
    95
    Thank Post
    2
    Thanked 2 Times in 2 Posts
    Rep Power
    4
    Well we have three HP printers.

    The main ones are a HP2550n and im using the HP universal Printing driver.

    Now When i have just tried to connect to this printer is saying it cannot find the correctly driver so it looks like its something to with the driver installed.

    PS i have just tried to installed the HP laserjet 2550n pcl6 driver but i still get the same thing

    Error1.jpg

    Any help would be greatly appreciated
    Last edited by Ryan233; 21st May 2012 at 09:56 AM.

  4. #19

    Join Date
    May 2010
    Posts
    820
    Thank Post
    84
    Thanked 53 Times in 44 Posts
    Rep Power
    41
    Sure you're specifying the correct driver (as found in the test page) ?

    eg PrinterDriver = "HPZ2KU09.DLL" for instance

  5. #20

    Join Date
    Apr 2012
    Posts
    95
    Thank Post
    2
    Thanked 2 Times in 2 Posts
    Rep Power
    4
    Quote Originally Posted by caffrey View Post
    Sure you're specifying the correct driver (as found in the test page) ?

    eg PrinterDriver = "HPZ2KU09.DLL" for instance
    Yeah i tried the following

    Drivername = UNIDRV.DLL and ICTcolour.

    None of these has worked

  6. #21
    Mcshammer_dj's Avatar
    Join Date
    Feb 2007
    Location
    Portsmouth
    Posts
    908
    Thank Post
    35
    Thanked 154 Times in 125 Posts
    Rep Power
    54
    so to confirm, you have a number of printers

    you give them an IP address and installed them on the server and then share on the server giving them a unique name each.

    what happens if you simply go to the \\servername and then double click on the printer to install it??

  7. #22

    Join Date
    Apr 2012
    Posts
    95
    Thank Post
    2
    Thanked 2 Times in 2 Posts
    Rep Power
    4
    Quote Originally Posted by Mcshammer_dj View Post
    so to confirm, you have a number of printers

    you give them an IP address and installed them on the server and then share on the server giving them a unique name each.

    what happens if you simply go to the \\servername and then double click on the printer to install it??
    Like i mentioned above it tries to connect to the windows update to download a driver. it comes back with no driver recognized

    Then it basically says you can manually select a drivers INF file or cancel.

    Error1.jpg

    I think this is the issue but i have tried three different drivers now and none of them work. btw if i try to manually attach the pcl6 driver to this printer it comes with another error saying Windows cannot connect to the printer but users can browse the network find the printer an print.

  8. #23
    Mcshammer_dj's Avatar
    Join Date
    Feb 2007
    Location
    Portsmouth
    Posts
    908
    Thank Post
    35
    Thanked 154 Times in 125 Posts
    Rep Power
    54
    have you checked the share levels on the srever and who is able to get to the shared driver on the server

  9. #24

    Join Date
    Apr 2012
    Posts
    95
    Thank Post
    2
    Thanked 2 Times in 2 Posts
    Rep Power
    4
    Quote Originally Posted by Mcshammer_dj View Post
    have you checked the share levels on the srever and who is able to get to the shared driver on the server
    I have just looked at this and there seems to be fine with permissions. This issue is starting to really annoy me haha

    I have just tried to connect to all the HP printers and all of them search for the driver
    Last edited by Ryan233; 21st May 2012 at 11:16 AM.

  10. #25
    Mcshammer_dj's Avatar
    Join Date
    Feb 2007
    Location
    Portsmouth
    Posts
    908
    Thank Post
    35
    Thanked 154 Times in 125 Posts
    Rep Power
    54
    Is the printer installed on the server and does it print etc as expected?

  11. #26

    Join Date
    Apr 2012
    Posts
    95
    Thank Post
    2
    Thanked 2 Times in 2 Posts
    Rep Power
    4
    Yeah the printer is installed on the server and its printing fine for users and myself but you cannot i can connect to buy browsing to the server.It just looks for a driver straight away. this happens with all HP printers on my network

  12. #27

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,213
    Thank Post
    2,766
    Thanked 935 Times in 875 Posts
    Rep Power
    343
    found this - not sure how much help or use it will be

    Windows Server 2003 Print Server Troubleshooting - Windows Server Help

    Try this, right click all your printers, do Properties, Advanced tab,
    click Print Processor. HPs notoriously hijack the default Winprint
    print processor and put in their own junk processor. Go through and
    set them all to Winprint, data type is usually RAW. Write down
    settings before you apply changes as a precaution.

    SP2 is more robust with the print spooler so I would not downgrade to
    SP1. However, there's a gamut of patches and hotfixes I would
    recommend you install. KB934855 is most likely your issue but do note
    that the localspl.dll from KB934855 has seen some updates since so be
    aware of the issues from the other KBs. Also, note the registry tweaks
    in some of the KBs as well.

    I have installed them all and 99.9% of my issues have gone away for
    well over a year. Here's the list:

    Stop error if you use some OpenType fonts on a computer that is running Windows Server 2003, Windows Vista, or Windows Server 2008: "Stop error code 0x00000050 (PAGE_FAULT_IN_NONPAGED_AREA)"
    MS08-062: Vulnerability in Windows Internet Printing service could allow remote code execution
    The Print Spooler process (Spoolsv.exe) crashes while it is copying print driver files on a computer that is running Windows Server 2003 or Windows XP
    When you try to print a document to a PostScript printer in an application, the application exits unexpectedly, or you find that an invalid PDF file is created from the incorrect data in the PostScript file
    A printer-driver upgrade operation fails on printer clients that are running Windows Server 2003 or Windows XP when multiple printer queues are upgraded at the same time
    The print queue status is displayed as "Offline" on a Windows Server 2003-based print server if SNMP is enabled and if the printer devices do not respond to SNMP commands
    You may be unable to print a job after you install the .NET Framework 3.0 or the XML Paper Specification Essentials Pack on a Windows XP SP2-based computer or on a Windows Server 2003-based computer
    The Print Spooler service may stop sending print jobs to a printer that uses the standard port monitor on a Windows Server 2003-based computer
    A printer driver upgrade operation may fail in Windows Server 2003
    and

    One other thing, go to your Control Panel > Administrative Tools >
    Services. Look around for something called PML Driver HPZ12 or some
    such thing. There may be more than 1. Set it to disabled and stop it.
    This is another HP related "helper" service that often screws things
    up.

  13. #28

    Join Date
    Apr 2012
    Posts
    95
    Thank Post
    2
    Thanked 2 Times in 2 Posts
    Rep Power
    4
    Well i tried the above suggests, which unfortunately did not work. i'm starting to really get annoyed at this issue. specially because its only HP printers.

    Well i have just tried a different driver the HP universal ps5.4 driver. i have taken a picture of the test page.

    testpage.jpg


    Can anyone point me in the right direction.

  14. #29

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,213
    Thank Post
    2,766
    Thanked 935 Times in 875 Posts
    Rep Power
    343
    On one of the HP Printers print ques ( lets try this on the one above that you have installed with ps 5.4 ) if you either

    1. Untick / uncheck the SNMP feature, ok, ok and try a normal print job
    2. Disable all advanced printer features and try again

  15. #30

    Join Date
    Apr 2012
    Posts
    95
    Thank Post
    2
    Thanked 2 Times in 2 Posts
    Rep Power
    4
    Quote Originally Posted by mac_shinobi View Post
    On one of the HP Printers print ques ( lets try this on the one above that you have installed with ps 5.4 ) if you either

    1. Untick / uncheck the SNMP feature, ok, ok and try a normal print job
    2. Disable all advanced printer features and try again
    Great Stuff that has worked for Windows XP machines. but not the few windows 7 machines we have

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Print script not playing ball
    By bondbill2k2 in forum Scripts
    Replies: 3
    Last Post: 21st June 2011, 10:37 AM
  2. IE8 Not Printing script
    By swordfish215 in forum Scripts
    Replies: 0
    Last Post: 18th May 2011, 12:39 PM
  3. 64bit print server, 32bit clients....issues - Fixed
    By Ambient in forum Windows Server 2008
    Replies: 7
    Last Post: 15th April 2011, 10:04 AM
  4. Smartboard - very odd issue
    By biotechlady in forum Hardware
    Replies: 11
    Last Post: 3rd December 2009, 04:42 PM
  5. Replies: 0
    Last Post: 9th September 2008, 08:17 AM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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