+ 13

[python] Unable to Initialize Prn device

Hi, I really need your help guys, I started a few weeks ago to learn python 2.2.7 with "learn python the hard way" and I m getting errors in powershell since exercise 4, everything was working fine before. I am a bit lost, it tell me "Unable to initialize prn device" every time I try the "print" command Unfortunately nothing helped me in Google I tried to rename the name of exercice, trying to switch default printers (pdf and XML)..I gave up but since I know SoloLearn I wonder if someone can bring light

17th Apr 2018, 11:32 AM
Randomness
Randomness - avatar
8 Respostas
+ 6
use 3.6 version of python better for you.
17th Apr 2018, 3:41 PM
Maninder $ingh
Maninder $ingh - avatar
+ 5
Okay, thank you, I ll try
17th Apr 2018, 7:35 PM
Randomness
Randomness - avatar
+ 4
Yep you right that must be this, I ll try to figure it out. It certainly a stupid little thing I didn't thought yet
19th Apr 2018, 10:57 PM
Randomness
Randomness - avatar
+ 4
Yes I switched to the last version available yesterday , it's now working. Thanks :)
24th May 2018, 2:05 AM
Randomness
Randomness - avatar
+ 3
I think you got these error. Short for PRiNter, PRN is the name MS-DOS assigns to the first parallel port. For example, MS-DOS may report the following error message: "Not Ready Writing Device PRN. ... if MS-DOS is unable to access or send information to the printer port.
18th Apr 2018, 1:02 AM
Maninder $ingh
Maninder $ingh - avatar
+ 3
i got the same with python3.9
21st Oct 2020, 4:40 AM
Abrar Labib
Abrar Labib - avatar
+ 1
Try upgrading the version of python you're using
23rd May 2018, 10:55 PM
Igboasia Stephen K
Igboasia Stephen K - avatar
0
I got the same problem in cmd , first we need to enter in python by typing python then type & run code it helped me out 😀...
13th Jul 2023, 8:50 PM
selmon bhoi
selmon bhoi - avatar