modification of source code necessary

Bug #902600 reported by batzi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hi all,

iam a bit struggling using my Brother DCP 195 remotely. Environment: Ubuntu 10.04 LTE with Cups 1.4.3 and the Brother DCP 195 Drivers from the Brother HP.

The testpage by cups can be printed and looks fine, but when i try to use the printer via avahi (service file was generated by airprint-generate.py) the cups/error_log shows "No pages found!" . No more errors around.
Permissions are Allow all.
Common Issues (by google) like a2ps have been tried but no success.

do i missed anything - thanks for help
cheers
batzi

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Does this mean that you can print locally but Apple AirPrint (printing from iPhone, iPad, or iPod Touch) does not work for you?

From where did you get airprint-generate.py?

Note that Apple AirPrint support is built-in in Ubuntu from Natty/11.04 (with all updates) on. Then you only need to turn on printer sharing and you can print from all your Apple devices (connected to your local network via WiFi).

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
batzi (dotcommandante) wrote :

correct - i can use the printer locally (cups testpage)

airprint-generate.py from https://github.com/tjfontaine/airprint-generate

i will try samba today printing remotely.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Note that Lucid (10.04) has no DNS-SD printer sharing at all. You are adding this functionality by using the third-party tool airprint-generate which is not packaged for Ubuntu. The problem can be caused by a bug in this tool and in this case we cannot help.

You should do the following:

1. Contact the developers of airprint-generate as perhaps their tool has a bug.

2. Do network printing without DNS-SD broadcasting. You can manually set up an IPP queue on most clients, with a URI like

http://<CUPS server name or IP>:631/printers/<print queue name>

or

ipp://<CUPS server name or IP>:631/printers/<print queue name>

or you can, as you already told, run Samba on the CUPS server and share out the printer via Samba, to allow auto discovery by Windows clients.

3. If you do not need LTS (Long Term Support) upgrade to Oneiric (11.10). Here AirPrint ands so also DNS-SD broadcasting of shared print queues is built into CUPS. So all clients which discover printers by DNS-SD and are able to print via IPP will find your server's shared printers and are able to print on them. Everything from Apple (iPhone, iPad, Mac, ...) should work, Windows most probably, too.

Make sure that you really share your printers. Mark "Publish shared printers connected to this system" under "Server" -> "Settings" and also "Shared" for each print queue to share under right-click on icon -> "Properties" -> "Policies".

Check also whether there is perhaps a personal firewall on the clients which could block the DNS-SD broadcasts.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cups (Ubuntu) because there has been no activity for 60 days.]

Changed in cups (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.