Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
647 B

  1. BEGIN {
  2. print "*%"
  3. print "*% Copyright (c) 1997 - 2000 Microsoft Corporation"
  4. print "*% All Rights Reserved."
  5. print "*%"
  6. }
  7. /\*rcNameID:[ ]*[0-9]*$/ {
  8. if ($2 == "265") $2 = "=AUTO_DISPLAY";
  9. else if ($2 == "267") $2 = "=CASSETTE_DISPLAY";
  10. else if ($2 == "268") $2 = "=MANUAL_FEED_DISPLAY";
  11. else if ($2 == "271") $2 = "=LOWER_TRAY_DISPLAY";
  12. else {
  13. print "*Unknown: ID";
  14. next;
  15. }
  16. print " " $0;
  17. next;
  18. }
  19. /\*Feature:/ { feature=$2 }
  20. /\*OptionID:/ { if (feature ~ /InputBin/) next }
  21. /{NumOfCopies/ { gsub(/{NumOfCopies/,"[1,99]{NumOfCopies") }
  22. /CmdSelectFontID/ { gsub(/TextYRes/, "CurrentFontID") }
  23. { print }