Share via

setPrinter returns Win32 API failed [internalErrorCode=0x32 : The request is not supported. ][0x20000002:Internal service error]

tech enths 1 Reputation point
2022-03-31T05:01:23.053+00:00

I am using SetPrinter() to set port details. I am getting

Win32 API failed [internalErrorCode=0x32 : The request is not supported. ][0x20000002:Internal service error]

Iam doing OpenPrinter(),setPrinter() and ClosePrinter().

Please help in resolving the issue.

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.