Brother DCP 195 remote Print "No Pages found"

Asked by batzi

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

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu cups Edit question
Assignee:
No assignee Edit question
Solved by:
batzi
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

How did you install the printer and/or driver?

Revision history for this message
batzi (dotcommandante) said :
#2

Hi

downloaded the drivers from brother to fs and installed with dpkg -i --force-architecture dccupsdwrapper.deb
currently running an Atom D510 X64.

Revision history for this message
batzi (dotcommandante) said :
#3

oh forgot - printer installed via cups web administration

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

So you didn't grab the driver debs from the Brother site?

Can you give the output of:

lsb_release -a; uname -a

Thanks

Revision history for this message
batzi (dotcommandante) said :
#5

sorry for this misunderstood -- i grabbed the driver from Brother Homepage

dpkg -l | grep Brother
ii brscan-skey 0.2.1-3 Brother Linux scanner S-KEY tool
ii brscan3 0.2.11-4 Brother Scanner Driver
ii dcp195ccupswrapper 1.1.2-2 Brother CUPS Inkjet Printer Definitions
ii dcp195clpr 1.1.2-1 Brother lpr Inkjet Printer Definitions

uname -a
Linux octonion.local 2.6.32-35-generic #78-Ubuntu SMP Tue Oct 11 16:11:24 UTC 2011 x86_64 GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.3 LTS
Release: 10.04
Codename: lucid

thanks for help

Revision history for this message
batzi (dotcommandante) said :
#6

last action: purged cups and printer driver and reinstalled - still got the error.

Please see logs files below:

 [09/Dec/2011:15:35:09 +0100] [Job 3] argv[5]="job-uuid=urn:uuid:ea983aef-4446-3301-4753-832c348126c4 job-originating-host-name=192.168.0.100"
