[cups.general] "Hint: Is ESP Ghostscript installed?" Yes. (sob)

Michael Talbot-Wilson mtw at view.net.au
Sat Mar 11 07:12:59 PST 2006


I am attempting to use CUPS to print on a remote Panasonic KX-P7500
printer which "does" PCL6.  So far, nothing.  Hope someone can help.
The details are these:

We are Linux 2.6.15.6 with ESP Ghostscript 8.15.1 (2005-09-22)
installed.  The version of CUPS is that supplied on the Slackware 10.0
distribution CD, which calls it cups-1.1.20-i486-1.

The remote server is some kind of Microsoft NT family OS set up to
support lpd requests and works with LPRng.  The relevant LPRng
/etc/printcap entries on the client are:

..common
         :sd=/var/spool/lpd/%P
         :sh:mx=0:mc=0
         :filter=/usr/libexec/filters/ifhp
         :af=/var/log/lpd.acct

p7500|Panasonic KX-P7500 (PCL6):tc=.common
         :lp=KX-P7500 at some.where.com.au
         :ifhp= model=pcl_gs

The CUPS printer was installed with:

# /usr/sbin/lpadmin -p p7500 -E -v \
   lpd://some.where.com.au:515/KX-P7500 -m pcl-5.ppd

The error_log for some reason refers to the name lj4050, a directly-
connected printer which was not connected at all when this print job
was run.  Also there are references to the name lp, another name for
the same printer.  That printer (which works fine) was installed with:

# /usr/sbin/lpadmin -p lj4050 -E -v parallel:/dev/lp0 -m hp4050_6.ppd
# /usr/sbin/lpadmin -p lp -E -v parallel:/dev/lp0 -m hp4050_6.ppd

That accounts for all the CUPS printers.

The error_log entries that follow are all for the time
[11/Mar/2006:17:09:28 +1030].  I have substituted the word "time" for
readability.  I assume that the error messages near the end, commencing
"Unable to convert file 0 to printable format for job 19!" (and
perhaps the lj4050/lp anomaly) are all that are relevant.

I suppose the fault is what it says, that it can't convert the file.
But ESP Ghostscript is certainly installed, so my problem is what to do
about it.

d [time] AcceptClient(0x80b1230) 0 NumClients = 0
D [time] AcceptClient() 5 from localhost:631.
d [time] AcceptClient: Adding fd 5 to InputSet...
d [time] ReadClient() 5, used=0
D [time] ReadClient() 5 POST / HTTP/1.1
d [time] decode_auth(0xb7b67008): Authorization string = ""
d [time] decode_auth() 5 username=""
d [time] IsAuthorized: con->uri = "/"
d [time] FindBest: uri = "/"...
d [time] FindBest: Location / Limit 7f
d [time] FindBest: Location /admin Limit 7f
d [time] FindBest: best = "/"
d [time] IsAuthorized: auth = 0, satisfy=0...
d [time] POST /
d [time] CONTENT_TYPE = application/ipp
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
          = 137, con->file = 0
d [time] ReadClient() 5, used=0
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
          = 129, con->file = 0
d [time] ReadClient() 5, used=0
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
           = 95, con->file = 0
d [time] ReadClient() 5, used=0
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
           = 61, con->file = 0
d [time] ReadClient() 5, used=23
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
           = 24, con->file = 0
d [time] ProcessIPPRequest(0xb7b67008[5]): operation_id = 4002
d [time] get_printers(0xb7b67008[5], 0)
d [time] add_printer_state_reasons(0xb7b67008[5], 0x808eb78[lj4050])
d [time] add_queued_job_count(0xb7b67008[5], 0x808eb78[lj4050])
d [time] copy_attrs(0x80b29d8, 0x80a3070, 0x80b28f8, 0)
d [time] copy_attribute(0x80b29d8, 0x80a31d0[printer-name,4,42])
d [time] copy_attribute(0x80b29d8, 0x80a33e0[job-sheets-default,4,42])
d [time] copy_attrs(0x80b29d8, 0x808f088, 0x80b28f8, 0)
d [time] add_printer_state_reasons(0xb7b67008[5], 0x8090b78[lp])
d [time] add_queued_job_count(0xb7b67008[5], 0x8090b78[lp])
d [time] copy_attrs(0x80b29d8, 0x80d2420, 0x80b28f8, 0)
d [time] copy_attribute(0x80b29d8, 0x80cdc08[printer-name,4,42])
d [time] copy_attribute(0x80b29d8, 0x80cc810[job-sheets-default,4,42])
d [time] copy_attrs(0x80b29d8, 0x808f088, 0x80b28f8, 0)
d [time] add_printer_state_reasons(0xb7b67008[5], 0x80ee4a8[p7500])
d [time] add_queued_job_count(0xb7b67008[5], 0x80ee4a8[p7500])
d [time] copy_attrs(0x80b29d8, 0x80a6760, 0x80b28f8, 0)
d [time] copy_attribute(0x80b29d8, 0x80eaaf0[printer-name,4,42])
d [time] copy_attribute(0x80b29d8, 0x80a5e70[job-sheets-default,4,42])
d [time] copy_attrs(0x80b29d8, 0x808f088, 0x80b28f8, 0)
D [time] ProcessIPPRequest: 5 status_code=1
d [time] ProcessIPPRequest: Adding fd 5 to OutputSet...
d [time] WriteClient: Removing fd 5 from OutputSet...
d [time] ReadClient() 5, used=0
D [time] CloseClient() 5
d [time] CloseClient: Removing fd 5 from InputSet and OutputSet...
d [time] AcceptClient(0x80b1230) 0 NumClients = 0
D [time] AcceptClient() 5 from localhost:631.
d [time] AcceptClient: Adding fd 5 to InputSet...
d [time] ReadClient() 5, used=0
D [time] ReadClient() 5 POST / HTTP/1.1
d [time] decode_auth(0xb7b67008): Authorization string = ""
d [time] decode_auth() 5 username=""
d [time] IsAuthorized: con->uri = "/"
d [time] FindBest: uri = "/"...
d [time] FindBest: Location / Limit 7f
d [time] FindBest: Location /admin Limit 7f
d [time] FindBest: best = "/"
d [time] IsAuthorized: auth = 0, satisfy=0...
d [time] POST /
d [time] CONTENT_TYPE = application/ipp
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
          = 137, con->file = 0
