iText LPRClient
PDFをLPRのプリンタサーバーにキュータスクをするメモ
import com.lowagie.tools.plugins.LPRClient;
public class Client {
public static void main(String[] args) throws Exception {
LPRClient lpr = new LPRClient();
lpr.setArguments(new String[]{ "hoge.pdf", "lpr.example.com", "SampleQueueName", "1" });
lpr.execute();
}
}