Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Sept/Oct 2019 Issue of The NT Insider available


Download PDF here: http://insider.osr.com/2019/ntinsider_2019_01.pdf

It’s a particularly BIG issue, too: 40 pages of technical goodness, ranging from WDF to Minifilters. Check it out.
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

XPS SimplePipelineFilter producing zero-byte .prn file

PacketGuyPacketGuy Member Posts: 11

I created a printer driver using the SimplePipelineFilter (no changes to filter code). It compiles and installs perfectly fine. I installed it on Windows 10 and set PORT to FILEPORT. That was basically to test it out and see if the output is actually .xps - as per the msdn research that I've done.

The issue I'm having is that when I select print, a file save dialog opens with .prn extension, however, when I click save (temp.prn) it just creates a file with Zero-bytes i.e. empty temp.prn file. This should Not be happening, I've double/triple checked the code, pipeline configuration and spent 2 days trying to figure this out but can't find answers anywhere.

Does anyone know whats going on?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Writing WDF Drivers 21 Oct 2019 OSR Seminar Space & ONLINE
Internals & Software Drivers 18 Nov 2019 Dulles, VA
Kernel Debugging 30 Mar 2020 OSR Seminar Space
Developing Minifilters 27 Apr 2020 OSR Seminar Space & ONLINE