I am printing barcodes from my Java application and I am looking for a way to programmatically select a barcode printer and have it default to that printer instead of defaulting to the windows default printer. So basically, I want my application to scan for a printer with a paper size of 3x1 and have it print to that unless specified otherwise. I've been looking at PrintServiceLookup, but I haven't been able to find any clear examples of how to do what I'm trying to do. Any help would be appreciated. Thanks.