Port Monitor

Michael Sweet msweet at apple.com
Wed Nov 18 08:37:06 PST 2009


Does your PPD file have a Protocols keyword in it, or do you have cupsPortMonitor keywords for bcp and tbcp listed?  CUPS only allows you to use port monitors it knows are compatible with a particular printer.

On Nov 17, 2009, at 11:50 PM, Ganesh wrote:

> Hi,
> Even this also same error I am getting
> 
> lpadmin -p P330i -o port-monitor=tbcp
> 
> lpadmin -p P330i -o port-monitor=bcp
> 
> 
> Anything I missed ?
> 
> 
> Regards
> Ganesh
> 
>> On Nov 17, 2009, at 9:37 PM, Ganesh wrote:
>>> Hi
>>> 
>>> I tried the below command for the port monitor..
>>> 
>>> lpadmin -p P330i -o port-monitor=tpcp
>>> and
>>> lpadmin -p P330i -o port-monitor=bcp
>>> 
>>> I am getting the error
>>> "lpadmin: Bad port-monitor "tpcp"!
>>> 
>>> What I did wrong ?
>> 
>> You spelled "tbcp" wrong.
>> 
>>> 
>>> Regards
>>> Ganesh
>>> 
>>> 
>>>> You need to set the port-monitor value for the printer, either via the =
>>>> web interface (from the printer options) or using the lpadmin command:
>>>> 
>>>>   lpadmin -p printer -o port-monitor=3Dfoo
>>>> 
>>>> On Nov 16, 2009, at 10:50 PM, Ganesh wrote:
>>>> 
>>>>> Hi,
>>>>> =20
>>>>> Can you please tell.. How to use port monitor ?
>>>>> I put some debug prints in the bcp.c and tbcp.c .
>>>>> But I could not find the debug prints in the log file.
>>>>> Seems its not called by anybody.
>>>>> Do we need any configuration for this ?
>>>>> =20
>>>>> Thanks
>>>>> Ganesh
>>>>> _______________________________________________
>>>>> cups-ddk mailing list
>>>>> cups-ddk at easysw.com
>>>>> http://lists.easysw.com/mailman/listinfo/cups-ddk
>>>> 
>>>> ___________________________________________________
>>>> Michael Sweet, Senior Printing System Engineer
>>>> 
>>>> 
>>>> 
>>> 
>>> _______________________________________________
>>> cups-ddk mailing list
>>> cups-ddk at easysw.com
>>> http://lists.easysw.com/mailman/listinfo/cups-ddk
>> 
>> ___________________________________________________
>> Michael Sweet, Senior Printing System Engineer
>> 
>> 
>> 
> 
> _______________________________________________
> cups-ddk mailing list
> cups-ddk at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-ddk

___________________________________________________
Michael Sweet, Senior Printing System Engineer







More information about the cups-devel mailing list