> Anyone tried using a Tektronix Phaser 850 with lprng yet (lprng 3.4.7 and
> ifhp 3.3.13 here)?  I've tried to set it up with a similar printcap that
> would be used for a 360
> but it doesn't seem to like that.  Any suggestions would be appreciated.

We use LPRng 3.6.13 (plus a few patches) and ifhp 3.3.11; it seems to work 
quite well with our Tek Phaser 850.  Our setup is a little on the complex 
side, but we needed a way to make sure people don't send jobs with tray 
selection commands to the paper queues because of billing concerns.  Our 
printcaps (paper side only):

c5-paper|Phaser 850 - paper stock|Phaser 850-paper stock
 :ae=
 :af=/usr/adm/lprng/%P.acct
 :as=|/s/lprng-3.6/sbin/lpacctchk $P $n $j
 :bq=c5-paper-media
 :check_for_nonprintable@
 :db=1
 :fx=flpv
 :if=/s/lprng/lib/filters/ifhp -Tmodel=phaser850,status@,sync@
 :lf=/var/log/lprng/%P-log
 :mail_from=root
 :max_log_file_size#0
 :mc#10
 :mx#0
 :rm=hobbes.cs.wisc.edu
 :rp=c5-paper
 :sd=/usr/spool/%P
 :server
 :xt&
c5-paper-media|Phaser 850-paper stock (media strip)
 :bq=c5-paper-direct
 :db=1
 :if=/s/lprng/lib/filters/striptray-p850.pl paper
 :lf=/var/log/lprng/%P-log
 :mail_from=root
 :max_log_file_size#0
 :mc#10
 :sd=/usr/spool/%P
 :server
c5-paper-direct|Phaser 850-paper stock direct queue
 :af=/usr/adm/lprng/%P.acct
 :db=1
 :if=/s/lprng/lib/filters/ifhp-3.3.11b11
 :ifhp=config=/afs/.cs/s/lprng-3.6/etc/ifhp.conf.11b11,model=phaser,dev=phaser8
50%9100,accounting=/s/lprng-3.6/lib/filters/accounting-lpacct-11b11.sh
 :lf=/var/log/lprng/%P-log
 :lp=/dev/null
 :mail_from=root
 :max_log_file_size#0
 :mc#10
 :of=/s/lprng/lib/filters/ofhp-3.3.11b11
 :sd=/usr/spool/%P
 :server


>From ifhp.conf:

[ phaser850 ]
appsocket
pjl@
pcl@
ps
sync@

file_output_match = [
 *postscript*  ps
#  if your printer does not handle text but has PS, use:
 *text*  ps /s/lprng-3.6/depend/a2ps/bin/a2ps -q -B -1 --lines-per-page=66 
--mar
gin=15 -M Letter --borders=no --highlight-level=none -o-
 *pdf*  ps /s/lprng-3.6/depend/acroread/bin/acroread -toPostScript -level2
 ]

ps_pagecount_code=%!
 false 0 startjob pop
 (%%[ pagecount: )print statusdict /pagecount get exec (                )cvs
  print
 ( ]%% )= flush
ps_lduplex=<< /Duplex true /Tumble false>> setpagedevice
ps_duplex=[ lduplex ]
ps_sduplex=<< /Duplex true /Tumble true>> setpagedevice
ps_inupper=<</MediaPosition 0 >> setpagedevice
ps_inlower=<</MediaPosition 1 >> setpagedevice
ps_paper=<< /MediaClass (Paper) >> setpagedevice
ps_transparency=<< /MediaClass (Transparency) >> setpagedevice

(ps_transparency and ps_paper are not included in the standard ifhp.conf for 
the copy of ifhp we have here, and they are different from what is used on the 
Phaser 350).


-- 
============================================================================
   John Perkins                   |   University of Wisconsin-Madison
   Associate Researcher           |   Department of Computer Science
   [EMAIL PROTECTED]               |   1210 W. Dayton St.
   608-262-0438/608-262-9997 FAX  |   Madison, WI  53706-1685
============================================================================




-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
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,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------


-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
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,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to