I then clicked
Reprint Job underneath
Control, and my job printed again.
But I still wasn’t satisfied. That still wasn’t the printer that I really wanted, and I also wanted to have a PDF of the music. So I dove back into the CUPS documentation and found where CUPS stores its jobs. Let’s take a look:
You’ll notice a lot of files in this directory that start with a
c00 is this directory. These are old print job listings, and are useless to us. However, CUPS does save the last printed job in a file starting with
d00. Note that this file should have the same number as the job you saw in your browser. Mine was
113, so the file was
Then I took this file and copied it over to the desktop (
cp d00113-001 ~/Desktop), then
cded back into the desktop.
Here is where it gets a little confusing. I had this file, but had no idea what format it was in, so that I could convert it into a PDF. Eventually I found out that this is a PostScript file with the raw data needed to print the pages. So I googled and found this StackOverflow answer about converting a PostScript file to a PDF. Please give that answer an upvote if you found this useful.
Here I’ve put the command needed to convert the file. Make sure to replace the arguments after
-o (output file) and
-f (input file) with your arguments.
This leaves me with a high quality (and printable!) PDF of my music that I can look at wherever I like. Take that, sheet music company!
Next post: Hand on Fire