Solved

N up Print with WINAPI

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
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.

863 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

26 Experts available now in Live!

Get 1:1 Help Now