Git Product home page Git Product logo

Comments (11)

silwalujjwal8 avatar silwalujjwal8 commented on April 27, 2024 1

how can we do usb printing in flutter desktop

from flutter-desktop-embedding.

krisgiesing avatar krisgiesing commented on April 27, 2024

If by "incorporated" you mean built into the Flutter engine itself, that's something the Flutter team would need to decide to do. From the perspective of this project, it would be a plug-in. Thanks for filing the issue - it will be interesting to see how many folks want this functionality.

from flutter-desktop-embedding.

 avatar commented on April 27, 2024

yes that is what i means by "incorporated". Lets call it built in.

from flutter-desktop-embedding.

 avatar commented on April 27, 2024

As I understand it flutter is based on Skia. Skia is the rendering engine.

Skia is used in Google chrome to render your web page. Skia has a library inside called pdfium that is able to output PDF ( and XPS for windows printers ).

So why does flutter do the same ?

I would really appreciate if the flutter team looked at this. Printing is a really needed aspect for me.

from flutter-desktop-embedding.

stuartmorgan avatar stuartmorgan commented on April 27, 2024

Skia has a library inside called pdfium

This is not correct; pdfium is not part of Skia.

that is able to output PDF

pdfium is a PDF viewer, which is largely orthogonal to printing (Chromium's ability to print predates pdfium).

I would really appreciate if the flutter team looked at this.

If you want printing functionality within Flutter itself, you should file a feature request with Flutter. As the project readme says, this project is not part of Flutter. As Kris noted above if implemented within this project (which is what this bug tracks) it would be as a plugin.

from flutter-desktop-embedding.

 avatar commented on April 27, 2024

Ok i raised the Issue in the main Flutter repo.

flutter/flutter#15457

Thanks.

from flutter-desktop-embedding.

awdavies avatar awdavies commented on April 27, 2024

Closing for cleanup.

from flutter-desktop-embedding.

awdavies avatar awdavies commented on April 27, 2024

Woops! Misunderstood what this was about. Reopening.

from flutter-desktop-embedding.

stuartmorgan avatar stuartmorgan commented on April 27, 2024

As the desktop effort has evolved and the focus is on moving things out of FDE, there's more clarity on what plugins would be implemented here. Specifically, unless something is either

  • a temporary prototype/placeholder for something I strongly expect to become part of the Flutter framework, or
  • a desktop implementation of an existing plugin, for platforms where the API hasn't stabilized enough that hosting them elsewhere makes sense yet

it should be developed somewhere other than this repository. That gives every plugin here a clear path for being moved out of the FDE repository later.

Since printing doesn't fall into either category, I'm going to close this. It seems like a great candidate for someone to develop as a community plugin though.

from flutter-desktop-embedding.

anandsubbu007 avatar anandsubbu007 commented on April 27, 2024

Is there any update about direct printing in windows desktop?

from flutter-desktop-embedding.

csells avatar csells commented on April 27, 2024

Printing is not on our current roadmap for desktop. There all packages on pub.dev for creating PDF files that you may find useful instead.

from flutter-desktop-embedding.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.