Ask Experts Questions for FREE Help !
Ask
    moyenda's Avatar
    moyenda Posts: 73, Reputation: 3
    Junior Member
     
    #1

    Jun 2, 2009, 12:48 AM
    Net use syntax
    Hi'yall
    I'm cracking with difficulty trying to get my printer work from ACCPAC accounting system, initially the net use command has been used & have always been fine until recently when the printer's configuration changed. I have tried deleting the connetion & recreating the connection using a different LPT, 2 & 3 but none seems to be giving me an output from the printer, it can print from windows test page but not while connected in ACCPAC, here's a command ran
    Attached.
    Attached Files
  1. File Type: txt net use syntax.txt (5.8 KB, 1518 views)
  2. chuckhole's Avatar
    chuckhole Posts: 850, Reputation: 45
    Senior Member
     
    #2

    Jun 4, 2009, 10:35 PM

    You are attaching to a shared printer on two different computers and one does not work:
    Libuseng_pc\hpLaserJ3380

    The same share on PDC does work?

    Which machine is the printer connected to?
    Does the printer have a network connection or attached print server with a network connection?
    When you click on Start, Run and type \\Libuseng_pc and then OK, what shared resources do you see?
    Is the printer share name correct?
    If the printer has a network connection, is it set with a Static IP address or is it DHCP? Do not use DHCP for print servers.
    moyenda's Avatar
    moyenda Posts: 73, Reputation: 3
    Junior Member
     
    #3

    Jun 5, 2009, 12:14 AM

    All my computers running ACCPAC can't print to that printer,
    Libuseng_pc is one of them, the share on PDC does work yes, the printer is on a Jetdirect connected. Our server is the PDC... when I run \\Libuseng_pc
    I get the printer,printers,sharedDocs & deskjet 9803 which isn't on the network anymore
    The share name is correct... hpLaserJ3380, I have excluded the IP on DHCP exampl:192... 30 - 40 because its on IP 39
    Funny because the JetDirect flashes (LED.. activity ) when I test printing from ACCPAC but nothing comes out of the printer, we had it print on both screen & printer and it shows on screen but not out of the printer
    chuckhole's Avatar
    chuckhole Posts: 850, Reputation: 45
    Senior Member
     
    #4

    Jun 5, 2009, 09:58 AM

    Try a basic test from a command line:

    NET USE LPT1 \\pdc\hpLaserJ3380
    ECHO Test Print from a PC > LPT1

    This willl send a single line of text to your printer that is attached to LPT1 via the redirected network connection.

    If it does not work, then your LPT1 port is in a "Plug and Play" mode that will not allow print redirects. You will need to use the DEVCON.EXE utility to use a PNP port as a physical device. This brings back some memories.

    For LPT1, you would type:
    devcon disable *PNP0401
    Then you would use the NET USE to attach to the printer. This may have to be done as a batch file since your port can revert back to PNP mode after a reboot.

    To scan for ALL of the ports on your computer, type:
    devcon find *

    And for the available com/lpt ports, type:
    devcon find =ports *pnp*

    Refer to The DevCon command-line utility functions as an alternative to Device Manager for full info and utility download.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

Syntax Error [ 1 Answers ]

I'm in remote desktop and trying to print an email out of Microsoft Outlook and I keep getting Syntax error. I read in here to do regsvr32 ole32.dll and I received another message. DllRegister Server in ole.32.dll failed. Return code 0x80070005. Do you know what this is?

Syntax Highlighting [ 1 Answers ]

Syntax highlighting is available for most programming languages. To use syntax highlighting in your post use the # button above the question input box. The # button will put in your question. To specify a particular language just place an equal sign and the language name after the first CODE...

Syntax Highlighting [ 0 Answers ]

Syntax highlighting is available for most programming languages. To use syntax highlighting in your post use the # button above the question input box. The # button will put in your question. To specify a particular language just place an equal sign and the language name after the first CODE...


View more questions Search