D [09/Dec/2011:15:35:09 +0100] [Job 3] argv[6]="/var/spool/cups/d00003-001"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[8]="HOME=/var/spool/cups/tmp"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[10]="<email address hidden>"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[11]="SOFTWARE=CUPS/1.4.3"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[13]="TZ=Europe/Berlin"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[14]="USER=root"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[17]="CHARSET=utf-8"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[18]="LANG=de.UTF-8"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[19]="PPD=/etc/cups/ppd/Brother_DCP-195C.ppd"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[20]="RIP_MAX_CACHE=770077k"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[21]="CONTENT_TYPE=application/vnd.cups-postscript"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[22]="DEVICE_URI=usb://Brother/DCP-195C"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[23]="PRINTER_INFO=Netzwerkdrucker"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[24]="PRINTER_LOCATION="
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[25]="PRINTER=Brother_DCP-195C"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[26]="CUPS_FILETYPE=document"
D [09/Dec/2011:15:35:09 +0100] [Job 3] envp[27]="FINAL_CONTENT_TYPE=printer/Brother_DCP-195C"
I [09/Dec/2011:15:35:09 +0100] [Job 3] Started filter /usr/lib/cups/filter/brlpdwrapperdcp195c (PID 1399)
I [09/Dec/2011:15:35:09 +0100] [Job 3] Started backend /usr/lib/cups/backend/usb (PID 1400)
D [09/Dec/2011:15:35:09 +0100] Discarding unused job-state-changed event...
D [09/Dec/2011:15:35:09 +0100] Returning IPP successful-ok for Print-Job (ipp://octonion.local.:631/printers/Brother_DCP-195C) from 192.168.0.100
D [09/Dec/2011:15:35:09 +0100] cupsdSetBusyState: Printing jobs and dirty files
D [09/Dec/2011:15:35:09 +0100] cupsdReadClient: 11 POST /printers/Brother_DCP-195C HTTP/1.1
D [09/Dec/2011:15:35:09 +0100] cupsdSetBusyState: Active clients, printing jobs, and dirty files
D [09/Dec/2011:15:35:09 +0100] cupsdAuthorize: No authentication data provided.
D [09/Dec/2011:15:35:09 +0100] [Job 3] STATE: +connecting-to-device
D [09/Dec/2011:15:35:09 +0100] [Job 3] Printer using device file "/dev/usblp0"...
D [09/Dec/2011:15:35:09 +0100] [Job 3] STATE: -connecting-to-device
D [09/Dec/2011:15:35:09 +0100] [Job 3] backendRunLoop(print_fd=0, device_fd=5, snmp_fd=-1, addr=(nil), use_bc=0, side_cb=0x7f3886e036a0)
D [09/Dec/2011:15:35:09 +0100] Discarding unused printer-state-changed event...
D [09/Dec/2011:15:35:09 +0100] cupsdReadClient: 11 1.1 Get-Job-Attributes 1
D [09/Dec/2011:15:35:09 +0100] Get-Job-Attributes ipp://octonion.local.:631/printers/Brother_DCP-195C
D [09/Dec/2011:15:35:09 +0100] Returning IPP successful-ok for Get-Job-Attributes (ipp://octonion.local.:631/printers/Brother_DCP-195C) from 192.168.0.100
D [09/Dec/2011:15:35:09 +0100] cupsdSetBusyState: Printing jobs and dirty files
D [09/Dec/2011:15:35:09 +0100] cupsdReadClient: 11 POST /printers/Brother_DCP-195C HTTP/1.1
D [09/Dec/2011:15:35:09 +0100] cupsdSetBusyState: Active clients, printing jobs, and dirty files
D [09/Dec/2011:15:35:09 +0100] cupsdAuthorize: No authentication data provided.
D [09/Dec/2011:15:35:09 +0100] cupsdReadClient: 11 1.1 Get-Printer-Attributes 1
D [09/Dec/2011:15:35:09 +0100] Get-Printer-Attributes ipp://octonion.local.:631/printers/Brother_DCP-195C
D [09/Dec/2011:15:35:09 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://octonion.local.:631/printers/Brother_DCP-195C) from 192.168.0.100
D [09/Dec/2011:15:35:09 +0100] cupsdSetBusyState: Printing jobs and dirty files
D [09/Dec/2011:15:35:10 +0100] cupsdNetIFUpdate: "lo" = localhost:0
D [09/Dec/2011:15:35:10 +0100] cupsdNetIFUpdate: "eth0" = 192.168.0.202:631
D [09/Dec/2011:15:35:10 +0100] cupsdNetIFUpdate: "lo" = localhost:0
D [09/Dec/2011:15:35:10 +0100] cupsdNetIFUpdate: "eth0" = fe80::201:2eff:fe38:af31%eth0:0
D [09/Dec/2011:15:35:10 +0100] cupsdReadClient: 11 POST /printers/Brother_DCP-195C HTTP/1.1
D [09/Dec/2011:15:35:10 +0100] cupsdSetBusyState: Active clients, printing jobs, and dirty files
D [09/Dec/2011:15:35:10 +0100] cupsdAuthorize: No authentication data provided.
D [09/Dec/2011:15:35:10 +0100] cupsdReadClient: 11 1.1 Get-Job-Attributes 1
D [09/Dec/2011:15:35:10 +0100] Get-Job-Attributes ipp://octonion.local.:631/printers/Brother_DCP-195C
D [09/Dec/2011:15:35:10 +0100] Returning IPP successful-ok for Get-Job-Attributes (ipp://octonion.local.:631/printers/Brother_DCP-195C) from 192.168.0.100
D [09/Dec/2011:15:35:10 +0100] cupsdSetBusyState: Printing jobs and dirty files
D [09/Dec/2011:15:35:10 +0100] cupsdReadClient: 11 POST /printers/Brother_DCP-195C HTTP/1.1
D [09/Dec/2011:15:35:10 +0100] cupsdSetBusyState: Active clients, printing jobs, and dirty files
D [09/Dec/2011:15:35:10 +0100] cupsdAuthorize: No authentication data provided.
D [09/Dec/2011:15:35:10 +0100] cupsdReadClient: 11 1.1 Get-Printer-Attributes 1
D [09/Dec/2011:15:35:10 +0100] Get-Printer-Attributes ipp://octonion.local.:631/printers/Brother_DCP-195C
D [09/Dec/2011:15:35:10 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://octonion.local.:631/printers/Brother_DCP-195C) from 192.168.0.100
D [09/Dec/2011:15:35:10 +0100] cupsdSetBusyState: Printing jobs and dirty files
E [09/Dec/2011:15:35:11 +0100] [Job 3] No pages found!
D [09/Dec/2011:15:35:11 +0100] [Job 3] Set job-printer-state-message to "No pages found!", current level=ERROR
D [09/Dec/2011:15:35:11 +0100] Discarding unused printer-state-changed event...
D [09/Dec/2011:15:35:11 +0100] Discarding unused job-progress event...
D [09/Dec/2011:15:35:11 +0100] PID 1399 (/usr/lib/cups/filter/brlpdwrapperdcp195c) exited with no errors.
D [09/Dec/2011:15:35:11 +0100] PID 1400 (/usr/lib/cups/backend/usb) exited with no errors.
D [09/Dec/2011:15:35:11 +0100] Discarding unused job-completed event...
I [09/Dec/2011:15:35:11 +0100] [Job 3] Job completed.
D [09/Dec/2011:15:35:11 +0100] cupsdMarkDirty(----J-)
D [09/Dec/2011:15:35:11 +0100] Discarding unused printer-state-changed event...
D [09/Dec/2011:15:35:12 +0100] [Job 3] Unloading...
D [09/Dec/2011:15:35:12 +0100] cupsdReadClient: 11 POST /printers/Brother_DCP-195C HTTP/1.1
D [09/Dec/2011:15:35:12 +0100] cupsdSetBusyState: Active clients and dirty files
D [09/Dec/2011:15:35:12 +0100] cupsdAuthorize: No authentication data provided.
D [09/Dec/2011:15:35:12 +0100] cupsdReadClient: 11 1.1 Get-Job-Attributes 1
D [09/Dec/2011:15:35:12 +0100] Get-Job-Attributes ipp://octonion.local.:631/printers/Brother_DCP-195C
D [09/Dec/2011:15:35:12 +0100] [Job 3] Loading attributes...
D [09/Dec/2011:15:35:12 +0100] Returning IPP successful-ok for Get-Job-Attributes (ipp://octonion.local.:631/printers/Brother_DCP-195C) from 192.168.0.100
D [09/Dec/2011:15:35:12 +0100] cupsdSetBusyState: Dirty files
D [09/Dec/2011:15:35:12 +0100] cupsdReadClient: 11 POST /printers/Brother_DCP-195C HTTP/1.1
D [09/Dec/2011:15:35:12 +0100] cupsdSetBusyState: Active clients and dirty files
D [09/Dec/2011:15:35:12 +0100] cupsdAuthorize: No authentication data provided.
D [09/Dec/2011:15:35:12 +0100] cupsdReadClient: 11 1.1 Get-Printer-Attributes 1
D [09/Dec/2011:15:35:12 +0100] Get-Printer-Attributes ipp://octonion.local.:631/printers/Brother_DCP-195C
D [09/Dec/2011:15:35:12 +0100] Returning IPP successful-ok for Get-Printer-Attributes (ipp://octonion.local.:631/printers/Brother_DCP-195C) from 192.168.0.100
D [09/Dec/2011:15:35:12 +0100] cupsdSetBusyState: Dirty files
D [09/Dec/2011:15:35:12 +0100] cupsdReadClient: 11 WAITING Closing on EOF
D [09/Dec/2011:15:35:12 +0100] cupsdCloseClient: 11

Revision history for this message
batzi (dotcommandante) said :
#7

Problem solved by myself.

just modify

if $# -ge 7 then
cp $6 $INPUT_TEMP_PS

TO
if $# -ge 6 then
cp $6 $INPUT_TEMP_PS

in /usr/lib/cups/filter/brldpwraooerdcp195c

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

I suggest you report a bug. Glad you got the gold :)