Article Title : ncdprint and PCL printers Creation Date : 04/26/96 Message ID : CGTNPQ Last Update : Expiration Rules : unknown Location : /NCD-Articles/Peripherals ================================================================= The problem is simply that the LaserJet (and DeskJet) print script, lj.driver (and dj.driver), assume that the print file contains ASCII text and attempts to format the data. If the print file contains PCL data, then trying to format it is the wrong thing to do. For example: User tries to print from, say, Word Perfect, it then prints Word Perfect's escape sequences as if they were text. Workaround: ---------- Modifying the following changes to the lj.drive file so that it will disable any ASCII text formatting that used to get done. WORKAROUND: ---------- Make the following changes to the lj.driver so that it will disable any ASCII text formatting that used to get done. *** lj.driver.orig Tue Feb 28 09:26:36 1995 --- lj.driver.new Tue Feb 28 09:28:34 1995 *************** *** 225,231 **** ${trailer_proc} -d ${debug} ${banner_args}; \ ${trailer_eject} ESC \& l 0 H; \ lj.prologue -d ${debug} ${orientation} -i ${ind} -w ${cols} ${line s}; \ ! ${CANON} ${canon_args} | ${PAGINATE} ${paginate_args} | ${LPRV}; \ ${CHR} ESC \& l 0 H; \ ${banner_prologue} -d ${debug} -p -B -w 80 50; \ ${banner_proc} -d ${debug} ${banner_args}; \ --- 225,231 ---- ${trailer_proc} -d ${debug} ${banner_args}; \ ${trailer_eject} ESC \& l 0 H; \ lj.prologue -d ${debug} ${orientation} -i ${ind} -w ${cols} ${line s}; \ ! cat - | ${LPRV}; \ ${CHR} ESC \& l 0 H; \ ${banner_prologue} -d ${debug} -p -B -w 80 50; \ ${banner_proc} -d ${debug} ${banner_args}; \ *************** *** 237,243 **** ${banner_proc} -d ${debug} ${banner_args}; \ ${banner_eject} ESC \& l 0 H; \ lj.prologue -d ${debug} ${orientation} -i ${ind} -w ${cols} ${line s}; \ ! ${CANON} ${canon_args} | ${PAGINATE} ${paginate_args}; \ ${CHR} ESC \& l 0 H; \ ${trailer_prologue} -d ${debug} -p -B -w 80 50; \ ${trailer_proc} -d ${debug} ${banner_args}; \ --- 237,243 ---- ${banner_proc} -d ${debug} ${banner_args}; \ ${banner_eject} ESC \& l 0 H; \ lj.prologue -d ${debug} ${orientation} -i ${ind} -w ${cols} ${line s}; \ ! cat -; \ ${CHR} ESC \& l 0 H; \ ${trailer_prologue} -d ${debug} -p -B -w 80 50; \ ${trailer_proc} -d ${debug} ${banner_args}; \