Dealing with the dreaded “The printer is out of paper” or ERROR_OUT_OF_PAPER Error on Windows ;)

Caution: This is just a fun post. :D

I was performing some testing on Windows the other day and encountered the following error in the error log:

130313  9:40:03 [ERROR] Error writing file 'G:\mysql\log.txt' (errno: 28)

Quickly, I ran “perror 28″ from the command line:

c:\>perror 28
Win32 error code 28: The printer is out of paper.

Hehe, really, Windows?!?

In fact, the drive was out of space. No more could be written to the general log, hence the error.

Fwiw, the Linux OS code 28 reports what you would expect:

OS error code  28:  No space left on device

So, if you ever run into “The printer is out of paper” error, you’ll know what to do. ;)

 

Tags: , , , , , , , ,

4 Responses to “Dealing with the dreaded “The printer is out of paper” or ERROR_OUT_OF_PAPER Error on Windows ;)”

  1. Wlad says:

    try perror.exe 4006

  2. chris says:

    Wlad, LOL!

    “Win32 error code 4006: Replication with a nonconfigured partner is not allowed.”

    Thanks :D

  3. sbester says:

    what version of perror are you using that only gives the Win32 OS code?

    D:\mysql-5.1.68-winx64\bin>perror 28
    OS error code 28: No space left on device
    Win32 error code 28: The printer is out of paper.

    D:\mysql-pro-gpl-4.1.25-win32\bin>perror 28
    OS error code 28: No space left on device

    D:\mysql-5.6.10-win32\bin>perror 28
    OS error code 28: No space left on device
    Win32 error code 28: The printer is out of paper.

  4. chris says:

    Hey Shane :)

    I see exactly what you see (from your Win 5.1 & 5.6). The full output is:

    c:\>perror 28
    Win32 error code 28: The printer is out of paper.
    OS error code 28: No space left on device

    I just separated them above for the purpose of the “fun” post. :)

    Thanks for checking though. I know you’re always on the hunt for any and all possible bugs. :)


Period Panties by Period Panteez Menstrual Underwear Menstruation PMS Panty