Condensed Consolidated Statements of Cash Flows (USD $)
In Thousands, unless otherwise specified
9 Months Ended
Apr. 30, 2013
Apr. 30, 2012
CASH FLOWS FROM OPERATING ACTIVITIES    
Net Income $ 9,849 $ 6,206
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 6,695 6,940
Amortization of investment net (discount) premium (5) 17
Non-cash stock compensation expense 616 519
Excess tax benefits for share-based payments (210) (56)
Deferred income taxes (1,235) 103
Provision for bad debts 59 31
(Gain) Loss on the sale of fixed assets (13) 321
Capacity rationalization charges 70 0
(Increase) Decrease in:    
Accounts receivable 385 (1,309)
Inventories (1,676) (159)
Prepaid expenses 855 2,059
Other assets (216) (409)
Increase (Decrease) in:    
Accounts payable 357 324
Accrued expenses 2,481 321
Deferred compensation 333 248
Pension and postretirement benefits 949 359
Other liabilities (20) 121
Total Adjustments 9,425 9,430
Net Cash Provided by Operating Activities 19,274 15,636
CASH FLOWS FROM INVESTING ACTIVITIES    
Capital expenditures (7,805) (5,452)
Proceeds from sale of property, plant and equipment 62 34
Purchases of investment in short-term securities (22,923) (14,043)
Dispositions of investment in short-term securities 14,645 20,820
Net Cash (Used in) Provided by Investing Activities (16,021) 1,359
CASH FLOWS FROM FINANCING ACTIVITIES    
Principal payments on notes payable (3,800) (3,600)
Dividends paid (4,630) (3,395)
Purchase of treasury stock (175) (2,481)
Proceeds from issuance of treasury stock 82 31
Proceeds from issuance of common stock 604 161
Excess tax benefits for share-based payments 210 56
Net Cash Used in Financing Activities (7,709) (9,228)
Effect of exchange rate changes on cash and cash equivalents 12 (3)
Net (Decrease) Increase in Cash and Cash Equivalents (4,444) 7,764
Cash and Cash Equivalents, Beginning of Period 27,093 17,885
Cash and Cash Equivalents, End of Period $ 22,649 $ 25,649