Re: [PARPORT] epson stylus 640


aoc2 (aoc2@geocities.com)
Thu, 2 Sep 1999 10:36:56 +0800 (GMT-8)


AM> How did you set up your filters? The above error implies to me that
AM> your filter is pretty confused about the parameters ghostscript wants... If
AM> you're using the uniprint driver then ghostscript should be invoked with
AM> something like the following:
AM>
AM> gs -q @powercolor.upp -sPAPERSIZE=letter -sOutputFile=- redir_gs_msg.ps -

/var/spool/lpd/lp

--

UNIFIEDDRIVER=YES UPPDEVICE=@stc600pl.upp PAPERSIZE=letter REVERSE_ORDER= PS_SEND_EOF=NO # following is related to printing multiple pages per output page # NUP=1 RTLFTMAR=18 TOPBOTMAR=18 ----------------------- /usr/lib/rhs-filters/rhs-filters/ps-to-printer.fpi ----------------------- #!/bin/sh # source /var/spool/lpd/lp/postscript.cfg

if [ "$PAPERSIZE" = "letter" ]; then mpage_paper="Letter" elif [ "$PAPERSIZE" = "a4" ]; then mpage_paper="A4" elif [ "$PAPERSIZE" = "legal" ]; then mpage_paper="Legal" else mpage_paper="Letter" fi

if [ "$NUP" = "1" ]; then border="-o" mpage_cmd="cat -" else border="" mpage_cmd="mpage -b$mpage_paper $border -$NUP -m${RTLFTMAR}lr -m${TOPBOTMAR}tb" fi # uniprint eval "$mpage_cmd | gs -q $UPPDEVICE \ -sOutputFile=- \ -"

# see if we need to send a form feed to eject the page from printer # if [ "$PS_SEND_EOF" = "YES" ]; then printf "\004" fi

exit 0

-- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Wed 01 Sep 1999 - 22:42:04 EDT