Page 9 of 12

Posted: Sat 09 May 2015, 16:33
by starhawk
*sigh*

You are more or less forcing me to return this printer or change Pups. We both know that the Carolina devs cannot offer help of this nature, and that they will only refer me to you.

I will ask you to reconsider. Again, nothing has changed, in terms of printer support, from a default Carolina Vanguard install, barring the fact that I followed your directions to attempt to install a printer and was unsuccessful in doing so.

Posted: Sat 09 May 2015, 16:45
by starhawk
I have confirmed that none of the drivers I have work.

EDIT: redownloaded and reinstalled. Here is the terminal output. The printer still doesn't print.

Code: Select all

# debbi mfcj470dwlpr-3.0.0-1.i386.deb 
mkdir: can't create directory '/var/spool/lpd/mfcj470dw': No such file or directory
chown: unknown user lp
chgrp: /var/spool/lpd/mfcj470dw: No such file or directory
chmod: cannot access `/var/spool/lpd/mfcj470dw': No such file or directory
Post-install script completed!
Done!
# debbi mfcj470dwcupswrapper-3.0.0-1.i386.deb 
cups: restarted scheduler.
lpadmin -p MFCJ470DW -E -v usb:/dev/usb/lp0 -P /usr/share/cups/model/Brother/brother_mfcj470dw_printer_en.ppd
Post-install script completed!
Done!
# 
Please advise.

Posted: Sat 09 May 2015, 18:20
by starhawk
If you will not assist me further with this printer, please recommend a replacement.

My budget is $80, not one penny higher. I will be shopping online at Staples. I am largely brand-agnostic as far as the printer itself, but it must be a wirelessly-networked multifunction (printer, scanner, and copier; I don't care either way about fax capability) and it absolutely must (for my mother) support a scan-directly-to-Evernote feature.

Here is the relevant search URL --> http://www.staples.com/Printers/cat_CL1 ... n=0&max=80

Posted: Sat 09 May 2015, 19:13
by starhawk
I will once again reiterate that this logically cannot be an issue with the base Carolina Vanguard install. The printer worked absolutely fine before I redid my savefile, as several printed images and documents (as well as an earlier post in this very thread) can attest to.

To forestall the inevitable "you must've done something different there" comment, I will point out that I actually archive everything I install (dotPETs, DEBs, TXZs, etc), so that, should I need to redo my savefile in the future, everything is there and I don't have to hunt anything down and I cannot possibly forget anything.

I can tell you to a 1000% certainty that the only difference between the two savefiles, is that I found I did not need to install a libevent TXZ this time in order to make Chromium work; however, I fail to see how that could affect CUPS.

That said, again --
If you will not assist me further with this printer, please recommend a replacement.

My budget is $80, not one penny higher. I will be shopping online at Staples. I am largely brand-agnostic as far as the printer itself, but it must be a wirelessly-networked multifunction (printer, scanner, and copier; I don't care either way about fax capability) and it absolutely must (for my mother) support a scan-directly-to-Evernote feature.

Here is the relevant search URL --> http://www.staples.com/Printers/cat_CL1 ... n=0&max=80

Posted: Sat 09 May 2015, 21:59
by starhawk
aaaaaaaaand nevermind on the 'just get another printer' bit. It's past the return period, so like it or not I'm stuck with this thing.

Do please help me get it working.

Posted: Sat 09 May 2015, 22:24
by starhawk
Installed libevent, just to check.

No joy.

I now have an install and savefile absolutely identical to the one I had before, except that now I cannot print.

I'm all ears, when you decide to step back into the office.

EDIT: seriously, you're actually holding up a project of mine by continuing to ignore me. Not cool, bro.

Posted: Sun 10 May 2015, 02:16
by starhawk
Solved.

Posted: Sun 10 May 2015, 06:40
by greengeek
starhawk wrote:Solved.
I'm interested to know more details about whether the solution was satisfactory or not, and if so, how. My day job is to connect/repair printers and troubleshoot their connections to Windows, Mac and Linux computers and I'm trying to learn more about the intricacies of CUPS etc.

The need to interface to Evernote seems like something beyond simply adding a printer driver, but it is similar to the "windows focused" needs of some of my clients so I'm just keen to hear if you got it working. (either partly or not at all).

Many devices today are multifunctional so I try to learn as much as I can about what makes the printer work, what makes the scanner work, and what makes the email (smtp) connection work etc etc so any info is good info...

cheers!

Posted: Sun 10 May 2015, 16:03
by starhawk
Evernote compatibility is actually handled by the printer itself, as part of being a networked device. It connects to the Web via WiFi and does its thing that way. The setup utility is called 'Brother Web Connect'.

As for posting what solved the problem... after the way I was treated by rcrsn51 I'm going to have to think about that. Suffice to say for now that there was a dep nobody told me about.

Posted: Mon 11 May 2015, 02:50
by DanielSong39
Reposting from the bug report in Quirky 7.0.3:
http://murga-linux.com/puppy/viewtopic ... &start=600

I have a Brother HL-1435 printer. I installed the printer successfully in Puppy, but the procedure does not seem to work in Quirky 7.0.4.1. The procedure is described in the first post of this thread.

The error message I received in CUPS was:

"Filter failed"

I have deleted and re-installed the printer several times, to no avail. It's just Quirky where I'm having this problem; I'm not having this problem in any other distribution I'm using.

P.S. This is a local printer connected through USB. CUPS has no trouble recognizing this printer. However, I continue to encounter the "Filter failed" error.

Posted: Mon 11 May 2015, 09:50
by greengeek
DanielSong39 wrote:The error message I received in CUPS was:

"Filter failed"

I have deleted and re-installed the printer several times, to no avail.
Is there any info in /var/log/cups/error_log ?

EDIT : as suggested by Daniel below this should have been /var/cups/log/error_log

Posted: Mon 11 May 2015, 14:31
by DanielSong39
I'll post the error log entry when I get the chance.

Posted: Tue 12 May 2015, 00:47
by DanielSong39
No file in /var/log/cups/error_log, but I found an error log in /var/cups/log/error_log.

This is rather long:

I [11/May/2015:20:40:47 -0400] [Client 11] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=9826)
I [11/May/2015:20:40:47 -0400] [Job ???] Request file type is application/vnd.cups-pdf-banner.
I [11/May/2015:20:40:49 -0400] [Client 11] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=9887)
E [11/May/2015:20:40:50 -0400] [Job 1] Job stopped due to filter errors; please consult the error_log file for details.
D [11/May/2015:20:40:50 -0400] [Job 1] The following messages were recorded from 20:40:47 to 20:40:50
D [11/May/2015:20:40:50 -0400] [Job 1] Adding start banner page "none".
D [11/May/2015:20:40:50 -0400] [Job 1] Adding end banner page "none".
D [11/May/2015:20:40:50 -0400] [Job 1] File of type application/vnd.cups-pdf-banner queued by "anonymous".
D [11/May/2015:20:40:50 -0400] [Job 1] hold_until=0
D [11/May/2015:20:40:50 -0400] [Job 1] Queued on "Brother_HL-1435_series" by "anonymous".
D [11/May/2015:20:40:50 -0400] [Job 1] time-at-processing=1431391247
D [11/May/2015:20:40:50 -0400] [Job 1] 4 filters for job:
D [11/May/2015:20:40:50 -0400] [Job 1] bannertopdf (application/vnd.cups-pdf-banner to application/pdf, cost 32)
D [11/May/2015:20:40:50 -0400] [Job 1] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [11/May/2015:20:40:50 -0400] [Job 1] pdftops (application/vnd.cups-pdf to application/vnd.cups-postscript, cost 100)
D [11/May/2015:20:40:50 -0400] [Job 1] brlpdwrapperHL1430 (application/vnd.cups-postscript to printer/Brother_HL-1435_series, cost 0)
D [11/May/2015:20:40:50 -0400] [Job 1] job-sheets=none,none
D [11/May/2015:20:40:50 -0400] [Job 1] argv[0]="Brother_HL-1435_series"
D [11/May/2015:20:40:50 -0400] [Job 1] argv[1]="1"
D [11/May/2015:20:40:50 -0400] [Job 1] argv[2]="anonymous"
D [11/May/2015:20:40:50 -0400] [Job 1] argv[3]="Test Page"
D [11/May/2015:20:40:50 -0400] [Job 1] argv[4]="1"
D [11/May/2015:20:40:50 -0400] [Job 1] argv[5]="job-uuid=urn:uuid:bee80152-b181-3c2a-7015-0cccf40eb842 job-originating-host-name=localhost time-at-creation=1431391247 time-at-processing=1431391247"
D [11/May/2015:20:40:50 -0400] [Job 1] argv[6]="/var/spool/cups/d00001-001"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[8]="HOME=/var/spool/cups/tmp"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[10]="SERVER_ADMIN=root@puppypc28237"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[11]="SOFTWARE=CUPS/1.7.5"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[13]="USER=root"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[14]="CUPS_MAX_MESSAGE=2047"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[17]="IPP_PORT=631"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[18]="CHARSET=utf-8"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[19]="LANG=en_US.UTF-8"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[20]="PPD=/etc/cups/ppd/Brother_HL-1435_series.ppd"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[21]="RIP_MAX_CACHE=128m"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[22]="CONTENT_TYPE=application/vnd.cups-pdf-banner"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[23]="DEVICE_URI=usb://Brother/HL-1435%20series"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[24]="PRINTER_INFO=Brother HL-1435 series"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[25]="PRINTER_LOCATION=Local Printer"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[26]="PRINTER=Brother_HL-1435_series"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[27]="PRINTER_STATE_REASONS=none"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[28]="CUPS_FILETYPE=document"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[29]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript"
D [11/May/2015:20:40:50 -0400] [Job 1] envp[30]="AUTH_I****"
D [11/May/2015:20:40:50 -0400] [Job 1] Started filter /usr/lib/cups/filter/bannertopdf (PID 9827)
D [11/May/2015:20:40:50 -0400] [Job 1] Started filter /usr/lib/cups/filter/pdftopdf (PID 9828)
D [11/May/2015:20:40:50 -0400] [Job 1] Started filter /usr/lib/cups/filter/pdftops (PID 9829)
D [11/May/2015:20:40:50 -0400] [Job 1] Started filter /usr/lib/cups/filter/brlpdwrapperHL1430 (PID 9830)
D [11/May/2015:20:40:50 -0400] [Job 1] Started backend /usr/lib/cups/backend/usb (PID 9831)
D [11/May/2015:20:40:50 -0400] [Job 1] STATE: +connecting-to-device
D [11/May/2015:20:40:50 -0400] [Job 1] Printer using device file "/dev/usb/lp0"...
D [11/May/2015:20:40:50 -0400] [Job 1] STATE: -connecting-to-device
D [11/May/2015:20:40:50 -0400] [Job 1] backendRunLoop(print_fd=0, device_fd=5, snmp_fd=-1, addr=(nil), use_bc=0, side_cb=0x7fe81c347a3a)
D [11/May/2015:20:40:50 -0400] [Job 1] pdftops - copying to temp print file "/var/spool/cups/tmp/02665555d95e1"
D [11/May/2015:20:40:50 -0400] [Job 1] /usr/lib/cups/filter/brlpdwrapperHL1430: line 37: PPD=/etc/cups/ppd/Brother_HL-1435_series.ppd: No such file or directory
D [11/May/2015:20:40:50 -0400] [Job 1] PDF template file doesn't have form. It's okay.
D [11/May/2015:20:40:50 -0400] [Job 1] PID 9827 (/usr/lib/cups/filter/bannertopdf) exited with no errors.
D [11/May/2015:20:40:50 -0400] [Job 1] Printer make and model: (null) Brother HL-1430 series
D [11/May/2015:20:40:50 -0400] [Job 1] Running command line for pstops: pstops 1 anonymous 'Test Page' 1 'job-uuid=urn:uuid:bee80152-b181-3c2a-7015-0cccf40eb842 job-originating-host-name=localhost time-at-creation=1431391247 time-at-processing=1431391247'
D [11/May/2015:20:40:50 -0400] [Job 1] Using image rendering resolution 600 dpi
D [11/May/2015:20:40:50 -0400] [Job 1] Running command line for gs: gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite -sOUTPUTFILE=%stdout -dLanguageLevel=3 -r600 -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE -c 'save pop' -f /var/spool/cups/tmp/02665555d95e1
D [11/May/2015:20:40:50 -0400] [Job 1] Started filter gs (PID 9841)
D [11/May/2015:20:40:50 -0400] [Job 1] Started filter pstops (PID 9842)
D [11/May/2015:20:40:50 -0400] [Job 1] PID 9828 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [11/May/2015:20:40:50 -0400] [Job 1] Page = 612x792; 18,12 to 594,780
D [11/May/2015:20:40:50 -0400] [Job 1] slow_collate=0, slow_duplex=0, slow_order=0
D [11/May/2015:20:40:50 -0400] [Job 1] Before copy_comments - %!PS-Adobe-3.0
D [11/May/2015:20:40:50 -0400] [Job 1] %!PS-Adobe-3.0
D [11/May/2015:20:40:50 -0400] [Job 1] %%Pages: (atend)
D [11/May/2015:20:40:50 -0400] [Job 1] %%BoundingBox: (atend)
D [11/May/2015:20:40:50 -0400] [Job 1] %%HiResBoundingBox: (atend)
D [11/May/2015:20:40:50 -0400] [Job 1] %%Creator: ESP Ghostscript 81504 (pswrite)
D [11/May/2015:20:40:50 -0400] [Job 1] %%CreationDate: 2015/05/11 20:40:48
D [11/May/2015:20:40:50 -0400] [Job 1] %%DocumentData: Clean7Bit
D [11/May/2015:20:40:50 -0400] [Job 1] %%LanguageLevel: 3
D [11/May/2015:20:40:50 -0400] [Job 1] %%EndComments
D [11/May/2015:20:40:50 -0400] [Job 1] Before copy_prolog - %%BeginProlog
D [11/May/2015:20:40:50 -0400] [Job 1] Before copy_setup - %%Page: 1 1
D [11/May/2015:20:40:50 -0400] [Job 1] Before page loop - %%Page: 1 1
D [11/May/2015:20:40:50 -0400] [Job 1] Copying page 1...
D [11/May/2015:20:40:50 -0400] [Job 1] pagew = 576.0, pagel = 768.0
D [11/May/2015:20:40:50 -0400] [Job 1] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
D [11/May/2015:20:40:50 -0400] [Job 1] PageLeft = 18.0, PageRight = 594.0
D [11/May/2015:20:40:50 -0400] [Job 1] PageTop = 780.0, PageBottom = 12.0
D [11/May/2015:20:40:50 -0400] [Job 1] PageWidth = 612.0, PageLength = 792.0
D [11/May/2015:20:40:50 -0400] [Job 1] ESP Ghostscript 815.04: Unrecoverable error, exit code 1
D [11/May/2015:20:40:50 -0400] [Job 1] Wrote 1 pages...
D [11/May/2015:20:40:50 -0400] [Job 1] PID 9842 (pstops) exited with no errors.
D [11/May/2015:20:40:50 -0400] [Job 1] PID 9841 (gs) stopped with status 1!
D [11/May/2015:20:40:50 -0400] [Job 1] PID 9829 (/usr/lib/cups/filter/pdftops) stopped with status 1.
D [11/May/2015:20:40:50 -0400] [Job 1] Hint: Try setting the LogLevel to "debug" to find out more.
D [11/May/2015:20:40:50 -0400] [Job 1] /usr/lib/cups/filter/brlpdwrapperHL1430: line 120: /usr/local/Brother/cupswrapper/brcupsconfig: cannot execute binary file
D [11/May/2015:20:40:50 -0400] [Job 1] /usr/local/Brother/lpd/filterHL1430: line 44: /usr/local/Brother//lpd/rawtobr: cannot execute binary file
D [11/May/2015:20:40:50 -0400] [Job 1] PID 9830 (/usr/lib/cups/filter/brlpdwrapperHL1430) exited with no errors.
D [11/May/2015:20:40:50 -0400] [Job 1] PID 9831 (/usr/lib/cups/backend/usb) exited with no errors.
D [11/May/2015:20:40:50 -0400] [Job 1] End of messages
D [11/May/2015:20:40:50 -0400] [Job 1] printer-state=3(idle)
D [11/May/2015:20:40:50 -0400] [Job 1] printer-state-message="Filter failed"
D [11/May/2015:20:40:50 -0400] [Job 1] printer-state-reasons=none
I [11/May/2015:20:40:55 -0400] Saving printers.conf...
I [11/May/2015:20:40:55 -0400] Generating printcap /etc/printcap...
I [11/May/2015:20:40:55 -0400] Saving job.cache...
I [11/May/2015:20:40:59 -0400] [Client 11] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=10031)
I [11/May/2015:20:42:08 -0400] [Client 11] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=10861)
E [11/May/2015:20:45:51 -0400] [Job 1] Stopping unresponsive job.

Posted: Thu 14 May 2015, 02:00
by DanielSong39
I'm thinking this might have to do with the fact that I'm using a 64-bit version of Quirky.

Still investigating the problem.

Posted: Fri 15 May 2015, 01:38
by DanielSong39
My latest theory is that the filter is not supported by Quirky 7.0.4.1. Here is the relevant line from the .ppd file:

*cupsFilter: "application/vnd.cups-postscript 0 brlpdwrapperHL1430"

Any way to customize Quirky so that this filter is recognized?

Posted: Fri 15 May 2015, 19:07
by DanielSong39
I think the problem is due to the inability to execute 32-bit binaries, as shown below:

D [11/May/2015:20:40:50 -0400] [Job 1] /usr/lib/cups/filter/brlpdwrapperHL1430: line 120: /usr/local/Brother/cupswrapper/brcupsconfig: cannot execute binary file
D [11/May/2015:20:40:50 -0400] [Job 1] /usr/local/Brother/lpd/filterHL1430: line 44: /usr/local/Brother//lpd/rawtobr: cannot execute binary file

Is there a way to configure 64-bit Quirky so that these binary files can be executed?

Posted: Fri 15 May 2015, 19:18
by starhawk
You need 64-bit binaries. There is no real way around that in Puppy.

Posted: Fri 15 May 2015, 19:38
by DanielSong39
Well, at least I may have been on the right track while trying to install glibc32-2.20 on Quirky. Alas, that corrupted the system and I had to re-install from scratch.

I'll either need to get a printer with 64-bit support or use other distributions that support 32-bit binaries (i.e. Puppy).

CUPS & 64bit Just-Lighthouse 64

Posted: Sun 17 May 2015, 00:10
by edoc
Should I expect Debbi,etc to play nicely with Just-Lighthouse64 or will some customization be required, please?

I can access my Brother HL-2275DW from a laptop with the old Lighthouse64-602 version and one with Carolina 13 but this one does not recognize it at all.

Should I go ahead and follow all of the Debbi steps on this one and just see what happens - or might that make a mess I'll have to try to undo ... you know me ... ;-)

Thanks ...

Posted: Sun 17 May 2015, 01:49
by starhawk
Only rcrsn51 can answer that for sure, and he appears to be on sabbatical right now...

Offhand, though, I'd say you're likely to make a mess. If it's a 32bit package generally speaking it won't work on 64bit stuff.