Do I need to convert the image (.jpg in this case) to PCL for the
Printer?
Yes.
I just now opened a .jpeg with xv, saved it as postscript, then printed
that using ghostscript.
--
JP
I think you can use imagemagic (available on the skunkware site) to convert
the jpg to a postscript file (and maybe even a PCL file), then raw print the
file.
Fabio
I tried ImageMagick's convert to write out a PCL file, but the result was
very poor.
Using xv and gs worked quite well.
--
JP
I'm finally gonna get you for the excessive keystoke award.
I opened the file with xv, clicked on print, entered the name of the
printer that pipes the print job through gs.
# cat /usr/spool/lp/admins/lp/interfaces/gs
:
# @(#) gs
PATH=$PATH:/usr/local/bin
gs -q -sDEVICE=laserjet -dNOPAUSE -sOutputFile=- "$6" -c quit | lp -o raw -o -d laser1
exit 0
--
==========================================================================
Tom Parsons t...@tegan.com
==========================================================================
OK, I'm caught out!
| I opened the file with xv, clicked on print, entered the name of the
| printer that pipes the print job through gs.
|
| # cat /usr/spool/lp/admins/lp/interfaces/gs
| :
| # @(#) gs
| PATH=$PATH:/usr/local/bin
| gs -q -sDEVICE=laserjet -dNOPAUSE -sOutputFile=- "$6" -c quit | lp -o raw -o -d laser1
| exit 0
What's the second '-o' for?
I do it a bit differently; instead of an interface script, I've
got /usr/local/bin/gslp:
#!/bin/sh
# @(#) gslp
gs -q -sDEVICE=djet500 -dNOPAUSE -sOutputFile=- ${@:--} -c quit | lp -og -s
--
JP
The dreaded editing of a script before posting. My script has -o lm9
because my standard paper is pre-punched with 3 holes. I removed only
the lm9