# Printer printing next character

**URL:** <https://boards.straightdope.com/t/printer-printing-next-character/638498>\
**Category:** Factual Questions\
**Created:** [October 22, 2012, 7:29am UTC](https://boards.straightdope.com/t/printer-printing-next-character/638498 "2012-10-22T07:29:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jragon](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jragon](https://boards.straightdope.com/u/Jragon)\
**Post date:** [October 22, 2012, 7:29am UTC](https://boards.straightdope.com/t/printer-printing-next-character/638498/1 "2012-10-22T07:29:35Z")

</div>

Okay, full disclosure, this happened at least 5 years ago on a computer and printer that are looooong gone. You will not get any information beyond what I offer in the OP because I simply don’t remember.

As far as I recall, this happened exactly twice. Both were PDFs, but other than that had no linking factors (other than having text instead of embedded pictures of course). It did **not** occur on the actual computer display, and only happened when printed – meaning it probably occurred during spooling or something.

What happened was, simply, every character was sequentially shifted to the next character, meaning A-\>B, a-\>b, c-\>d. There were no zs in the original texts, so I’m not sure what would have happened there. Does anyone have any idea what might cause an **entire document** to shift **every** character exactly one character forward when being fed to the printer?

This was on Windows XP probably, the printer was probably one of those scanner/copier/fax Canon printers, not sure on what model.

---

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [October 22, 2012, 8:20am UTC](https://boards.straightdope.com/t/printer-printing-next-character/638498/2 "2012-10-22T08:20:30Z")

</div>

Hilarious. Maybe a prank virus? JavaScript in the PDF that acted as print protection?

---

<div class="post-metadata">

**Author:** ![Jragon](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jragon](https://boards.straightdope.com/u/Jragon)\
**Post date:** [October 22, 2012, 8:33am UTC](https://boards.straightdope.com/t/printer-printing-next-character/638498/3 "2012-10-22T08:33:04Z")

</div>

Nah, one of them was a band practice sheet that I printed out monthly and it always printed correctly otherwise. In fact, when I saw what happened I printed it again and it printed fine (though I did turn in the copy with the character shift as a joke).

---

<div class="post-metadata">

**Author:** ![Mangetout](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/mangetout/32/19_2.png) [@Mangetout](https://boards.straightdope.com/u/Mangetout)\
**Post date:** [October 22, 2012, 10:46am UTC](https://boards.straightdope.com/t/printer-printing-next-character/638498/4 "2012-10-22T10:46:54Z")

</div>

Obviously those characters are consecutive in pretty much any character set, so it’s conceivable that some stray increment operation could be happening - perhaps only occurring under very odd and specific circumstances such as an unhandled stack overflow where a program (i.e. the printer driver) accidentally overwrites part of its own code in memory.

I’d expect an error of this sort to be accompanied by a random assortment of other kinds of occasional problems though - failure to print, unreadably corrupted output, etc.

---

<div class="post-metadata">

**Author:** ![Derleth](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Derleth](https://boards.straightdope.com/u/Derleth)\
**Post date:** [October 22, 2012, 6:45pm UTC](https://boards.straightdope.com/t/printer-printing-next-character/638498/5 "2012-10-22T18:45:27Z")

</div>

> [@Mangetout](#):
>
> Obviously those characters are consecutive in pretty much any character set

If it’s derived from ASCII, sure. This covers a wide range but not all of them.

---

<div class="post-metadata">

**Author:** ![Absolute](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@Absolute](https://boards.straightdope.com/u/Absolute)\
**Post date:** [October 22, 2012, 7:17pm UTC](https://boards.straightdope.com/t/printer-printing-next-character/638498/6 "2012-10-22T19:17:12Z")

</div>

> [@Derleth](#):
>
> If it’s derived from ASCII, sure. This covers a wide range but not all of them.

Even those that are not derived from ASCII still generally assign the alphabet adjacent values in alphabetical order. There’s not really a good reason to do otherwise, and doing so has several advantages.

---

<div class="post-metadata">

**Author:** ![Mangetout](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/mangetout/32/19_2.png) [@Mangetout](https://boards.straightdope.com/u/Mangetout)\
**Post date:** [October 22, 2012, 7:26pm UTC](https://boards.straightdope.com/t/printer-printing-next-character/638498/7 "2012-10-22T19:26:50Z")

</div>

> [@Derleth](#):
>
> If it’s derived from ASCII, sure. This covers a wide range but not all of them.

Sure - that’s why I said ‘pretty much any’, not ‘each and every’.

In any case, it seems highly likely that such a character set was in use in this scenario (at least at the point of failure), just because of the described symptom - consider how unlikely it would be for alphabetic output to be shifted by one and only one letter in a character set where the letters _aren’t_ consecutive - it’s possible, but it would indicate a designed error, rather than accident.

---

<div class="post-metadata">

**Author:** ![Mangetout](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/mangetout/32/19_2.png) [@Mangetout](https://boards.straightdope.com/u/Mangetout)\
**Post date:** [October 22, 2012, 7:31pm UTC](https://boards.straightdope.com/t/printer-printing-next-character/638498/8 "2012-10-22T19:31:22Z")

</div>

> [@Absolute](#):
>
> Even those that are not derived from ASCII still generally assign the alphabet adjacent values in alphabetical order. There’s not really a good reason to do otherwise, and doing so has several advantages.

I imagine those that don’t are the ones that were designed from the viewpoint of something other than the Roman 26-letter alphabet, and without any intent of being used for Western/Roman text.

---

<div class="post-metadata">

**Author:** ![Derleth](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Derleth](https://boards.straightdope.com/u/Derleth)\
**Post date:** [October 23, 2012, 6:50am UTC](https://boards.straightdope.com/t/printer-printing-next-character/638498/9 "2012-10-23T06:50:00Z")

</div>

> [@Absolute](#):
>
> Even those that are not derived from ASCII still generally assign the alphabet adjacent values in alphabetical order. There’s not really a good reason to do otherwise, and doing so has several advantages.

[Suck my EBCDIC](http://en.wikipedia.org/wiki/EBCDIC) 😃

Scroll a bit to see how the codepoints are arranged. ‘Semi-alphabetical’ is about the nicest thing you can say.

Lest you think Unicode can save you: [UTF-EBCDIC is apparently not a joke.](http://en.wikipedia.org/wiki/UTF-EBCDIC) Or, rather, it’s apparently intended for Serious Enterprise Data Processing.

---

<div class="post-metadata">

**Author:** ![Mangetout](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/mangetout/32/19_2.png) [@Mangetout](https://boards.straightdope.com/u/Mangetout)\
**Post date:** [October 23, 2012, 8:36am UTC](https://boards.straightdope.com/t/printer-printing-next-character/638498/10 "2012-10-23T08:36:26Z")

</div>

Is it likely that character encoding is a factor to the OP’s question?
