I want to print a very simple layout with PrintDocument that fits on one page, so it doesn't require a DocumentPaginator. However I want to use PrinterDialog to select the printer. I saw examples with PrinterSettings being a property of PrinterDialog and it was simply assigned to the PrintDocument. But this doesn't seem to be possible anymore. I also looked for other solutions like custom paginator classes to use but came up empty. I might not have this deep insight into WPF, but why must it always be dongled that way...
WPF: Is there a way to use PrintDialog only to select the target printer without having to provide a DocumentPaginator class?
6.5k Views Asked by thomiel At
1
There are 1 best solutions below
Related Questions in WPF
- WPF MessageBox Cancel checkbox check
- WPF multiple control property simultaneous changes
- ObservableCollection.CollectionChanged does not select the correct DataTemplate on ToolBar
- Telerik's WPF RadColorPicker NoColorText property not working
- How to automate UI interaction during acceptance test run
- Binding to "this.property" object in VisualStateMenager
- ContextMenu Closes Immediately
- Update ObservableCollection where the items are received from another List
- change content button with trigger
- WPF - How to highlight a combobox border when focused
- Wpf No Highlight on ListBoxItem for Touch Devices
- WPF WebBrowser how best to get Tag trees
- Make a class suitable for Property Change Notification
- WPF Comparing two datatables to find matching values
- how to create folder and file with datetime in wpf application
Related Questions in PRINTING
- How to send ESC/POS commands to thermal printer in Linux
- JTable Printing. How to set page breaks programmatically?
- Why do print and echo behave differently in a "for" loop
- Is there a way to limit the html page to a particular page size?
- How to execute keybord shortcut CTRL + P by clicking a link using jquery
- Chrome print preview disable only link location in footer and header
- C program doesn't print
- how to print a receipt to a particular printer
- How to print Jasper reports from servlets?
- Is it possible to print web content on thermal printer?
- How to print the HTML in Java
- How to get a response of file printing job to user from printer using CUPS in linux
- Android PrintManager get callback
- Business card height and width in pixels on web?
- Microsoft Dynamics Ax 2012 R2 run time issue
Related Questions in DOCUMENTPAGINATOR
- Blank pages when implementing DocumentPaginator
- Mix landscape and portrait printing in wpf / c#
- WPF XPS Document doesn't display images anymore
- DocumentPage not getting the images from the fixed XPS document page
- WPF DocumentPaginator: Change DocumentPage Size to landscape
- "Fast" Displaying in a DocumentViewer
- Adding Grid/FrameworkElement to ContainerVisual
- White spaces appear around the document to preview
- Paginate using DocumentPaginator from FlowDocument that contains StackPanel
- How to set the Page Size for an Xps Document?
- WPF FlowDocumentPageViewer
- WPF Printing large custom control
- Does the WPF DocumentPaginator keep all DocumentPages in memory until it finishes a print job?
- WPF DocumentPaginator and DocumentPage unexpected cropping
- Is it possible in WPF to get content of each DocumentPage by page number?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Try this:
System.PrintingPrintDialogAnd then: