Showing posts with label themagpi. Show all posts
Showing posts with label themagpi. Show all posts

Friday, August 23, 2013

Raspberry Pi (POD) Print On Demand
Book Making with Duck Tape

It has been my secret desire to be a book maker. I always look with jealousy the video of a book maker machine. Those cost about $4500. Obviously, it's not something I can afford on personal basis. How about a professional basis? Unless I have a thriving business for Print-On-Demand, I can't justify it.

Well, I have a laser printer, a Raspberry Pi that is connected to it, a big stapler, and of course, a big roll of Duck Tape. I'm ready to roll, baby!

The first thing to do, of course, is to print the document. Here I'm printing MagPi magazines, because I missed the window of Kickstarter for printed copies. I'm printing them on one side because I'm anticipating writing notes on the other side. 

The laser printer doesn't print duplex. It does have a duplex printing system by printing odd pages first, then you're supposed to feed the paper back into the tray and print the other side. It doesn't work that well, because the paper print well on first run, but will have misfeed on the second run.

The printer also defaults to A4, for some reason, so I did a command to scale it down to 96%.

lp -o scaling=96 filename

For some reason, xpdf does a segmentation fault every time it tried to print. Oh, well. Also, TheMagPi #8 has some kind of problem. I keep getting SpliX error. In the end, I used a Windows box to print it.



Did I mention I have a big stapler? Look at those printed pages! I'm using 26 lbs laser printer paper, not the cheap multi-purpose paper. Those are rather hefty! I was going to just print the relevant articles, but it turns out there's a lot more interesting articles than skip articles. In the end, it's faster to just print them all out.


Yup, the big stapler comes in handy! The staples is designed to staple 120 sheets of paper. Not a problem with this one! Three magazine in one go!



And to keep things neat: the Duck tape. After I have done this, it occurred to me that I should have printer the cover in cardstock paper. Well, I forgot I have some. Oh, well. Maybe next time.



Laser printer are cheap nowadays. In fact, some of the cheap ones are duplex, now. I have a Brother inkjet printer that is duplex printing. Very neat! 

The Raspberry Pi does the job as POD printer well, as you can see. Say $250 for a laser printer, $50 for various knick-knacks, $50 for a complete Raspberry Pi, and you can have your very own POD system for less than $350. The drawback is that you have to bind the book manually, but for something that cost about 10% of the professional model, I think that's a great deal.


Sunday, August 4, 2013

TheMagPi #8 has bad PDF format?


So, I was printing out TheMagPi magazine pdf files because, silly me, I didn't get the Kickstarter printed magazine offer. I can tell you that those books printed out thick! I bound three of them with staples. Interestingly, the Raspberry Pi went 100% CPU mode for quite a long time. Apparently, the codec or whatever is a complicated version. There was a time where I forgot to connect the printer, and it printed the pages one after another with no waiting, so I know it's not the printer. The bottleneck lies with RasPi!

The interesting about it is that on PDF#8 wouldn't print. Not even one page! I checked out the printer status on 127.0.0.1:631 and it said: "SpliX Cannot open job"

Huh? What exactly is SpliX? I know lp uses GhostScript, but SpliX? And only on number 8. The rest of the PDF printed out just fine. In the end, I had to use my Windows machine to print out TheMagPi #8. So, the problem isn't solved.

By the way, I'm using the command line lp because xpdf went into Segmentation fault every time it tried to print. Very disappointing. It took me a while to note that the printer defaults to A4 size, instead of US Letter size like I wanted. In the end, I scaled the page to 96% of the original size to good result.

lp -o scaling=96 filename