How to install HL-3040CN Brother printer drivers on Linux (Ubuntu)

For this guide we're going to be looking at the installation of drivers for the Brother HL-3040CN laser printer and how to set up the connection to get it to print over the network. The instructions on the Brother printer driver pages do actually work (just about) but they're not exactly crystal clear. For instance, they don't have all the info on one page and they also tell you to set a connection setting that will potentially break printing if your printers IP address changes.

Read more...

LPTHW - Exercise 21: Functions Can Return Something

LPTHW - Exercise 21 Well it feels like I'm finally getting somewhere. Learning the basics over and over again as I am (I'm also doing the Odin Project) gets a bit demoralising. Finally getting to this stage here (and prety much the same stage in the Odin Project) feels like a bit of a breakthrough. That's not to say there isn't a long way to go! It is nice though to feel a little bit like I'm emerging from the dense forrest and starting to be able to glimpse the land beyond.

Read more...

LPTHW - Exercise 20: Functions and Files

LPTHW - Exercise 20 More functions this time but here the focus seems to be on being able to follow the 'flow' of multiple functions, not ones that pass data from one to another but just being able to read and follow how a script with multiple functions works Because the script undergoes extensive alterations through the lesson, I'm going to post it in parts with my additions in a separate section below.

Read more...

LPTHW - Exercise 19: Functions and Variables

LPTHW - Exercise 19 When I first read through this lesson it seemed like a breeze, and it was, until I got to the study drills. There's nothing in the script itself that's tricky, it's mostly just a refresh of the last lesson and confirms you can write out the functions correctly. But the study drills take it to a new level with the requirement to write your own function and call it 10 different ways.

Read more...

LPTHW - Exercise 18: Names, Variables, Code, Functions

LPTHW - Exercise 18 Yey! Functions! Turns out we've already been using them in previous exercises with things like close() and open() but here we get to write our own one properly. What is a function? A function... ...lets you group a series of statements together to perform a specific task. If different parts of the script repeat the same task, you can reuse the function (rather than repeating the same set of statements).

Read more...

LPTHW - Exercise 17: More Files

LPTHW - Exercise 17 I found this to be an awkward lesson to write out. It's not hard to do it but it's hard to write it out in a post like this because the script gets quite a lot of modification. Here's the first run through of the script: from sys import argv from os.path import exists script, from_file, to_file = argv print(f"Copying from {from_file} to {to_file}") # We could do the following on one line how?

Read more...

LPTHW - Exercise 16: Reading and Writing Files

LPTHW - Exercise 16 Here we have a lot of 'doing'. A lot of writing anyway. Following this methodically should make it very easy to follow. Just take it one step at a time and see that what at first might appear difficult is merely 'complex' and not actually hard at all. Let's start with the lesson script and go from there... from sys import argv script, filename = argv print(f"We're going to erase {filename}.

Read more...

Install ScanSnap s1300, s1300i, s1100 and s300 drivers on Linux - drivers included

scansnap-folder

The Fujitsu ScanSnap s1300, s1100 and s300 were some of the best low cost duplex scanners available, and if you've got one no doubt it's still going strong. Likewise, the current generation s1300i upholds that tradition and is arguably one of the best scanners currently on sale.

Unfortunately Fujitsu don't provide linux drivers so this post provides those drivers for you to download.

This post looks long but it's just spelt out very very clearly. The actual number of things you need to do is not that high at all. I've seen many terse instructions that fail to give new users enough to go on so this one is written out fully and clearly.

To that end I'll also walk you through the install process so you can have your s1300, s1300i, s1100 and s300 happily scanning away just like they would if you were using Windows or OS X/macOS.

Well, almost, there are certain bits that don't work like one button scanning but it's not too much of a hardship.

Read more...