Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support printing #15

Closed
ghost opened this issue Mar 4, 2018 · 11 comments
Closed

Support printing #15

ghost opened this issue Mar 4, 2018 · 11 comments

Comments

@ghost
Copy link

ghost commented Mar 4, 2018

Wondering if the team think printing should be a plug-in or incorporated ?

At the moment I use golang code to print stuff on desktops because it's easy to do cross platform.
On flutter mobile I use sharing.

@krisgiesing
Copy link
Contributor

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.

@ghost
Copy link
Author

ghost commented Mar 4, 2018

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

@ghost ghost changed the title Printing Printing .Built.in OR a plugin ? Mar 4, 2018
@ghost ghost changed the title Printing .Built.in OR a plugin ? Printing: Built-in OR a plugin ? Mar 4, 2018
@ghost
Copy link
Author

ghost commented Mar 10, 2018

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.

@stuartmorgan
Copy link
Collaborator

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.

@stuartmorgan stuartmorgan changed the title Printing: Built-in OR a plugin ? Support printing Mar 12, 2018
@ghost
Copy link
Author

ghost commented Mar 12, 2018

Ok i raised the Issue in the main Flutter repo.

flutter/flutter#15457

Thanks.

@awdavies
Copy link
Contributor

awdavies commented Apr 5, 2018

Closing for cleanup.

@awdavies awdavies closed this as completed Apr 5, 2018
@awdavies
Copy link
Contributor

awdavies commented Apr 5, 2018

Woops! Misunderstood what this was about. Reopening.

@stuartmorgan
Copy link
Collaborator

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.

@silwalujjwal8
Copy link

how can we do usb printing in flutter desktop

@anandsubbu007
Copy link

Is there any update about direct printing in windows desktop?

@csells
Copy link
Contributor

csells commented Oct 28, 2020

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.

@google google locked and limited conversation to collaborators Oct 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants