Streaming byte array decoded from base64 to a printer
posted 6 years ago
Hello. I've been tinkering around with this and I don't see how it's possible but I was seeing if I could stream a pdf file encoded with base64 (pulled from a web service) directly to a network printer. The best I was able to do was to print the adobe pdf tags and formats that only adobe could understand and transform. I guess I was trying to find the most optimal way to go from decoded bytes to printer, hopefully sans the application (i.e. saving to a pdf file to disk to translate the adobe format). It looks as though I have to save it as a pdf file regardless but if anybody has any suggestions, I'd appreciate it. Thank you for reading.