[cups.general] From plp to Cups?

Daniel Spannbauer ds at marco.de
Sun Mar 1 13:01:40 PST 2009



Michael Sweet schrieb:
> Daniel Spannbauer wrote:
>>
>>
>>>>> Ok, our plp is now sending the control-file (cf) before the datafile
>>>>> (df). The Parameter "fj" in every printcap-entry does the trick.
>>>>> Bute cups is still not printing. The Control-File seems to be correct
>>>>> and it is sended first (checked by a strace over the cups-lpd), but
>>>>> there is no Printjob on the Cups-side.
>>>>>
>>>>> Heres the Controll-file:
>>>>> CA
>>>>> D1235723979
>>>>> Hdumper
>>>>> LDaniel Spannbauer,bab,27
>>>>> Pds
>>>>> Y1
>>>>> NDocuments/test.ps
>>>>> JDocuments/test.ps
>>>>> fdfA060dumper
>>>>> UdfA060dumper
>>>>>
>>>>> Any clues?
>>> Michael Sweet schrieb:
>>>> The control file contains some non-standard stuff, but nothing 
>>>> cups-lpd can't handle.
>>>>
>>>> Any messages in your system log from cups-lpd?
>>> No, only the Standard-Message:
> 
> How about in the access_log and error_log files on the CUPS system?
> 
> The trace shows cups-lpd returning an error after looking up the
> printer - my guess is that the printer names aren't matching up or
> the printer isn't set as shared ("published" in the current web UI)...

Ok, checked it. The printer ist "published" in UI.

Entry in Printcap on PLP-Host:
:rm=b-bup:rp=color_b_eg:\

Entry in printers.conf on Cups-host:

<Printer color_b_eg>
Info color_b_eg
Location
DeviceURI socket://color-b-eg/9100
State Idle
StateTime 1235726713
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

There are no entrys in access_log or error_log about this.

Regards

Daniel





> 

-- 
Daniel Spannbauer                         Software Entwicklung
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4 - 6, D 87727 Babenhausen   Mobil +49 171 4033220
http://www.marco.de/                      Email ds at marco.de
Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München





More information about the cups mailing list