"Printable" comics

Need the mods or admins to do something for you? Post here. Read the "About" post first.

Moderators: Moderators General, Magistrates, Prelates

"Printable" comics

Postby Se7enLC » Fri Jul 20, 2007 12:52 pm UTC

I wanted to print out todays comic and post it on the door of my office. I noticed that the comics don't have any kind of title or anything to reference xkcd, which makes me a little sad for anybody that walks by and reads the comic and wants to know where it came from.

I have a suggestion to add to the website. A link for a "printable" version. It shows the comic image, with mention of xkcd and/or xkcd.com, and possibly even the comic title. (this is instead of printing out the entire webpage, which would look a little silly on the wall)

Thoughts?
Se7enLC
 
Posts: 8
Joined: Fri Jul 20, 2007 12:49 pm UTC
Location: Brighton, MA

Postby OmenPigeon » Fri Jul 20, 2007 1:12 pm UTC

Or you could *gasp* write "from xkcd.com" onto the printout yourself. I know, this is tricky, but I'm here to help, with three easy-to-follow guides.

The 'Handmade with Love' Style:
1: Print the comic
2: Get a pen
2a: This may be in a drawer
3: Write "xkcd.com" somewhere on the printed comic
3a: Don't write over any of the pictures

The 'Look, Ma, I Can Use Paint' Style:
1: Download the comic image
2: Download the site logo
2a: This is the thing in the lop left corner of the forum pages
3: Open the comic in an image editing program
3a: It's the thing in Start > Accessories > Paint
4: Open the logo in the same program
5: Resize the logo, and put it in a corner
6: Print

The 'Hey, Now I'm Actually Useful' Style
1: Learn Python
2: Download the PIL
3: Write a script that can automatically download any (or all) of the comics and then add the logo to a corner of them
4: Post it in the 'Coding' subforum
5: Print one of the comics you've magically created with your newfound haxxor skillz.

Now you can become a productive member of society, along with carpenters and mechanical engineers and those cool bacteria that eat spilled oil.
As long as I am alive and well I will continue to feel strongly about prose style, to love the surface of the earth, and to take pleasure in scraps of useless information.
~ George Orwell
User avatar
OmenPigeon
Peddler of Gossamer Lies
 
Posts: 671
Joined: Mon Sep 25, 2006 6:08 am UTC

Postby Bakemaster » Fri Jul 20, 2007 2:13 pm UTC

Omen wins the coveted Bitchy Cup this month, I think.
Image
c0 = 2.13085531 × 1014 smoots per fortnight
"Apparently you can't summon an alternate timeline clone of your inner demon, guys! Remember that." —Noc
User avatar
Bakemaster
pretty nice future dick
 
Posts: 8532
Joined: Fri Jul 06, 2007 2:33 pm UTC
Location: tinyurl.com/dybqlp

Postby Azrael » Fri Jul 20, 2007 2:14 pm UTC

OmenPigeon wrote:Now you can become a productive member of society, along with carpenters and mechanical engineers and those cool bacteria that eat spilled oil.


HOT DAMN! 3 for 3 on that one.

I'm awesome!
Image
User avatar
Azrael
Unintentionally Intoxicated
 
Posts: 5780
Joined: Thu Apr 26, 2007 1:16 am UTC
Location: Boston

Postby RealGrouchy » Fri Jul 20, 2007 2:45 pm UTC

Bakemaster wrote:Omen wins the coveted Bitchy Cup this month, I think.

The grouchy mod agrees, and approves of Omen's post.

- RG>
Jack Saladin wrote:etc., lock'd
Mighty Jalapeno wrote:At least he has the decency to REMOVE THE GAP BETWEEN HIS QUOTES....
Sungura wrote:I don't really miss him. At all. He was pretty grouchy.
User avatar
RealGrouchy
Nobody Misses Me As Much As Meaux.
 
Posts: 6691
Joined: Thu May 18, 2006 7:17 am UTC
Location: Ottawa, Ontario, Canada

Postby OmenPigeon » Fri Jul 20, 2007 6:00 pm UTC

Aw, shucks. You shouldn'a.

