ant_thomas
Posts: 115
Joined: Fri May 04, 2012 4:33 pm

Re: Dell C1760nw / Xerox Phaser 6000B

Tue Aug 02, 2016 2:48 pm

Scratch that.

Tried to print this morning and it wouldn't work. CUPS accepted and processed the job but it just didn't wake the printer to print it.

Removed CUPS and installed p910nd. Added the printer in Windows 7 as a generic network card - port 9100 and so far so good but time will tell.

Update: Next day and when trying to print I get the error in dmesg

Code: Select all

usblp0: nonzero read bulk status received: -32
A reboot fixes this. Now set a cronjob for an overnight reboot.

cheesybeanburrito
Posts: 1
Joined: Tue Aug 14, 2018 5:53 am

Re: Dell C1760nw / Xerox Phaser 6000B

Tue Aug 14, 2018 6:24 am

Tried the instructions but got no where on the PI Zero W.
I Inputted the:

Code: Select all

sudo apt-get install libcupsimage2:i386
But resulted in:

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libcupsimage2:i386
Then I Inputed:

Code: Select all

sudo apt-get install lib32stdc++6 lib32z1 lib32ncurses5 lib32bz2-1.0
It Resulted in:

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package lib32stdc++6
E: Couldn't find any package by regex 'lib32stdc++6'
E: Unable to locate package lib32z1
E: Unable to locate package lib32ncurses5
E: Unable to locate package lib32bz2-1.0
E: Couldn't find any package by glob 'lib32bz2-1.0'
E: Couldn't find any package by regex 'lib32bz2-1.0'
Not sure what to do to locate the packages?
Has anyone got the Dell c1760nw working on the rpi?

User avatar
scruss
Posts: 3220
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Dell C1760nw / Xerox Phaser 6000B

Tue Aug 14, 2018 10:11 am

Looks like you're copying commands from an Ubuntu x86 tutorial. They won't work here: i386 packages don't run on ARM.

This doesn't look like it's an easy install, but Dave Coffin wrote a driver for it: http://cybercom.net/~dcoffin/hbpl/
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

ray3
Posts: 2
Joined: Sun Nov 18, 2018 6:30 am

Re: Dell C1760nw / Xerox Phaser 6000B

Sun Nov 18, 2018 6:38 am

Specifically for Dell C1760nw, it turns out there's a bug in the file foo2zjs/foo2hbpl1-wrapper.in

This section of code was originally:

Code: Select all

letter)         DIM=5100x6600  ;;
legal)          DIM=5100x8400  ;;
a4)             DIM=4961x7016  ;;
executive)      DIM=4350x6300  ;;
env10)          DIM=2475x5700  ;;
monarch)        DIM=2325x4500  ;;
c5)             DIM=3827x5409  ;;
envDL)          DIM=2599x5197  ;;
isob5|b5)       DIM=4158x5906  ;;
jisb5)          DIM=4299x6071  ;;
a5)             DIM=3496x4961  ;;
folio)          DIM=5100x7800  ;;
pa4)            DIM=4961x6600  ;;
archA)          DIM=5400x7200  ;;
*)              error "Unimplemented paper code $PAPER";;
esac
But the call to foo2hbpl1-wrapper is passed -p4. This is defined in the foo2zjs/PPD/Dell-C1760.ppd as:

Code: Select all

*PageSize Letter/Letter: "%% FoomaticRIPOptionSetting: PageSize=Letter"
*FoomaticRIPOptionSetting PageSize=Letter: "-p4 "
*PageSize A4/A4: "%% FoomaticRIPOptionSetting: PageSize=A4"
*FoomaticRIPOptionSetting PageSize=A4: "-p1 "
*PageSize B5jis/B5 (JIS): "%% FoomaticRIPOptionSetting: PageSize=B5jis"
*FoomaticRIPOptionSetting PageSize=B5jis: "-p2 "
*PageSize Env10/Env #10: "%% FoomaticRIPOptionSetting: PageSize=Env10"
*FoomaticRIPOptionSetting PageSize=Env10: "-p9 "
*PageSize EnvC5/Env C5: "%% FoomaticRIPOptionSetting: PageSize=EnvC5"
*FoomaticRIPOptionSetting PageSize=EnvC5: "-p11 "
*PageSize EnvDL/Env DL: "%% FoomaticRIPOptionSetting: PageSize=EnvDL"
*FoomaticRIPOptionSetting PageSize=EnvDL: "-p12 "
*PageSize EnvMonarch/Env Monarch: "%% FoomaticRIPOptionSetting: PageSize=EnvMonarch"
*FoomaticRIPOptionSetting PageSize=EnvMonarch: "-p10 "
*PageSize Executive/Executive: "%% FoomaticRIPOptionSetting: PageSize=Executive"
*FoomaticRIPOptionSetting PageSize=Executive: "-p5 "
*PageSize FanfoldGermanLegal/Fanfold German Legal: "%% FoomaticRIPOptionSetting: PageSize=FanfoldGermanLegal"
*FoomaticRIPOptionSetting PageSize=FanfoldGermanLegal: "-p6 "
*PageSize Folio/Folio: "%% FoomaticRIPOptionSetting: PageSize=Folio"
*FoomaticRIPOptionSetting PageSize=Folio: "-p6 "
*PageSize Legal/Legal: "%% FoomaticRIPOptionSetting: PageSize=Legal"
*FoomaticRIPOptionSetting PageSize=Legal: "-p7 "
So, cups ends up passing paper code 4 to the wrapper and then fails to print. I did a quick hack to patch up the wrapper. Will followup this message with a proper patch.

