ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Sep/Printing-PostScript-files-with-binary-data

This is Printing-PostScript-files-with-binary-data in view mode; [Up]


Date: Sun 21-Sep-1989 00:41:49 From: Unknown Subject: Printing PostScript files with binary data Folks, I have a problem that's probably cropped up in other arenas. I have large image bitmaps that I'd like to print on a PostScript printer. Everything works now, but the printing takes FOREVER. I've run-length encoded the image data as ASCIIfied hex, and I use readhexstring to generate a procedure for imagemask. printing speed by including binary data in the PostScript file and using readstring in place of readhexstring. The bitmaps image on my NeXT machine (under Preview) in less than a second (compared to almost a minute with the ASCIIfied hex). I've discovered, however, that lpr chews up my binary PostScript files and never prints them out. When I try the '-l' option, I get the error 'Can't print binary file'. I'm certain that there's a switch for lpr to solve my problem. Does anyone know what it is? Thanks, R. Martin Chavez Stanford University School of Medicine >From: cs141043@brunix (Ronald Antony)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.