Skip to content

Instantly share code, notes, and snippets.

@jcartledge
Created May 9, 2011 04:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcartledge/962048 to your computer and use it in GitHub Desktop.
Save jcartledge/962048 to your computer and use it in GitHub Desktop.
What I did to get our new office MFD installed in Ubuntu
#!/bin/bash
# n.b. I haven't tested this version - see comments at https://gist.github.com/gists/962048
# download the driver rpm
wget http://download.fujixerox.co.jp/pub/exe/apeosport/c4300series/fxlinuxprint-1.0.3-2.i386.rpm
# alien will convert the rpm to a deb we can install
sudo aptitude install alien
sudo alien --scripts -k fxlinuxprint-1.0.3-2.i386.rpm
# install the deb
sudo dpkg -i fxlinuxprint_1.0.3-2_i386.deb
# now, open up the printer control panel and choose the driver for the printer (Manufacturer is listed as FX)
@germanicus
Copy link

Hi,

When writing,

sudo alien --scripts -k fxlinuxprint-1.0.3-1.i386.rpm

I get the following error,

error: fxlinuxprint-1.0.3-1.i386.rpm: not an rpm package (or package manifest)
Error executing "LANG=C rpm -qp --queryformat %{NAME} fxlinuxprint-1.0.3-1.i386.rpm": at /usr/share/perl5/Alien/Package.pm line 482.

:~$ sudo dpkg -i fxlinuxprint_1.0.3-1_i386.deb

dpkg: error processing fxlinuxprint_1.0.3-1_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
fxlinuxprint_1.0.3-1_i386.deb

Any idea why this is?

Many thanks

@jcartledge
Copy link
Author

@germanicus
Copy link

Many thanks, that did the trick :)

@irenealabia
Copy link

Hi there i tried to run the .sh file with the newer link version. I had encountered an error though. I pasted the error message below.

File "fxlinuxprint-1.0.3-1.i386.rpm" not found.
dpkg: error processing fxlinuxprint_1.0.3-1_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
fxlinuxprint_1.0.3-1_i386.deb

I hope you can help me figure this out. Thanks much.

@jcartledge
Copy link
Author

Hi. I've updated the script to refer to the newer version of the driver. I can't test it as I use a mac now ;)
Can you leave a comment here if this works for you? Thanks.

@irenealabia
Copy link

Thanks for the very quick reply. I think it did run, I have pasted the entire printed output in the terminal after running the new script. I can now find the fx in the list of the model during printer install, however I still cannot print a test page. Am i missing something?

--2011-11-10 19:34:59-- http://download.fujixerox.co.jp/pub/exe/apeosport/c4300series/fxlinuxprint-1.0.3-2.i386.rpm
Resolving download.fujixerox.co.jp... 192.26.96.138
Connecting to download.fujixerox.co.jp|192.26.96.138|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19952 (19K) [audio/x-pn-realaudio-plugin]
Saving to: `fxlinuxprint-1.0.3-2.i386.rpm'

100%[======================================>] 19,952 --.-K/s in 0.1s

2011-11-10 19:35:04 (132 KB/s) - `fxlinuxprint-1.0.3-2.i386.rpm' saved [19952/19952]

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

error: incorrect format: unknown tag
fxlinuxprint_1.0.3-2_i386.deb generated
(Reading database ... 151997 files and directories currently installed.)
Preparing to replace fxlinuxprint 1.0.3-2 (using fxlinuxprint_1.0.3-2_i386.deb) ...
Unpacking replacement fxlinuxprint ...
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

  • Restarting Common Unix Printing System: cupsd [ OK ]
    Setting up fxlinuxprint (1.0.3-2) ...

Thanks much for being so helpful.

@irenealabia
Copy link

hi there. my mistake.its not working. thank you very much,:)

@irenealabia
Copy link

its finally working,:)

@jcartledge
Copy link
Author

Glad you got it sorted out.

@irenealabia
Copy link

hi there again. i had installed ubuntu 64 bit in my laptop and i wonder if this driver can still be usable to install the printer on my device or is there available driver for 64bit?thanks

@jcartledge
Copy link
Author

No idea sorry.

@irenealabia
Copy link

irenealabia commented Nov 29, 2011 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment