Microsoft Windows [Sürüm 6.1.7600] Telif Hakkı (c) 2009 Microsoft Corporation. Tüm hakları saklıdır. C:\Users\Ahmet>cd.. C:\Users>cd.. C:\>python27 'python27' iç ya da dış komut, çalıştırılabilir program ya da toplu iş dosyası olarak tanınmıyor. C:\>cd python27 C:\Python27>python pronsole python: can't open file 'pronsole': [Errno 2] No such file or directory C:\Python27>python pronsole.py Welcome to the printer console! Type "help" for a list of available commands. PC>connect com6 57600 PC>g28 Printer is not online. PC>G28 Printer is not online. PC>connect COM6 57600 Traceback (most recent call last): File "pronsole.py", line 716, in interp.cmdloop() File "C:\Python27\lib\cmd.py", line 142, in cmdloop stop = self.onecmd(line) File "C:\Python27\lib\cmd.py", line 219, in onecmd return func(arg) File "pronsole.py", line 161, in do_connect self.p.connect(port, baud) File "C:\Python27\printcore.py", line 58, in connect self.printer=Serial(self.port,self.baud,timeout=5) File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 30, in __init __ SerialBase.__init__(self, *args, **kwargs) File "C:\Python27\lib\site-packages\serial\serialutil.py", line 260, in __init __ self.open() File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 56, in open raise SerialException("could not open port %s: %s" % (self.portstr, ctypes.W inError())) serial.serialutil.SerialException: could not open port COM6: [Error 5] Eri■im en gellendi. C:\Python27>!self.p.loud=1 '!self.p.loud' iç ya da dış komut, çalıştırılabilir program ya da toplu iş dosyası olarak tanınmıyor. C:\Python27>python pronsole.py Welcome to the printer console! Type "help" for a list of available commands. PC>!self.p.loud=1 PC>connect com6 57600 PC>SENT: M105 RECV: ▲♠~♠Ş↑♠~µÇİÇ g28 Printer is not online. PC>G28 Printer is not online. PC>connect com6 57600 Traceback (most recent call last): File "pronsole.py", line 716, in interp.cmdloop() File "C:\Python27\lib\cmd.py", line 142, in cmdloop stop = self.onecmd(line) File "C:\Python27\lib\cmd.py", line 219, in onecmd return func(arg) File "pronsole.py", line 161, in do_connect self.p.connect(port, baud) File "C:\Python27\printcore.py", line 58, in connect self.printer=Serial(self.port,self.baud,timeout=5) File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 30, in __init __ SerialBase.__init__(self, *args, **kwargs) File "C:\Python27\lib\site-packages\serial\serialutil.py", line 260, in __init __ self.open() File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 56, in open raise SerialException("could not open port %s: %s" % (self.portstr, ctypes.W inError())) serial.serialutil.SerialException: could not open port com6: [Error 5] Eri■im en gellendi. C:\Python27>python pronsole.py Welcome to the printer console! Type "help" for a list of available commands. PC>!self.p.loud=1 PC>connect COM6 57600 PC>SENT: M105 RECV: ▲♠~♠Ş↑♠~µÇİÇ EXİT *** Unknown syntax: EXİT PC>exit Disconnecting from printer... Exception in thread Thread-1: Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 530, in __bootstrap_inner self.run() File "C:\Python27\lib\threading.py", line 483, in run self.__target(*self.__args, **self.__kwargs) File "C:\Python27\printcore.py", line 70, in _listen line=self.printer.readline() File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 218, in read raise SerialException('call to ClearCommError failed') SerialException: call to ClearCommError failed Exiting program. Goodbye! C:\Python27>python pronsole.py Welcome to the printer console! Type "help" for a list of available commands. PC>connect com6 57600 PC>ls Printer is not online. Try connect to it first. PC>!self.p.loud=1 PC>ls Printer is not online. Try connect to it first. PC>RECV: ▲♠~♠Ş↑♠~µÇİÇ connect com6 57600 Traceback (most recent call last): File "pronsole.py", line 714, in interp.cmdloop() File "C:\Python27\lib\cmd.py", line 142, in cmdloop stop = self.onecmd(line) File "C:\Python27\lib\cmd.py", line 219, in onecmd return func(arg) File "pronsole.py", line 161, in do_connect self.p.connect(port, baud) File "C:\Python27\printcore.py", line 58, in connect self.printer=Serial(self.port,self.baud,timeout=5) File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 30, in __init __ SerialBase.__init__(self, *args, **kwargs) File "C:\Python27\lib\site-packages\serial\serialutil.py", line 260, in __init __ self.open() File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 56, in open raise SerialException("could not open port %s: %s" % (self.portstr, ctypes.W inError())) serial.serialutil.SerialException: could not open port com6: [Error 5] Eri■im en gellendi. C:\Python27>python pronsole.py Welcome to the printer console! Type "help" for a list of available commands. PC>!self.p.loud=1 PC>connect com6 57600 PC>SENT: M105 RECV: ▲♠~♠Ş↑♠~µÇİÇ exit Disconnecting from printer... Exiting program. Goodbye! C:\Python27>!self.p.loud=1 '!self.p.loud' iç ya da dış komut, çalıştırılabilir program ya da toplu iş dosyası olarak tanınmıyor. C:\Python27>python pronsole.py Welcome to the printer console! Type "help" for a list of available commands. PC>!self.p.loud=1 PC>connect com6 57600 PC>SENT: M105 RECV: ▲♠~♠Ş↑♠~µÇİÇ ls Printer is not online. Try connect to it first. PC>connect com6 57600 Exception in thread Thread-1: Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 530, in __bootstrap_inner self.run() File "C:\Python27\lib\threading.py", line 483, in run self.__target(*self.__args, **self.__kwargs) File "C:\Python27\printcore.py", line 70, in _listen line=self.printer.readline() File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 218, in read raise SerialException('call to ClearCommError failed') SerialException: call to ClearCommError failed PC>SENT: M105 exit Disconnecting from printer... Exiting program. Goodbye! C:\Python27>python pronsole.py Welcome to the printer console! Type "help" for a list of available commands. PC>connect com6 57600 PC>!self.p.loud=1 PC>ls Printer is not online. Try connect to it first. PC>lsRECV: ▲♠~♠Ş↑♠~µÇİÇ