Solved

N up Print with WINAPI

Posted on 2011-02-24
2
749 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them 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.

679 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