And sorry, se7enLC, if I was mean. Which I guess I was. But c'mon, dude, your problem can be adequately addressed with a sharpie, or even a ballpoint pen. Take some initiative.
As long as I am alive and well I will continue to feel strongly about prose style, to love the surface of the earth, and to take pleasure in scraps of useless information.
~ George Orwell
User avatar
OmenPigeon
Peddler of Gossamer Lies
 
Posts: 671
Joined: Mon Sep 25, 2006 6:08 am UTC

Postby mosc » Fri Jul 20, 2007 9:18 pm UTC

I printed this one out as well. My browser puts the URL on the page though so I feel it's properly linked to xkcd
User avatar
mosc
Doesn't care what you think.
 
Posts: 4959
Joined: Fri May 11, 2007 3:03 pm UTC

Postby Se7enLC » Wed Jul 25, 2007 1:36 pm UTC

Wow, harsh. OBVIOUSLY I could just write on the comic, or hell, I could just not bother at all (which is what I did) since surely everyone at my office reads xkcd.

I was just posting a suggestion for something that would be ridiculously easy to add to the page and would add a lot of useful function for other people who want to print out a comic and have a nice advertisement for xkcd.

Sure, I could write up a quick snippet of code which downloads the image and throws some words next to it on a static HTML page (why bother editing the image, it's just going to be printed anyway). The truth is, nobody would use it unless it was a "print me" link from the webpage. The code I write will not be all that portable since whatever backend generates the content on xkcd.com is surely different than wgetting an image like I would end up doing.

But actually, now that I'm thinking about it, it might be cool to have it generate PDFs that have multiple comics per page so that you could print out an xkcd coffeetable book.....hmmm
Se7enLC
 
Posts: 8
Joined: Fri Jul 20, 2007 12:49 pm UTC
Location: Brighton, MA

Postby Hammer » Wed Jul 25, 2007 1:38 pm UTC

Se7enLC wrote:I was just posting a suggestion for something that would be ridiculously easy to add to the page and would add a lot of useful function for other people who want to print out a comic and have a nice advertisement for xkcd.

On another note, has anyone else noticed the phenomenon whereby anything that some other programmer has to implement is "ridiculously easy"? [/non sequiter]
"What's wrong with you mathematicians? Cake is never a problem."
User avatar
Hammer
Because all of you look like nails.
 
Posts: 5486
Joined: Thu May 03, 2007 7:32 pm UTC

Postby Bakemaster » Wed Jul 25, 2007 6:58 pm UTC

Your mom would be ridiculously easy. To implement. With... with scripts.
Image
c0 = 2.13085531 × 1014 smoots per fortnight
"Apparently you can't summon an alternate timeline clone of your inner demon, guys! Remember that." —Noc
User avatar
Bakemaster
pretty nice future dick
 
Posts: 8532
Joined: Fri Jul 06, 2007 2:33 pm UTC
Location: tinyurl.com/dybqlp

Postby RealGrouchy » Wed Jul 25, 2007 10:11 pm UTC

Hammer wrote:On another note, has anyone else noticed the phenomenon whereby anything that some other programmer has to implement is "ridiculously easy"? [/non sequiter]

I haven't noticed that, but it would be ridiculously easy to implement a script to find out how popular it is getting.

Bakemaster wrote:Your mom would be ridiculously easy. To implement. With... with scripts.

Nice. You really got Hammer there, Bakemaster.

(yes... there were never any intermediate posts there... :twisted: )

- RG>
Jack Saladin wrote:etc., lock'd
Mighty Jalapeno wrote:At least he has the decency to REMOVE THE GAP BETWEEN HIS QUOTES....
Sungura wrote:I don't really miss him. At all. He was pretty grouchy.
User avatar
RealGrouchy
Nobody Misses Me As Much As Meaux.
 
Posts: 6691
Joined: Thu May 18, 2006 7:17 am UTC
Location: Ottawa, Ontario, Canada

Postby Bakemaster » Thu Jul 26, 2007 1:31 am UTC

These are not the edits you're looking for, eh?
Image
c0 = 2.13085531 × 1014 smoots per fortnight
"Apparently you can't summon an alternate timeline clone of your inner demon, guys! Remember that." —Noc
User avatar
Bakemaster
pretty nice future dick
 
Posts: 8532
Joined: Fri Jul 06, 2007 2:33 pm UTC
Location: tinyurl.com/dybqlp

Postby Se7enLC » Thu Jul 26, 2007 4:30 pm UTC

I hate you guys so much.

http://www.mit.edu/~je18337/greasemonkey/xkcdprintable.user.js

(add ?print to the end of a URL to get the printable version. Some problems with larger images, but for the most part they look good.)
Se7enLC
 
Posts: 8
Joined: Fri Jul 20, 2007 12:49 pm UTC
Location: Brighton, MA

Postby RealGrouchy » Thu Jul 26, 2007 5:18 pm UTC

Ah, triumph through adversity.

Good work. You passed the first test.

- RG>
Jack Saladin wrote:etc., lock'd
Mighty Jalapeno wrote:At least he has the decency to REMOVE THE GAP BETWEEN HIS QUOTES....
Sungura wrote:I don't really miss him. At all. He was pretty grouchy.
User avatar
RealGrouchy
Nobody Misses Me As Much As Meaux.
 
Posts: 6691
Joined: Thu May 18, 2006 7:17 am UTC
Location: Ottawa, Ontario, Canada

Postby Belial » Thu Jul 26, 2007 5:20 pm UTC

The second test is where RG whips you with lobsters.
TG: the glittering civilization before you was built on angry apefuck power alone
TG: stand agog and marvel bitch
User avatar
Belial
Ugh. I have bigot-juice all over me
 
Posts: 29493
Joined: Sat Apr 15, 2006 4:04 am UTC

Postby MFHodge » Thu Jul 26, 2007 5:22 pm UTC

Se7enLC wrote:I hate you guys so much.

http://www.mit.edu/~je18337/greasemonkey/xkcdprintable.user.js

(add ?print to the end of a URL to get the printable version. Some problems with larger images, but for the most part they look good.)

. . . but was it ridiculously easy?
Image
User avatar
MFHodge
 
Posts: 4244
Joined: Thu Apr 19, 2007 6:27 pm UTC
Location: :noitacoL Raleigh, NC

Postby Bakemaster » Fri Jul 27, 2007 4:53 am UTC

Belial wrote:The second test is where RG whips you with lobsters.

And the third test is vice versa.

No one survives the third test.
Image
c0 = 2.13085531 × 1014 smoots per fortnight
"Apparently you can't summon an alternate timeline clone of your inner demon, guys! Remember that." —Noc
User avatar
Bakemaster
pretty nice future dick
 
Posts: 8532
Joined: Fri Jul 06, 2007 2:33 pm UTC
Location: tinyurl.com/dybqlp

Postby RealGrouchy » Fri Jul 27, 2007 5:17 am UTC

Hey, I survive the third test all the time, despite the fact that lobsters are whipping people with me!

- RG>
Jack Saladin wrote:etc., lock'd
Mighty Jalapeno wrote:At least he has the decency to REMOVE THE GAP BETWEEN HIS QUOTES....
Sungura wrote:I don't really miss him. At all. He was pretty grouchy.
User avatar
RealGrouchy
Nobody Misses Me As Much As Meaux.
 
Posts: 6691
Joined: Thu May 18, 2006 7:17 am UTC
Location: Ottawa, Ontario, Canada

Postby AnimanFan » Wed Aug 15, 2007 7:49 pm UTC

Along the similar lines, it would be nice if the site has a media=print CSS for the comics. Currently the CSS is set for media=screen, which drops all CSS completely when printing and makes the printout three pages long. With a CSS made for printing, we can save some trees. :D

I'd do it myself, but I wanted to at least start with the request before I put work into it.
AnimanFan
 
Posts: 2
Joined: Wed Aug 15, 2007 7:41 pm UTC
Location: San Rafael, CA

Postby davean » Wed Aug 15, 2007 9:06 pm UTC

AnimanFan wrote:Along the similar lines, it would be nice if the site has a media=print CSS for the comics. Currently the CSS is set for media=screen, which drops all CSS completely when printing and makes the printout three pages long. With a CSS made for printing, we can save some trees. :D

I'd do it myself, but I wanted to at least start with the request before I put work into it.


If you want to submit one, we can work with you to get it included if it is good. I have other things taking precedence ATM though. (and I'm not a web designer).

What I'm saying is, if you make a good one, we can give you feed back, and if it works out, well just add it as an available CSS file.
User avatar
davean
Site Ninja
 
Posts: 2411
Joined: Sat Apr 08, 2006 7:50 am UTC

Postby AnimanFan » Wed Aug 15, 2007 9:13 pm UTC

davean wrote:What I'm saying is, if you make a good one, we can give you feed back, and if it works out, well just add it as an available CSS file.

I figured this would be the case, but I wanted to see if I could pass the buck first.

Busy few days for me, but let's see if I can get this done in a week. Would you mind if I stage a few demo pages on my web server for feedback? When I get something running I'll make a new thread for public reducible.
AnimanFan
 
Posts: 2
Joined: Wed Aug 15, 2007 7:41 pm UTC
Location: San Rafael, CA

Postby davean » Wed Aug 15, 2007 9:45 pm UTC

Sure go ahead. Other times of the year I'd handle it, but if you want to see it done quickly ATM, it is in your hands.
User avatar
davean
Site Ninja
 
Posts: 2411
Joined: Sat Apr 08, 2006 7:50 am UTC

Printable CSS

Postby AdamLenda » Fri Feb 01, 2008 7:53 pm UTC

I just wanted to ask you to, or offer to do myself, a printable CSS for your comic.

I know I often want to save the art and the image title has to be fished out of the source each time. So I thought it wold be cool to do a printable CSS so that you're fans that want to post your work in the office (like I often do) can just send it off to the printer and get something along the lines of:

<centered Comic title>
<centered comic # / date>
<comic image>
<img tag title as centered script below>
<centered URL>

Little bit of marketing for you, and a convenience for us. Sounds fair right?

--Adam Lenda
AdamLenda
 
Posts: 3
Joined: Fri Feb 01, 2008 7:44 pm UTC

Re: Printable CSS

Postby bavardage » Fri Feb 01, 2008 11:45 pm UTC

<link rel="stylesheet" media="print" href="stylesheetForPrinty.css" type="text/css" />

The stylesheet along the lines of:
elements, you, do, not, want {
display: none;
}
'It can't be software incompatibility - the Trodden Spiral was designed for concentric rings, idiot ...'
User avatar
bavardage
 
Posts: 253
Joined: Sun Apr 15, 2007 11:38 pm UTC

Re: Printable CSS

Postby tendays » Sat Feb 02, 2008 5:36 pm UTC

He was not asking how to make such a style sheet, he was suggesting xkcd.com should have one. Unfortunately, from what I've seen, xkcd doesn't visit the fora that much and will probably not see that suggestion...

EDIT: Making a script to convert a comic page into a printable page should not be too difficult, though, and it doesn't require xkcd's cooperation...
<Will> s/hate/love/
Hammer wrote:We are only mildly modly. :D
Beware of the shrolymerase!
User avatar
tendays
 
Posts: 945
Joined: Sat Feb 17, 2007 6:21 pm UTC
Location: INDIA

Re: Printable CSS

Postby AdamLenda » Sat Feb 02, 2008 7:38 pm UTC

Thanks for pointing that out Tendays.

I was about to write one yesterday when I saw the real programmers comic. It was just going to be a ruby http scraper that would regex the right elements into a striped down html file, and then drop them in a xkcd archives directory. Then it dawned on me that other's having the same problem might not be as html/programming savy and so distributing my little script would be problematic.

Therefore, I thought I might suggest a printable css, and see how many other readers were interested.
Hopefully, we can get enough bumps on this thread to get some attention. :D

Hell, I'll even write it for him if he'll agree, ahead of time, to use it.

--Adam
AdamLenda
 
Posts: 3
Joined: Fri Feb 01, 2008 7:44 pm UTC

Re: Printable CSS

Postby wing » Sat Feb 02, 2008 8:33 pm UTC

Davean does the site coding, and because of the way the existing site CSS is structured, it would require extensive changes to what already exists. I know, because when I first read this thread, I dumped a copy of the main page and tried to do a print-mode CSS. Basically, it's tough as hell to get rid of the bottom matter without also deleting critical pieces.
I AM A SEXY, SHOELESS GOD OF WAR!
Akula wrote:Our team has turned into this hate-fueled juggernaut of profit. It's goddamn wonderful.
User avatar
wing
the /b/slayer
 
Posts: 1876
Joined: Tue May 29, 2007 5:56 am UTC

Re: Printable CSS

Postby carr » Sun Feb 03, 2008 1:12 am UTC

May I suggest the greasemonkey script that already exists to create printable copies of the comic?
User avatar
carr
 
Posts: 69
Joined: Mon May 21, 2007 9:17 pm UTC

Re: Printable CSS

Postby AdamLenda » Sun Feb 03, 2008 1:15 am UTC

That'll work. Could you point me in a direction to get that script?
AdamLenda
 
Posts: 3
Joined: Fri Feb 01, 2008 7:44 pm UTC

Re: Printable CSS

Postby OmenPigeon » Sun Feb 03, 2008 1:24 am UTC

When in doubt, point yourself towards Google.

http://www.google.com/search?hl=en&q=xkcd%20greasemonkey
As long as I am alive and well I will continue to feel strongly about prose style, to love the surface of the earth, and to take pleasure in scraps of useless information.
~ George Orwell
User avatar
OmenPigeon
Peddler of Gossamer Lies
 
Posts: 671
Joined: Mon Sep 25, 2006 6:08 am UTC

Re: Printable CSS

Postby bavardage » Sun Feb 03, 2008 1:56 pm UTC

:P I feel rather stupid now. Was thinking you were wanting how to make one.
'It can't be software incompatibility - the Trodden Spiral was designed for concentric rings, idiot ...'
User avatar
bavardage
 
Posts: 253
Joined: Sun Apr 15, 2007 11:38 pm UTC

Re: "Printable" comics

Postby dennisw » Fri Dec 12, 2008 9:13 pm UTC

Give my Printifier a try.
User avatar
dennisw
 
Posts: 438
Joined: Wed Nov 05, 2008 9:09 am UTC
Location: Appearing pro se AND pro bono!

Re: "Printable" comics

Postby RealGrouchy » Fri Dec 12, 2008 10:36 pm UTC

dennisw wrote:Give my Printifier a try.
Simple, elegant, and doesn't require 3rd party software (i.e. greasemonkey).

Kudos.

- RG>
Jack Saladin wrote:etc., lock'd
Mighty Jalapeno wrote:At least he has the decency to REMOVE THE GAP BETWEEN HIS QUOTES....
Sungura wrote:I don't really miss him. At all. He was pretty grouchy.
User avatar
RealGrouchy
Nobody Misses Me As Much As Meaux.
 
Posts: 6691
Joined: Thu May 18, 2006 7:17 am UTC
Location: Ottawa, Ontario, Canada

Re: "Printable" comics

Postby dennisw » Sat Dec 13, 2008 9:41 am UTC

dennisw wrote:Give my Printifier a try.


I have added the logo as* suggested in an earlier message above.

* For "in my own way" values of "as". :wink:
Try the Printifier for xkcd. You can now scale the comic between 50 and 150%.

I find these very useful: Common Errors in English Usage (web site) and Eats, Shoots & Leaves (book). You may, too.

e pluribus unum
Unleash unlicensed ungulates!
User avatar
dennisw
 
Posts: 438
Joined: Wed Nov 05, 2008 9:09 am UTC
Location: Appearing pro se AND pro bono!

Re: "Printable" comics

Postby phantomOmega » Thu Dec 25, 2008 3:40 am UTC

Dennis, if you were to set up your code to allow the GET requests instead of just POST, it would be trivial to make a Greasemonkey script to automatically make a print link on the XKCD page. It might be possible anyway, but my experience with forms and Greasemonkey is limited.

My minimal testing with Firebug indicates that GET doesn't work... Perhaps I'm just doing something wrong?
GENERATION 21: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.
phantomOmega
 
Posts: 16
Joined: Thu Sep 04, 2008 1:47 am UTC


Return to Site/Forum issues

Who is online

Users browsing this forum: shealtket and 6 guests