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

Printing, preview? #969

Closed
TomQv opened this issue Jan 25, 2018 · 1 comment · Fixed by #2017
Closed

Printing, preview? #969

TomQv opened this issue Jan 25, 2018 · 1 comment · Fixed by #2017
Milestone

Comments

@TomQv
Copy link

TomQv commented Jan 25, 2018

Next thing is printing.
What we need is all covered in the Eto.TestApplication - Print Dialog - "Print from Graphics with Dialog"
Just a preview of the document is missing.

If I understood it right, its just:
(Eto.Test.Sections.Printing.PrintDialogSection.cs)

var document = GetPrintDocument();
var dialog = CreatePrintDialog();
dialog.ShowDialog(this, document);

But where would be the right place to hook in to get a preview of the document before actual sending to the printer?

@cwensley
Copy link
Member

cwensley commented Feb 1, 2018

I didn't find a really good way to do this on Wpf as there's no built-in support for a preview.

On Mac, the preview is built in to the print dialog (which works great with Eto). However, we should probably also create a PrintPreviewDialog of some sort, and a way to determine if the preview is built-in to the print dialog so you can decide what to show per platform.

@cwensley cwensley added this to the Next Issues milestone Feb 1, 2018
cwensley added a commit to cwensley/Eto that referenced this issue Oct 17, 2021
@cwensley cwensley modified the milestones: Future, 2.6.0 Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants