Printing in Java using a PS file

I have a generated post script file and you want to use it. How can this be achieved in java, either using the javax print API, or using AWT. Is it possible?

+3
source share
1 answer

Difficult Does your printer (s) support PostScript? Is it connected to the network? If so, most network printers can talk to LPR, and you can drag and drop the file as before. On Windows, you can also transfer the file as is to the displayed port lpt1:through something like NET USE LPT1: \\[Computer Name]\Printer /PERSISTENT:YES.

, PostScript, , LPR. LPR/LPD Java , , .

http://tools.ietf.org/pdf/rfc1179.pdf

+2

Source: https://habr.com/ru/post/1772003/


All Articles