Solved

N up Print with WINAPI

Posted on 2011-02-24
2
733 Views
Last Modified: 2013-12-04
Which struct Should I read to learn Nup feature of printer. (for example 4 page per sheet, or 8 page per sheet)

Currently I tried DEVMODE and JOB_INFO_2. But they do not have item for Nup.

Actually Devmode has Nup item. but it specify that who will take care of Nup process.

dmNup
Specifies where the NUP is done. It can be one of the following.

Value      Meaning
DMNUP_SYSTEM      The print spooler does the NUP.
DMNUP_ONEUP      The application does the NUP.
 
0
Comment
Question by:Tungaalper
  • 2
2 Comments
 

Accepted Solution

by:
Tungaalper earned 0 total points
ID: 35068646
Thanks guys I found it MSDN but it is not for win32 I think.

ATTRIBUTE_INFO_4 Structure

The ATTRIBUTE_INFO_4 structure is used as a parameter for a printer interface DLL's DrvQueryJobAttributes function. All member values are function-supplied. This structure is similar to ATTRIBUTE_INFO_3, but it includes additional members to control N-up, duplex and booklet printing, and scaling.

http://msdn.microsoft.com/en-us/library/ff545096(v=vs.85).aspx
0
 

Author Closing Comment

by:Tungaalper
ID: 35068651
found it on msdn
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now