Apparently, there’s a bug in Java where people using newer version of CUPS cannot print (can’t even display the print dialog) due to a null pointer exception and this is actually a known bug. So, how do we fix this? For people who use Gnome, you can refer to this page.
Auto Resize JTable Column Width
This will resize your JTable column width based on the contents of the header and data.
Printing to Zebra S4M Using Java
Apparently there’re some codes scattered on the net telling people that you can
print to a Zebra printer by sending ZPL II codes using PrintService
. But the
problem is, it’s not working, I don’t know why, maybe because of a different
version of printer or model but I’m pretty sure the thing that came out from the
printer are just ordinary texts not barcode which is what the code was supposed
to output.
Automatically Sign JARs Using Ant and Bash
This guide is more towards Netbeans project, but it can be used as a reference for you to customize the script to suit your needs.