Closed MatteoFeltrin closed 8 months ago
Hi,
This is a duplicate of #1054. In short, print to host was never intended for Pixel API prints, just Raw API prints.
If your printer supports a PDF stream sent to it (many do) you could send it in Raw Base64 format, but you will lose any control over formatting (orientation, margins, size, duplex, etc).
We may eventually add driverless + printer discovery to the API, but if we do, this is a ways out, we'd need to implement some form of AirPrint or IPP Everywhere, or both, which is a considerable undertaking.
For now, I recommend mapping the printer locally if you need to use Pixel.
Ok thank you for the explanation, I had seen the issue you linked but it was not clear to me the reason, now it is!
Closed as duplicate of #1054
I'm trying to print to a printer through it's IP and Port, but when i launch the print it throw a NullPointerException.
Setting all the "null" parameters inside
options
property doesn't help neitherOS: Windows QZTray Version: 2.2.2
If it can help, looking up at code, in
PrintPDF.print() :177
method,job :184
is trying to be assigned the same service asoutput
, butoutput.printer
is NULL since the property is never assigned without having "name" in the configuration.Thanks for any help