Hi,

we now have a really nice Xerox 6250dt, and I'm trying to get it to work
with LPRng-3.8.26, ifhp-3.5.17 and foomatic-rip-3.46.

I installed the ppd file from the driver cd and checked with

  foomatic-rip -d --ppd ppd/XEROX_6250DT.ppd

Everything looks ok.

Next I added to ifhp.conf:

----------------------------------------------------------------------
[ xerox6250dt ]
appsocket
pjl@
pcl
ps

foomatic_rip=/usr/local/bin/foomatic-rip --lprng --ppd \%s{ppd_file}
\%s{ARGV}

ppd_file=/etc/opt/LPRng/ppd/XEROX_6250DT.ppd

forceconversion

file_output_match = [
  *pcl*              raw
  *postscript*       raw     \%s{foomatic_rip}
  *text*             filter  \%s{a2ps_converter}
  *pdf*              filter  \%s{pdf2ps_converter}
  *jpeg*             filter  \%s{jpeg_converter}
  *tex_dvi*          filter  \%s{dvips}
  *gzip_compressed*  filter  \%s{gzip_decompress}
  *compress'd_data*  filter  \%s{gzip_decompress}
  *                  msg     no_converter
  ]
----------------------------------------------------------------------

finally I tried everything, but it didn't work as expected.

Here my test script:

----------------------------------------------------------------------
#!/bin/sh

rm -f /tmp/t
touch /tmp/t

Z="-ZDuplex=DuplexNoTumble,InputSlot=Tray1"

ifhp=model=xerox6250dt

ifhp ${Z} -Tdev=/tmp/t,trace,debug=1,${ifhp} \
  < /tmp/test.ps 2>&1 | tee /tmp/trace.out
----------------------------------------------------------------------

test.ps is just:

----------------------------------------------------------------------
%!PS-Adobe-3.0

/Courier
findfont 10 scalefont setfont
72 500 moveto
(just a simple test) show
showpage
----------------------------------------------------------------------

and the final output of foomatic-rip is:

----------------------------------------------------------------------
%!PS-Adobe-3.0
%%BeginProlog
%%EndProlog
%%BeginSetup
%%EndSetup
%%BeginPageSetup
%%EndPageSetup

/Courier
findfont 10 scalefont setfont
72 500 moveto
(just a simple test) show
showpage
----------------------------------------------------------------------

foomatic-rip has added some stuff, but not what I expected :-(

foomatic-rip has found the options correct:

----------------------------------------------------------------------
'CONVERTER' msg 'Spooler: lprng'
'CONVERTER' msg 'Printer: '
'CONVERTER' msg 'PPD file: /etc/opt/LPRng/ppd/XEROX_6250DT.ppd'
'CONVERTER' msg 'Printer model: Xerox Phaser 6250DT'
'CONVERTER' msg 'Options: Duplex=DuplexNoTumble InputSlot=Tray1 '
'CONVERTER' msg 'Job title: '
'CONVERTER' msg 'File(s) to be printed: <STDIN>'
'CONVERTER' msg 'Pondering option 'Duplex=DuplexNoTumble''
'CONVERTER' msg 'Pondering option 'InputSlot=Tray1''
----------------------------------------------------------------------

hopefully someone can tell me what's going wrong here. Do I have a
wrong configuration? 

Any help is appreciated.

Thanks

Willi




-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRng MAILING LIST
The address you post from or your Reply-To address MUST be your
subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.
To subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  call Patrick Powell or one of the friendly
staff at Astart Technologies for help.  Astart also does support for LPRng.
Also, check the Web Page at: http://www.lprng.com for any announcements.
Astart Technologies  (LPRng - Print Spooler http://www.lprng.com)
6741 Convoy Court
San Diego, CA 92111
858-874-6543 FAX 858-751-2435
-----------------------------------------------------------------------------

Reply via email to