ray3
Posts: 2
Joined: Sun Nov 18, 2018 6:30 am

Re: Dell C1760nw / Xerox Phaser 6000B

Sun Nov 18, 2018 6:58 am

Ok. Got it to work. You'll need to patch the driver David Coffin wrote. Specifically, you'll need to patch the file foo2hbpl1-wrapper.in.
Here's the patch file I generated showing my diff:

Code: Select all

--- old/foo2zjs/foo2hbpl1-wrapper.in    2014-04-04 20:12:55.000000000 -0700
+++ foo2zjs/foo2hbpl1-wrapper.in        2018-11-17 22:47:06.524396316 -0800
@@ -341,18 +341,18 @@
 # /usr/share/ghostscript/9.10/Resource/Init/gs_statd.ps
 # foo2hbpl1 will provide the appropriate numeric value

-letter)                DIM=5100x6600  ;;
-legal)         DIM=5100x8400  ;;
-a4)            DIM=4961x7016  ;;
-executive)     DIM=4350x6300  ;;
-env10)         DIM=2475x5700  ;;
-monarch)       DIM=2325x4500  ;;
-c5)            DIM=3827x5409  ;;
-envDL)         DIM=2599x5197  ;;
-isob5|b5)      DIM=4158x5906  ;;
-jisb5)         DIM=4299x6071  ;;
-a5)            DIM=3496x4961  ;;
-folio)         DIM=5100x7800  ;;
+4|letter|Letter)       DIM=5100x6600  ;;
+7|legal|Legal)         DIM=5100x8400  ;;
+1|a4|A4)               DIM=4961x7016  ;;
+5|executive|Executive) DIM=4350x6300  ;;
+9|env10|Env10)         DIM=2475x5700  ;;
+10|monarch|EnvMonarch) DIM=2325x4500  ;;
+11|c5|EnvC5)           DIM=3827x5409  ;;
+12|envDL|EnvDL)                DIM=2599x5197  ;;
+isob5|b5)              DIM=4158x5906  ;;
+2|jisb5|B5jis)         DIM=4299x6071  ;;
+a5)                    DIM=3496x4961  ;;
+6|folio|Folio)         DIM=5100x7800  ;;
 pa4)           DIM=4961x6600  ;;
 archA)         DIM=5400x7200  ;;
 *)             error "Unimplemented paper code $PAPER";;
 

osufnl499
Posts: 2
Joined: Sun Oct 20, 2019 4:58 pm

Re: Dell C1760nw / Xerox Phaser 6000B

Sun Oct 20, 2019 5:11 pm

Anyone still have this custom driver? Doesn't seem to be available through link anymore.

User avatar
scruss
Posts: 3220
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Dell C1760nw / Xerox Phaser 6000B

Sun Oct 20, 2019 9:00 pm

Dave Coffin's venerable website¹ moved. It's here now: Using HBPL printers in Linux

The Wayback Machine can also be very useful if a link seems to be dead.

¹: it was hosted by that ISP for nearly 20 years. Dave's better known for writing the camera raw image converter for free that lots of commercial imaging companies and expensive packages rely on, dcraw.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.
Pronouns: he/him

osufnl499
Posts: 2
Joined: Sun Oct 20, 2019 4:58 pm

Re: Dell C1760nw / Xerox Phaser 6000B

Mon Oct 21, 2019 3:43 am

Thanks! I was able to download and install the driver the cups status page goes to processing, but after a minute or so I get stopped filter failed. I check the error log and it doesn't seem to give a reason as to why the filter failed.

macduff
Posts: 2
Joined: Fri Nov 11, 2016 3:19 am

Re: Dell C1760nw / Xerox Phaser 6000B

Mon May 18, 2020 3:47 am

For anyone interested, I downloaded and installed the drivers from http://evrl.com/linux/2016/07/22/c1660w-rpi.html. I was successfully able to print to my 1660 using that. I'm not sure if the 1760 is also supported, but I would assume so.

Return to “Troubleshooting”