Those settings should work. However, just to clarify what will happen: your desktop and IE Plugin clients will have no trouble printing using the button you created. Java is finicky is general, so it's hard to predict this type of behavior--I suspect that you will get some sort of error that will then need to be troubleshooted if you actually use the Java client. AJAX won't be able to use the button at all because it's actually a macro, which is not supported with AJAX. Your Server Settings\Print settings will enable AJAX printing of objects (using the small print icon in the upper-right hand corner of each object), but not sheets.
My Macro scripts for 'Print Sheet' works well in 'IE Plugin' Browser client. However, it is not working in 'AJAX zero foot print' Browser client. Please find below the Macros used in the application. Right from the Vlas resonse, I understand it is not possible to Print the Sheet using Macro. However, is there any other solution to print the sheets in AJAX client?
Set objWord = CreateObject("Word.Application")
objWord.Visible = False
Set objDoc = objWord.Documents.Add
Const wdOrientLandscape = 1
objDoc.PageSetup.Orientation = wdOrientLandscape
Const wdAlignParagraphCenter = 1
objDoc.Paragraphs(1).Alignment = wdAlignParagraphCenter
DO WHILE objWord.BackgroundPrintingStatus > 0
Set objWord = Nothing
Set objDoc = Nothing