I have an HP LaserJet Professional P1606dn, which has been great. It prints double-sided (duplex) — that’s the ‘d’ in P1606dn — and it connects to the network — that’s the ‘n’ allowing Jane to print wirelessly from her laptop.
The problem
But today… for some reason my P1606dn stopped printing double-sided. The option was still there in the printer properties—on the Device Settings tab, under Duplex Mode both “Allow Automatic Duplexing” and “Allow Manual Duplexing” were both ticked.
Hmm…
I tried changing various settings but nothing seemed to fix it. I checked if the driver had been updated. I rebooted the PC. Again, no improvement.
How I fixed it
I was actually in the process of trying to downloading the HP Smart Install software when I stumbled upon the answer.
If you have this printer, you’ll know that you can also connect to a configuration screen via the network. All you need is the printer’s IP address. Mine is at 192.168.1.73 on my local area network.
Tip: To find your printer’s IP address, press and hold the button with an icon of a sheet of paper with a down arrow on it. This will print the “Self Test / Device Configuration” sheet which shows under “Network information” the “IPv4 Address”.
Next, enter that IP address in a web browser address bar and hit enter to take you to the HP LaserJet Professional P1606dn network settings page.
Well, lo and behold, under the Settings tab there is a section called Paper Handling, and the Duplex option was set to Off. Changing it back to On fixed things for me.
HP P1606dn network settings
At least, it did for the first document. I then discovered that (again for another mysterious reason) the next document’s paper settings were blank. Setting it to A4 restored the option to print double-sided.
So, in summary:
Check settings (Control Panel > Devices and Printers > Right-click the printer and select Printer Properties > Device Settings tab).
Connect to the printer settings via the network.
Make sure the print dialog shows the correct paper size.
At least, that’s what fixed it for me.
Update 1
Sunday 24 July 2016
I’ve come across the same issue today, but this time I’m not connected to a network, the printer is connected via USB.
To resolve this — I had a couple of Word documents that would only offer the ability to print duplex (double-sided) manually — I changed the page size to anything and then back to A4 and then made sure the margins were set to normal or wide, as I noticed that the document margins were oddly small.
Sunday 31 January 2021
Following kind feedback from a visitor, I have added information about how to find your printer’s IP address and then use that IP address in a web browser to access the printer’s network settings.
Update 2
Tuesday 7 November 2023
I’ve come across the same issue again today, but this time, I went into Printer Properties in the Word print preview dialog and under “Finishing” I noticed that the “Print On Both Sides” checkbox had been unchecked.
Checking the “Print On Both Sides” checkbox resolved this for me.
I have now completely rewritten this code and turned it into a plugin called Rename Divi Projects which is available to buy on the Divi Marketplace for use on unlimited sites for USD $11.
I’m currently building a website for a friend, using the Divi theme from Elegant Themes. The website is for a holiday property letting company. This post explains how I changed the built-in Projects content type to Properties, and how you can change it to anything you want.
The problem
Divi is a great theme to use: it’s very flexible, it’s responsive (so it works equally well on smartphones as well as huge desktop monitors), and it has the easiest, drag-and-drop editor that I’ve ever used for WordPress.
Divi comes with a built in content type called Projects; WordPress calls them ‘custom post types’. I use this content type on my own website to list the various projects that I’ve been involved in over the years.
As you can see from the WordPress admin menu ‘Projects’ appears on the list beneath Posts, Media, Pages, and Comments:
WordPress menu with Divi installed
Divi also ships with a number of attractive ways to display your projects using its Portfolio and Filtered Portfolio modules. You can even display these full-width or as a grid, such as this:
Demo of Divi’s Filtered Portfolio module displayed as a grid.
These are exactly the features that I’d like to use on the property letting website:
Keep properties separate from pages and posts, using a custom post type.
Display all properties in a grid.
Allow users to filter properties based on the categories that are assigned to them.
So, I want all the features of Divi’s built-in Projects custom post type, but I don’t want them to be called Projects. I want them to be called Properties.
Use a child theme
First, I strongly recommend that you use a child theme when customising Divi (or indeed any other WordPress theme). A child theme inherits the functionality and styling of another theme, called the parent theme, and allows you to make local customisations to it which will not be overwritten when the theme updates.
I copied the code, added it to the functions.php file in my child theme, and set about editing it.
remove_action / add_action
In a nutshell the code from Elegant Tweaks does two things:
It defines a new function — called child_et_pb_register_posttypes() — that will redefine the characteristics of the Projects content type.
It removes the default Projects custom post type contained in Divi, and replaces it with our one in the child theme.
This last point, I believe, is simply to be tidy: rather than clumsily overwriting the existing ‘project’ custom post type it gracefully removes the old one, and creates a redefined version in its place.
Labels
In that Elegant Themes post the author was only concerned with changing the URL from /projects/ to /photos/. So in his example, the names used in the WordPress admin screens still referred to projects: Edit Project, Add New Project, etc. But I want to change these too.
In the code for a custom post type these are referred to as ‘labels’ and are defined in the $labels array. This is what my code looks like now:
As you can see, something I find useful is to list the elements alphabetically. Personally, I find it easier to work this way; your mileage may vary.
Obviously, if you are customising this for your own requirements simply edit this to reflect your needs.
Custom post type options
Next, we define the arguments to be passed to the register_post_type function. These define not only how the custom post type is used but also how it is displayed in the WordPress admin menu: where it sits and what icon it uses.
Slug
The most important option here, for our purpose of customising it, is the 'slug' key. You must set its value (in single quotes) to whatever you need it to be. In my case 'slug' => 'property'. I’ve highlighted this in the snippet below.
Just make sure you don’t set the slug to the same name as an existing page.
Menu icon and position
One useful new addition to the code provided by Elegant Tweaks are the options to set the menu icon and where it sits on the menu.
As these are properties I decided to use the home dashicon.
dashicons-admin-home
I also decided to move it up a bit, from beneath Comments to immediately below Posts. WordPress uses numbers to specify where custom post types should sit, e.g.
5 — below Posts (this is where I want it to appear)
This tells WordPress to apply all of these options to the ‘project’ custom post type.
Because we are redefining this existing custom post type (by changing the URL, the menu labels, the menu icon and position) it means that everything else (the default project page layouts and portfolio modules) will work as expected without any further customization.
Categories and tags
The rest of the code I left untouched. This code defines the categories and tags to be used with the projects/properties custom post type.
How it looks now
Adding all the code (see below for the complete script) this is what my WordPress admin menu looks like:
Divi theme now with Properties instead of Projects
That’s now working as I expect it. Job done.
Complete code
Here is the full code that I have in my child theme’s functions.php file:
Like many things on my blog I’m primarily putting it here for my own reference, but if you find it useful — or would like to suggest improvements or additional features — please leave a comment below.
I meant to say this in the article above. Sometimes WordPress gets a bit muddled when you play around with custom post types.
The way to fix this is to go to Settings > Permalinks > Save Changes.
That’s enough to flush the permalinks and your custom post type should work. I had to do that a couple of times while figuring out how to do this.
Update 2: Plugin discovery
Monday 20 April 2015
A few days ago I discovered this plugin: Divi Page Building for Custom Content Types.
This plugin allows you to use the Divi builder for Posts, or indeed any custom post type.
Update 3: Fix for Divi 2.5
Saturday 26 September 2015
I’ve now (finally) updated the code to make it work fully in Divi 2.5.
In the end it was quite simple: the add_action(...) and remove_action(...) priorities were wrong in my code. These tell WordPress in which order actions should be executed.
In my previous code I was instructing WordPress to unload the default Divi project custom post type before it had even been defined.
The default priority value is 10; I’d set mine to 0 and 1, respectively.
A huge thank you to Craig Campbell for his excellent Chrome Logger extension and ChromePHP class — two tools that greatly helped me work out what was going on.
In May 2011 a new law came into effect across the European Union that affects probably around 90% of all websites. The UK government has given UK website owners a year (so, until May 2012) to get up to speed with the legislation and do something about it. The law is to do with how cookies are used.
What is a cookie?
In Web-speak, a cookie is a simple text file that stores information about websites you’ve visited. They can be used for lots of thing, such as for the browser to remember that you are already logged into that website, to store items in a shopping cart on a commerce website, or user preferences on another site.
My main browser (Google Chrome) reports that it has stored 3722 cookies from 1374 web domains.
A cookie for a particular site can only be written to and read by that website. So, Facebook cannot read cookies created by Google websites, and Google websites cannot read cookies created by Facebook.
The worry is, however, that spyware software could potentially access these cookies—they are simple, easily read text files after all—and gain all sorts of information about you, such as browsing habits, personal details, etc. And it seems to be this that the legislation is aiming to address.
The issue
Over the next few months I’m going to have to get my head around this legislation, both for my own websites and for the University of St Andrews website. There has been some interesting and useful discussions about it on various JISC-run inter-university email discussion groups.
My main concern is that this doesn’t ruin the user experience. It’s going to be very, very annoying if you require to give consent to every single website before you can meaningfully use it. My fear is that it’s going to become the Web equivalent of the User Account Control (UAC) nightmare that Windows Vista introduced.
Update
Thursday 5 January
Last night’s post was a bit rushed. I didn’t expand it quite as much as I’d have liked but I was tired and I just wanted to get to bed!
Ironically, I kept waking up during the night thinking about it. At one point Jane was awake so I talked it through with her. She has to put up with that kind of thing from me all the time, poor girl!
Anyway, this morning I got three replies on Twitter:
Surely new cookie guidelines are sensible? Happy to chat about this.
The sad fact is, it puts EU based sites/companies at a disadvantage vs those in the rest of the world.
In intent, sensible. In execution, I’m with @garethjms – stupid. Can only see negatives for UX.
And a couple of comments below (which I’ve only just approved). A nice balance of for and against. I look forward to getting my head around this and posting more about it, here and on my professional blogs.
This week I updated my Blueprint CSS framework cheat sheet for Blueprint v.1.0.1 which was released last month.
Changes
I mostly fixed a few typos, and added the new features that the latest version of the framework added: mostly HTML5 input attributes. I made the following changes:
NEW—FORMS Added new HTML5 input attributes: email and url.
NEW—IE FIXES Added IE8#HACK.
FIX—FLOAT CLASSES p .left and p .right was showing the margins only for p .left.
FIX—Page 2 was showing a completely different version number from page 1.
CHANGE—Updated the list of URLs on page 2, removing one that is now redundant.
It’s released under a Creative Commons Attribution-ShareAlike 2.5 UK license so feel free to use it, adapt it, whatever… The source document (in Microsoft Publisher 2010 format) is available on the site too.
I own a DigiTech GNX2 guitar multi-effect processor, or “Guitar WorkStation” as DigiTech called it. Although it’s a few years old now—I bought it probably around six years ago—it’s still a really nice piece of kit.
One of the things that attracted me to this particular pedal, which I bought to replace a DigiTech RP6 that died on me a few hours before a gig, was that it promised to connect to my PC via MIDI.
Well, I’m delighted to report that the DigiTech GNX2 still connects to my PC running Windows 7 Professional (32-bit). The trick is to right-click the shortcut icon, select Properties and on the Compatibility tab select “Run this program in compatibility mode for Windows XP (Service Pack 3)“.
As soon as I did that I saw this:
DigiTech GenEdit 1.6a
In the past I’ve found GenEdit 1.61a really useful as it allows you make adjustments to user presets while sitting at my desk, guitar on my knee, rather than hunched over a floor pedal twiddling the small controls on the “guitar workstation”.
Update
I switched on my DigiTech GNX2 this morning for the first time in a couple of years, to be honest (we’ve had twins, you know!) and … the presets kept randomly ‘flickering’ between one and the next.
So, for example, I’d be on factory preset #1 and while playing the GNX2 would quickly switch to factory preset #2 and then back to #1. Repeat.
My heart sank. I was really looking forward to getting back into playing, until baby #3 arrives and I’ll have to put it on hold for another couple of years.
However, a quick factory reset later and all appears to be well so far.
And what has this to do with GenEdit? I backed-up all my custom user presets via MIDI in about a minute. Something that would have taken me hours to do with my old DigiTech RP6 as I would have had to manually scroll through each preset and write down all the settings. Genius!
Download GenEdit 1.61a
A few people have said that they can no longer find GenEdit 1.61a for download. You can download it here from my Dropbox.