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.
 
 
 
 
 
 

24 lines
612 B

/\*ModelName:/ { print "*CodePage: 1252" }
/{NumOfCopies.*}/ { gsub(/{NumOfCopies.*}/,"[1,32767]{NumOfCopies}") }
/\*% Error:/ { next }
/\*YMoveUnit:/ { next }
/Option1/ { res=300 }
/Option2/ { res=600 }
/YMoveRelDown/ {
print " *YMoveUnit: " res
print " *Command: CmdYMoveRelDown"
print " {"
print " *CallbackID: " $5
print " *Params: LIST(DestYRel)"
print " }"
next
}
/XMoveRelRight/ {
print "*Command: CmdXMoveRelRight"
print "{"
print " *CallbackID: " $5
print " *Params: LIST(DestXRel)"
print "}"
next
}
{ print }