Print to specific printer (IPP URI) in Java

后端 未结 3 433
悲哀的现实
悲哀的现实 2020-12-01 03:59

Is there any way in Java to print to a specific IPP printer? All of the sample code and tutorials I\'ve found focus on how to print a particular type of document, using some

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-01 04:35

    I do not think you can get a printer the way you would like to (I think the Java Print mechanism predates IPP).

    You may, however, if I recall correctly be able to render your print job locally and then ship the bytes of the output stream to the target CUPS server "by hand". Would this be "good enough" for you?

提交回复
热议问题