View Full Version : Net use syntax
moyenda
Jun 2, 2009, 12:48 AM
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.
chuckhole
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
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
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 (http://support.microsoft.com/kb/311272) for full info and utility download.