[Bug 45925] New: WPF application (.NET 4.5) printing fail

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Oct 3 05:59:56 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45925

            Bug ID: 45925
           Summary: WPF application (.NET 4.5) printing fail
           Product: Wine
           Version: 3.13
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: spooler
          Assignee: wine-bugs at winehq.org
          Reporter: lxndrkrlv at gmail.com
      Distribution: ---

WPF application uses Print Ticket API. This API is implemented in prntvpt.dll.
When I use prntvpt.dll from Wine, .NET Exception is thrown:

External component has thrown an exception.
StackTrace:
   at
MS.Internal.Printing.Configuration.UnsafeNativeMethods.PTOpenProviderExImpl(String
deviceName, Int32 maxVersion, Int32 prefVersion, SafePTProviderHandle& handle,
Int32& usedVersion)
   at
MS.Internal.Printing.Configuration.UnsafeNativeMethods.PTOpenProviderEx(String
deviceName, Int32 maxVersion, Int32 prefVersion, SafePTProviderHandle& handle,
Int32& usedVersion)
   ... <skipped> ...
   at MS.Internal.Printing.Win32PrintDialog.ShowDialog()
   at System.Windows.Controls.PrintDialog.ShowDialog()

Wine console output is:
    wine: Call from 0x7b43d526 to unimplemented function
prntvpt.dll.PTOpenProviderEx, aborting
    wine: Call from 0x7b43d526 to unimplemented function
prntvpt.dll.PTOpenProviderEx, aborting
    wine: Call from 0x7b43d526 to unimplemented function
prntvpt.dll.PTOpenProviderEx, aborting

Another issue when I use native prntvpt.dll from Windows XP
.Net Exception:
System.ArgumentNullException: Value cannot be null.
Parameter name: printQueue
   at System.Windows.Xps.XpsDocumentWriter..ctor(PrintQueue printQueue)
   at System.Printing.PrintQueue.CreateXpsDocumentWriter(PrintQueue printQueue)
   at System.Windows.Controls.PrintDialog.CreateWriter(String description)
   at System.Windows.Controls.PrintDialog.PrintDocument(DocumentPaginator
documentPaginator, String description)

Wine console output is (multiple times):
0009:fixme:winspool:GetPrinterW Unimplemented level 1

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list