Hi Jock and Tontu,
We had tried the IP address (though I was at the other end of a phone line, so I'm not sure it was done correctly), but it appeared not to work. Trying to use \\myComputerName\printerName did not work either, so I guess it would have to be another computer on the network that...
We have an application for which we have been successfully using the NET USE \\computerName\ShareName command for some time. Now, however, we have had some customers attach a printer directly to the network and there is no \\computerName to use. The printer just has an IP address. How can we...
I think what would solve your problem is to have a way to have the Notepad settings remain after you run the program. That way, you could set the margins and have those margins remain in effect. Here's how to make the Notepad settings "sticky". In Windows 98 or ME run regedit (in...
You may already know this, but here goes.
The %1 is the first parameter when the batch file is called. So if the batch file is named BATCH.BAT and it is envoked by:
BATCH xyz qrs
Then xyz is %1 and qrs is %2
Thus, in your code below, the first line is checking if the batch file was...
Set epoch can be used in clipper 5.0 on. The way it is used is "set epoch to 1930" near the top of your program. Then all dates with two digit years are interpreted as being from 1930 to 2029. Thus <br>
CTOD("05/01/10") would be May 1, 2010 This works fine if your dates...
We have a clipper 5.2e program that on some NT machines we get the message "printer is in use by another user or is not ready" - neither of which seems to be true. The printer is not a local printer. We were able to use the NET USE LPT1: \\computer\printer (form DOS) to be able to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.