d [time] ReadClient() 5, used=0
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
          = 129, con->file = 0
d [time] ReadClient() 5, used=0
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
           = 95, con->file = 0
d [time] ReadClient() 5, used=0
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
           = 61, con->file = 0
d [time] ReadClient() 5, used=23
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
           = 24, con->file = 0
d [time] ProcessIPPRequest(0xb7b67008[5]): operation_id = 4005
d [time] get_printers(0xb7b67008[5], 1)
D [time] ProcessIPPRequest: 5 status_code=1
d [time] ProcessIPPRequest: Adding fd 5 to OutputSet...
d [time] WriteClient: Removing fd 5 from OutputSet...
d [time] ReadClient() 5, used=0
D [time] CloseClient() 5
d [time] CloseClient: Removing fd 5 from InputSet and OutputSet...
d [time] AcceptClient(0x80b1230) 0 NumClients = 0
D [time] AcceptClient() 5 from localhost:631.
d [time] AcceptClient: Adding fd 5 to InputSet...
d [time] ReadClient() 5, used=0
D [time] ReadClient() 5 POST /printers/p7500 HTTP/1.1
d [time] decode_auth(0xb7b67008): Authorization string = ""
d [time] decode_auth() 5 username=""
d [time] IsAuthorized: con->uri = "/printers/p7500"
d [time] FindBest: uri = "/printers/p7500"...
d [time] FindBest: Location / Limit 7f
d [time] FindBest: Location /admin Limit 7f
d [time] FindBest: best = "/"
d [time] IsAuthorized: auth = 0, satisfy=0...
d [time] POST /printers/p7500
d [time] CONTENT_TYPE = application/ipp
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
         = 5694, con->file = 0
d [time] ReadClient() 5, used=0
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
         = 5686, con->file = 0
d [time] ReadClient() 5, used=0
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
         = 5652, con->file = 0
d [time] ReadClient() 5, used=0
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
         = 5618, con->file = 0
d [time] ReadClient() 5, used=0
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
         = 5568, con->file = 0
d [time] ReadClient() 5, used=0
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
         = 5540, con->file = 0
d [time] ReadClient() 5, used=0
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
         = 5515, con->file = 0
d [time] ReadClient() 5, used=0
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
         = 5471, con->file = 0
d [time] ReadClient() 5, used=9
d [time] ReadClient() 5 con->data_encoding = length, con->data_remaining
         = 5451, con->file = 0
d [time] ReadClient() 5 REQUEST /var/spool/cups/00000005=7
d [time] ReadClient() 5 writing 5441 bytes to 7
d [time] ReadClient() 5 Closing data file 7, size = 5441.
d [time] ProcessIPPRequest(0xb7b67008[5]): operation_id = 0002
d [time] print_job(0xb7b67008[5], ipp://localhost:631/printers/p7500)
D [time] print_job: auto-typing file...
D [time] print_job: request file type is text/plain.
d [time] check_quotas(0xb7b67008[5], 0x80ee4a8[p7500])
D [time] check_quotas: requesting-user-name = 'mtw'
D [time] print_job: requesting-user-name = 'mtw'
I [time] Adding start banner page "none" to job 19.
d [time] copy_banner(0xb7b67008[5], 0x80b4258[19], none)
d [time] add_file(con=0xb7b67008[5], job=19, filetype=text/plain,
          compression=0)
I [time] Adding end banner page "none" to job 19.
d [time] copy_banner(0xb7b67008[5], 0x80b4258[19], none)
I [time] Job 19 queued on 'p7500' by 'mtw'.
D [time] Job 19 hold_until = 0
d [time] SaveJob: Closing file 7...
D [time] StartJob(19, 0x80ee4a8)
D [time] StartJob() id = 19, file = 0/1
E [time] Unable to convert file 0 to printable format for job 19!
I [time] Hint: Do you have ESP Ghostscript installed?
D [time] CancelJob: id = 19
d [time] SaveJob: Closing file 7...
d [time] add_job_state_reasons(0xb7b67008[5], 19)
D [time] ProcessIPPRequest: 5 status_code=0
d [time] ProcessIPPRequest: Adding fd 5 to OutputSet...
d [time] WriteClient: Removing fd 5 from OutputSet...
d [time] ReadClient() 5, used=0
D [time] CloseClient() 5
d [time] CloseClient: Removing fd 5 from InputSet and OutputSet...





More information about the cups mailing list