I think what you want is to be able to define a dictionary entry redcolor so you can switch to red when necessary. For instance, try this:
%!PS
/redcolor { 0.83 0.00 0.00 setrgbcolor } def
/Courier 24 selectfont
10 600 moveto (This is a test) show
%10 500 moveto (%%redcolor%%) show
%I do...
Argh, you are absolutely correct. If I am not going to specify the origin, which I did not in the example I gave you, the newpath statement should not be in there. The newpath effectively clears the path which means it can't use the 20,20 you specified with the moveto as part of the path. I just...
This will do the trick:
/square {
5 dict begin
gsave
/x exch def
newpath
x 0 rlineto
0 x rlineto
x neg 0 rlineto
closepath
stroke
grestore
end
} def
Alot of that is overkill and is written to minimize side-effects although you lose a little flexibility...
I actually wrote something like this this very week. My approach was similiar to (2) above, although what I did was create a Module with a Sub Main and then I had three classes, SetupScreen, SetupStatusScreen, and SetupInfo. SetupScreen and SetupStatusScreen both derive from System.Windows.Form...
Sometimes fileshare is used in the COBOL/Unix which is usually determined by an executable named "fs" that will show up in the "ps" list that others have mentioned.
I am in the process of converting a very large application to .Net. When it is done, it will probably have over 800 source modules. I am having difficulty deciding about how to organize the project with regard to DLLs, Namespaces, etc. Is there a good reference that can give advice and...
I am having a problem with a user control that I have created. The control consists of a textbox and a button and does have some logic to do things like hide the button if the whole control becomes disabled. When I place the control on a form, it works perfectly. However, when I place the...
I have created a usercontrol that contains a DateTimePicker and a Label. The idea is that I would like to show the date/time picker when it is enabled but a text representation when it is disabled. I would like to be able to override the default colors that are used by this control. Ironically...
I am using SAMBA 2.2.1 on a SCO Openserver 5.0.7 Box to broadcast shares on the network. I have successfully joined the server to an existing domain, i.e. Samba is not the PDC and I do not want it to be. Authentication is working fine when the user name is eight characters or less, but I cannot...
I know that in order to get the Windows side to work, I would have to manually enter the username and password from a terminal window (not the dial up networking box). To do this, just check "Bring up terminal windows after dialing" from the modem configuration box. You will then enter...
Did by any chance do you get this error message when trying to login "LOGIN: ERROR - Failed to initialize policy manager"?
We had similiar symptoms that you described. It turns out that our /pmd directory was corrupted. This directory should have three pipes in it: IPCCT_pipe...
I have several clients with SCO UNIX boxes and have successfully set up inbound ppp connections that can be accessed with Windows Dial up networking, at least under Win 98 (and 95 for that matter). This is not working under Windows 2000.
Here is the setup on the SCO box. I have created an...
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.