Patrick,

I get an error when I try to use the gs_uniprint model with ifhp to 
print to an Epson Stylus Color 1520. The epson is attached to the 
network with a print box(MicroPlex) using lpd protocol. I think my
ifhp.conf entry is incorrect. I'm using ifhp 3.3.13 with 
LPRng-3.6.14beta31.
 
I want to define a queue(or queues) for this printer to print
ascii and postscript. However, I also need to pass unfiltered data
from PCs that format their files locally using Epson printer drivers.

How can I accomplish this?

printcap:

# lpc server mplx115a

Config
 :check_for_nonprintable@
 :longnumber
 :printcap_path=/etc/printcap
 :return_short_status=*.srl.ford.com

Printcap Information
mplx115a
 :cm=Epson Stylus 1520 mplx115/prn2 Charged Injection Lab 2432 SRL
 :db=1,network,database,receive
 :if=/usr/local/libexec/filters/ifhp
 :ifhp=model=gs_uniprint,gs_device=stc1520
 :[EMAIL PROTECTED]
 :lpd_bounce
 :mx=0
 :sb
 :sd=/usr/spool/lpd/mplx115a
 :server
 :sh
 :vf=/usr/local/libexec/filters/ifhp

ifhp.conf:

.
. TEXT DELETED
.
[ gs_uniprint ]
tc=ghostscript
gs_converter= [ \%s{gs_unidriver} ]
# example: gs_device=
gs_device=
gs_options=

After I try to spool some ascii text here is what I get:

# lpq -llll -Pmplx115a
Printer: mplx115a@aspire2 (dest [EMAIL PROTECTED]) 'Epson
Stylus 1520 mplx115/prn2 Charged Injection Lab 2432 SRL'
 Queue: 3 printable jobs
 Server: pid 16449 active
 Unspooler: pid 16458 active
 Status: printing data file 'dfA016440aspire2.srl.ford.com', size 269,
IF filter 'ifhp' at 09:10:50.579
 Status: IF filter problems, error 'JFAIL' at 09:10:51.778
 Status: sending job 'root@aspire2+16440' to
[EMAIL PROTECTED] at 09:10:51.800
 Status: connecting to 'mplx115.srl.ford.com', attempt 1 at 09:10:51.801
 Status: connected to 'mplx115.srl.ford.com' at 09:10:51.814
 Status: requesting printer [EMAIL PROTECTED] at
09:10:51.814
 Status: sending control file 'cfA016440aspire2.srl.ford.com' to
[EMAIL PROTECTED] at 09:10:51.822
 Status: completed sending 'cfA016440aspire2.srl.ford.com' to
[EMAIL PROTECTED] at 09:10:52.236
 Status: sending data file 'dfA016440aspire2.srl.ford.com' to
[EMAIL PROTECTED] at 09:10:52.237
 Filter_status: pagecounter 0 at 09:10:50.724
 Filter_status: sending job file at 09:10:50.725
 Filter_status: starting transfer at 09:10:50.726
 Filter_status: file program = '/usr/bin/file -' at 09:10:50.726
 Filter_status: started FILE_UTIL- '/usr/bin/file -' at 09:10:50.799
 Filter_status: file information = 'ascii_text' at 09:10:50.806
 Filter_status: initial job type 'ascii_text' at 09:10:50.806
 Filter_status: decoded job type 'FILTER' at 09:10:50.807
 Filter_status: job type 'FILTER', converter '/usr/local/bin/a2ps -q -B
-1 -M Letter --borders=no -o-  ' at 09:10:50.808
 Filter_status: started CONVERTER- '/usr/local/bin/a2ps -q -B -1 -M
Letter --borders=no -o-  ' at 09:10:50.835
 Filter_status: converter done, output 14224 bytes at 09:10:51.079
 Filter_status: initial job type 'POSTSCRIPT' at 09:10:51.080
 Filter_status: decoded job type 'RAW' at 09:10:51.082
 Filter_status: job type 'RAW', converter '/usr/local/bin/gs -q -dSAFER
-dBATCH -sOutputFile=- @0.upp  -    ' at 09:10:51.082
 Filter_status: started CONVERTER- '/usr/local/bin/gs -q -dSAFER -dBATCH
-sOutputFile=- @0.upp  -    ' at 09:10:51.101
 Filter_status: converter failed - No such file or directory at
09:10:51.739
 Rank   Owner/ID                  Class Job Files                 Size
Time
stalled(3675sec) root@aspire2+16440 A 16440 /etc/hosts             269
09:10:49
           status: printing data (1 bytes) - waiting (3672 sec)
        interface: online 
          control: mode(pc) 
              job: 115_epson-1
             type: LPD
             host: 440aspire2.srl.ford.com
       client job: 16
         filename: /etc/hosts
             user: root

-- 
Jerry Damian             | Ford Email: [EMAIL PROTECTED]  
Ford Motor Co./RCS Dept. | Internet Email: [EMAIL PROTECTED]          
SRL MD 1074 RM 1116      | ph: (313)32-38347 fax: (313)39-04865      
Dearborn, MI 48121-2053  | my opinions != Ford's opinions or policy

-----------------------------------------------------------------------------
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