Questions tagged [v4-printer-driver]

11 questions
2
votes
0 answers

How to open the wpf application from v4 printer driver

I have a wpf .NET application and I have created a V4 printer driver from Microsoft and have got it installed . Now how can I open this wpf application from the printer e.g. if user opens any document and select this printer from print option then…
user3510028
  • 583
  • 2
  • 4
  • 14
2
votes
1 answer

How to set fix directory for output file in V4 Printer Driver

I am working with V4 printer driver, i need to store output xps file to a specific folder instead of letting user select output folder.
Dr. Rajesh Rolen
  • 14,029
  • 41
  • 106
  • 178
1
vote
1 answer

How to add papsersize to microsoft XPS document Writer by modify .gpd file

I wish to add a new papersize named 'ABC' I Add in mxdwdui.gpd file as follows *Option: ABC { *rcName: =258 *OptionID: 258 *PageDemenssion: PAIR(10000, 10000) *PrintableArea: PAIR(9900, 9900) *PrintableOrigin: PAIR(50, 50) } It meet the Requirements…
1
vote
1 answer

Develop Printer Driver which can Read file and Write extra data

I need to develop a printer driver which can:- Read the printed file (knowing the data inside the file) Write extra information to the end of printed file. (eg. bar-code or QR code) I plan to use V4 printer driver as template for me to start my…
Tan
  • 11
  • 3
1
vote
0 answers

Getting error using libcurl in visual studio 2017

I have linked libcurl for linker still getting below error: Error LNK2019 unresolved external symbol curl_global_init referenced in function "void _cdecl getRequest(void)"
Ashish Gehlot
  • 483
  • 8
  • 16
0
votes
0 answers

UNIDRV - custom size

I am working on creating a printer unidrv, and I want to allow users to set the paper size. I tried referring to Microsoft's website regarding this matter, but I am still unsure. Could you please assist me with how to proceed? Here is my CUSTOMSIZE…
0
votes
0 answers

MyV4PrintDriver error- Visual Studio 2022

enter image description here enter image description here I am trying to build v4 printer driver sample in visual studio 2022 but getting error. Need a solution? My current windows configuration windows 10 with visual studio 2022
HackBerry
  • 1
  • 2
0
votes
0 answers

Starting external .exe when XPS Writer has finished

I wrote a XPS Driver using the XPS Driver Sample XPS Driver Sample What I want to do now is, that I need to start an external programm when the XPS Driver has finished its job and the document is ready. So the user should click "print with... ->…
0
votes
0 answers

Class name is invalid or already implemented in the selected source file

I have a solution in VS2017 including 7 different C# or C++ projects. I add a new project to generate a dynamic link library (.dll) and then trying to create a new class in the newly created project using add option. But I get the following…
amirfg
  • 272
  • 2
  • 6
  • 21
0
votes
1 answer

Any sample of V4 universal printer driver

Does anybody know a sample of V4 Universal Printer Driver? Actually, I was looking for a sample in last two days but I did not found any instance. All Universal Printer Drivers from many vendors are based on V3 print driver model. It seems that…
amirfg
  • 272
  • 2
  • 6
  • 21
0
votes
0 answers

V4 Universal printer driver

As you may know, MS V4 printer driver model is very relies on data files like .gpd and .ppt files. In one hand, supposing a signed driver package, any changes in these files will break the driver sign. In the other hand regarding the need to create…
amirfg
  • 272
  • 2
  • 6
  • 21