How to Directly Print Text from Tkinter GUI on to a Hard Paper using attached Printer | Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.ย. 2024

ความคิดเห็น • 17

  • @donaldgeorge9155
    @donaldgeorge9155 8 หลายเดือนก่อน

    Clear detailed and very helpful! thanks!!

  • @leaput
    @leaput 2 ปีที่แล้ว +1

    Thank you for this nice video. I have got a lot from it.

  • @erolsavas19
    @erolsavas19 ปีที่แล้ว

    An excellent example. Thanks.

  • @cececlark7087
    @cececlark7087 2 ปีที่แล้ว

    Does this save the text as a .txt file somewhere on my computer or does it only print?

  • @akcandlestick8948
    @akcandlestick8948 3 ปีที่แล้ว +1

    sir ji thks for video but 1 question ki hume tkinter mai koi jpg, png, aur circle, ractangle, line draw karna ho to kaise kar sakte hai sir

    • @pythonprogrammingwithsanju1141
      @pythonprogrammingwithsanju1141  3 ปีที่แล้ว +1

      To deal with jpg and png, use Pillow library and simply apply them within Label using image argument. To draw rectangles and lines, I can make a separate video.

    • @akcandlestick8948
      @akcandlestick8948 3 ปีที่แล้ว

      @@pythonprogrammingwithsanju1141 but ractangle, lines, images ko direct print command python gui mai hum denge to woh direct printer ke upper printing karega hum txt file use nahi karenge sir

    • @pythonprogrammingwithsanju1141
      @pythonprogrammingwithsanju1141  3 ปีที่แล้ว +1

      @@akcandlestick8948 Dear, samajh nahi aaya mujhe aap kya bolna chah rahe ho, please try again. By the way, created this tutorial about Canvas, explains almost everything about Canvas.
      th-cam.com/video/baqlrdGWA4Y/w-d-xo.html

    • @akcandlestick8948
      @akcandlestick8948 3 ปีที่แล้ว

      @@pythonprogrammingwithsanju1141 sir ji maine ek chota sa gui banaya hai tkinter mai usme se direct printing karna hai paper ke upper jpg, png, aur circle, ractangle, line draw paper par output chahiye sir uske liye kya use kare pls helps

  • @laishramamarjit544
    @laishramamarjit544 3 ปีที่แล้ว

    Can i add images and print out? If so can you please tell me?

    • @pythonprogrammingwithsanju1141
      @pythonprogrammingwithsanju1141  3 ปีที่แล้ว +1

      Yes, it can be done. I will make a video soon.

    • @akcandlestick8948
      @akcandlestick8948 2 ปีที่แล้ว

      @@pythonprogrammingwithsanju1141 pls sir ji make video of this and sir hamne gui through ek programme banaya hai aur hum print command detehi hamare pc mai default printer ke upper printing ho to kaise kar sakte hai ??

    • @AHmED7Fathy
      @AHmED7Fathy 2 ปีที่แล้ว

      @@pythonprogrammingwithsanju1141 have u made it?

  • @jawadsaqib
    @jawadsaqib 3 ปีที่แล้ว

    Hello Sir, I have a simple invoice maker in python tkinter which fetches the data from the sqlite database then I want to print it on a physical printer, How is it possible.

    • @pythonprogrammingwithsanju1141
      @pythonprogrammingwithsanju1141  3 ปีที่แล้ว

      It is possible. I have explained the same in the video.

    • @andrewsteoward3764
      @andrewsteoward3764 2 ปีที่แล้ว

      same project, but I am stuck to print it with single click default printer......instead of opening the file dialog box ............can you help plz