[comp.windows.x] Reverse-video window dumps

weening@Gang-of-Four.Stanford.EDU (Joe Weening) (02/24/90)

When using an NCD-16 X terminal, window dumps printed with "xipr" (a
contrib client that prints on Imagen printers) come out in reverse
video.  This is probably because the NCD has black and white reversed
in comparison with many other kinds of servers.

xipr is just a shell script that pipes the output of "xwd" into the
program "bitimp", so I don't know if xwd or bitimp is at fault.  A
quick look at the code suggests that neither program checks to see
whether a black pixel is represented by 0 or 1.
--
Joe Weening                                Computer Science Dept.
weening@Gang-of-Four.Stanford.EDU          Stanford University

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (02/25/90)

    xipr is just a shell script that pipes the output of "xwd" into the
    program "bitimp", so I don't know if xwd or bitimp is at fault.  A
    quick look at the code suggests that neither program checks to see
    whether a black pixel is represented by 0 or 1.

xwd just dumps "the truth", it doesn't need to check.  I'd say bitimp
is at fault.  If you have an R4 xwd, try using the "-add 1" option to
flip the bits.