Thanks Mike. How to know whether it's a last block or not?
On Sun, Dec 10, 2017 at 1:09 PM, Mike Jumper <[email protected]> wrote: > On Sat, Dec 9, 2017 at 10:02 PM, Amarjeet Singh <[email protected]> > wrote: > > > I want to append the Print Named Action in the same PostScript file that > is > > being received via RDP to the file descriptor. > > > > To append, you would write() your PostScript immediately prior to closing > the file descriptor to the GhostScript process, after the last block of > data from RDP has been received and written to that same file descriptor. > > - Mike >
