Date: Tue, 14 Mar 2000 15:15:10 +0200 From: Zagursky <zagursky@edi.lv> To: orders@cdrom.com, freebsd-questions@freebsd.org Subject: request Message-ID: <38CE3B5C.EE25CBE7@edi.lv>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------1DAE4EE68B58F97F1336B1EB Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Dear Sirs, We bought FreeBSD 3.3 version and unfortunately now we have some troubles wih printing. The problem is following: when we start printing (HP Laser Jet 4L) at graphic mode we can get only half of page ( the second one don't printing). Additional information: fail filter -lj4, ghostscript v.5.50.Please also see attached Unix text file. Sincerely, V .Zagursky ---------------------------------------------------------------------- Institute of Electr.&Comp. Science Fax: +371 7 555 337 14 Dzerbenes str., E-mail: zagursky@edi.lv LV - 1006, Riga Phone: 371-2-528938 Latvia ---------------------------------------------------------------------- --------------1DAE4EE68B58F97F1336B1EB Content-Type: text/plain; charset=koi8-r; name="lj4" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="lj4" #!/bin/sh # # ifhp - Print Ghostscript-simulated PostScript on a LaserJet4L # Installed in /usr/local/libexec/lj4 # # Treat LF as CR+LF: # printf "\033&k2G" || exit 2 # # Read first two characters of the file # read first_line first_two_chars=`expr "$first_line" : '\(..\)'` if [ "$first_two_chars" = "%!" ]; then # # It is PostScript; use Ghostscript to scan-convert and print it # /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sPAPERSIZE=a4 -sDEVICE=ljet4 -r300 -sOutputFile=- - \ && exit 0 else # # Plain text or HP/PCL, so just print it directly; print a form # at the end to eject the last page. # echo "$first_line" && cat && printf "\f" && exit 0 fi exit 2 --------------1DAE4EE68B58F97F1336B1EB-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38CE3B5C.EE25CBE7>