Thanks, it's printing fine now. (so far)

Here's the latest printcap entry:
printer|pr|HP Color Printer Phaser
        :tc=!common-normal:\
        :lf=/var/spool/LPRng/%P/log:\
        :ifhp=model=phaser,dev=xxx.xx.xx.xxx%9100,sync@,pagecount@:\
        :filter=/usr/local/LPRng/ifhp/libexec/filters/ifhp:\
        :of=/usr/local/LPRng/ifhp/libexec/filters/ifhp:\
        :translate_incoming_format=lf:\
        :ab:\
        :du#16:\


In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
> hmmm,
> 
> seems to be a synchronisation problem, why not trying a 'sync@' entry:
> 
> :ifhp=model=phaser790,dev=128.xx.xx.xxx%9100,sync@:\
> 
> maybe this will lead you somewhere ;-)
> 
> regards
>         ~Christoph
> 
> 
> 
> 
> Dennis Shim schrieb:
> 
> > Hi, I am trying to get Phaser 790 to work with LPRng, but I have
> > been unsuccessful so far.  Any help will be greatly appreciated. ;)
> >
> > The printer prints the first job without problems, but it doesn't
> > print subsequent jobs after that.
> >
> > We have a Redhat 6.2 box that is acting as our print server, and
> > end of this email is the entry in the /etc/printcap for Phaser.
> >
> > (Side Note:
> > I also tried this, but it doesn't work at all:
> >        :sd=/var/spool/LPRng/%P:\
> >        :lp=/dev/null:\
> >        :lf=/var/spool/LPRng/%P/log:\
> >        :ifhp=model=phaser790,dev=128.xx.xx.xxx%9100:\
> >        :filter=/usr/local/LPRng/lib/filters/ifhp:\
> >        :of=/usr/local/LPRng/lib/filters/ifhp:\
> >        :translate_incoming_format=lf:\
> >        :mx#0:\
> >        :ab:\
> >        :du#16:\
> > )
> >
> > This is the outpt of lpq when I use the printcap config I listed
> > below, and it hangs there as "active", even though it is finished
> > printing the job.  Also it doesn't allow other jobs to print after
> > wards.
> >
> > -------
> > root$ lpq -Pprism
> > Printer: prism@printsrv  'HP Color Printer Phaser'
> >  Queue: 1 printable job
> >  Server: pid 4108 active
> >  Unspooler: pid 4109 active
> >  Status: printing 'root@printsrv+107' starting OF 'ofhp' at
> > 16:45:13.784
> >  Filter_status: ofhp Synchronization: waiting 10, attempt 2 at Jul  5
> > 16:45:18
> >  Rank   Owner/ID                  Class Job Files
> > Size Time
> > active root@mandolin+107            A   107 test.txt
> > 479 16:45:13
> > -------
> >
> > We have some hp printers setup already, and I basically copied an entry for
> > an hp printer to get the Phaser to work (at least it prints the first job).
>  The
> > more legitimate printcap entry that was suggested by the LPRng HOWTO doesn'
> t
> > work at all..
> >
> > -----Printcap entry--------------------------------
> > prism|prizm|peacock|HP Color Printer Phaser
> >         :tc=!common-normal
> >         :tc=!hp-filters
> >         :if=/usr/local/LPRng/printers/psif
> >
> > !common
> >         :sf
> >         :fx=flpd
> >         :rm=printsrv.xx.xxxxxx.xxx
> >         :rp=%P
> >         :mx#0
> >         :qq
> >         :sh
> >         :sd=/var/spool/LPRng/%P
> >
> > !common-normal
> >         :tc=!common
> >         :as=jobstart $H $n $P $Q $k $b $t
> >         :ae=jobend $H $n $P $Q $k $b $t
> >         :lp=%P%9100
> >         :lf=/var/spool/LPRng/%P/log
> >         :af=/var/spool/LPRng/%P/acct
> >         :ps=/var/spool/LPRng/%P/status
> >
> > !hp-filters
> >         :of=/usr/local/LPRng/lib/filters/ofhp
> >
> > ------------------------------------------
> >
> > I haven't worked with LPRng much, so please pardon any obvious
> > mistakes.
> >
> > thanks,
> > Dennis
> >
> > ---------------------------------------------------------------------------
> --
> > YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> > The address you post from 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.  For the impati
> ent,
> > 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 wor
> d
> > LPRNGLIST in the SUBJECT line.
> > ---------------------------------------------------------------------------
> --
> 
> 
> -----------------------------------------------------------------------------
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from 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.  For the impatien
> t,
> 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.
> -----------------------------------------------------------------------------



-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from 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.  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