Hi I can't claim I fully understand this, but I remember when I was solving this problem, I shortened my network printer names to 8 character and with no spaces. This is all well if you are in control of the network, when I was not I cheated by sharing the same printer from a workstation giving it a name with less then 9 character and no spaces. It might be a problem even with server name with some characters, when it was I solved it by replacing the server name with IP-address. That works for me Hope it helps even if cheated
Gunnar Ekblad -----Ursprungligt meddelande----- Fr�n: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] F�r Michael Moser Skickat: den 8 januari 2004 17:15 Till: RBASE-L Mailing List �mne: [RBASE-L] - Re: Printing from R:Base DOS 6.5 under Windows 2000 - Net Use Based on the entries listed in My Network Places I tried this on my own system (XP Pro) net use lpt1: "\\Cc1066888-aevo\HP DeskJet 1220C" and got an error "66: The network resource type is not correct". Removing the quotes results in a syntax error. "HP DeskJet 1220C" is a shared printer on machine Cc1066888-aevo. These things tend to be something small but significant... Thanks, Michael Michael Moser EXAQ Micro Services www.exaq.com Phone: 916-768-7656 Fax: 916-966-8313 using: >> Mike, >> Try this: >> net use lpt1: \\YourPCNameInWindows\YourPrinterNameInWindows >> > -----Original Message----- >> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michael >> > Moser >> > Sent: Thursday, January 08, 2004 12:57 AM >> > To: RBASE-L Mailing List >> > Subject: [RBASE-L] - Re: Printing from R:Base DOS 6.5 under Windows 2000 >> > >> > >> > Thanks for the suggestion. >> > >> > NET USE LPT1: \\servername\printername is used (I think) to >> > redirect a print job from the physical LPT1 device to a network >> > printer. In this case I have an okidata printer on COM1 and a >> > laser on LPT1. The RBase printer is set to OKIDATA1. >> > >> > R> output printer >> > R> dir >> > R> output screen >> > >> > Simply causes rbase to lock up with no return to the R> after the >> > 3rd command. No info to the printer, not even garbage. >> > >> > If I remember correctly R:Base really prints to the logical >> > device PRN and there was some DOS level command that would >> > redirect PRN to a physical device LPT1, COM1, etc. (It might >> > have been a command that redirected LPT1 to LPT2, COM2, etc.) It >> > is my understanding that NT does not handle output to PRN well, >> > which is what causes this type problem to begin with. >> > >> > I remember doing this a number of years ago, how quickly we forget :-) >> > >> > Michael >> > >> > Michael Moser >> > EXAQ Micro Services >> > www.exaq.com >> > Phone: 916-768-7656 >> > Fax: 916-966-8313 >> > >> > >> The DOS command is: >> > >> > >> NET USE LPT1: /DELETE >> > >> NET USE LPT1: \\servername\printername >> > >> > >> > >> > >> > >> At 12:59 PM 1/7/2004 -0800, you wrote: >> > >> >Happy New Year everyone! >> > >> > >> > >> >Typical story -- State client working happily on RBase >> > program written >> > >> years ago on Windows 98 system. Hard disk crashes. Computer >> > replaced with >> > >> Windows 2000. We are converting to R:Base for Windows but >> > the conversion >> > >> will not be completed for a couple of months and end of year >> > processing, >> > >> auditors, .... >> > >> > >> > >> >I remember that there is a DOS level printer redirection >> > command for PRN >> > >> that was used for R:Base for DOS with Windows NT and it seems that >> it >> > >> worked >> > >> for 2000 as well but I can't seem to remember it or find it. >> > >> > >> > >> >Anyone remember that or have a solution for printing from >> > R:Base 6.5 DOS >> > >> under windows 2000? >> > >> > >> > >> >Thanks! >> > >> >Michael >> > >> > >> > >> > >> > >> >Michael Moser >> > >> >EXAQ Micro Services >> > >> >www.exaq.com >> > >> >Phone: 916-768-7656 >> > >> >Fax: 916-966-8313 >> > >> > >> > >> > >> >

