Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Duplex setting not working?
  FAQ FAQ  Forum Search   Register Register  Login Login

Duplex setting not working?

 Post Reply Post Reply
Author
Message
mbosio View Drop Down
Beginner
Beginner


Joined: 18 Oct 11
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote mbosio Quote  Post ReplyReply Direct Link To This Post Topic: Duplex setting not working?
    Posted: 18 Oct 11 at 4:42AM
When printing a duplex document, duplex seems to always flip horizontally whether set to "flip vertically" or "flip horizontally."  I'm setting the duplex mode using SetupCustomPrinter.  I suspect this is a bug.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 18 Oct 11 at 6:08PM
Hi!

If it's a bug please use the official website for this.
Here it's only the user-user-forum ;-)

Cheers and welcome here,
Ingo

Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 19 Oct 11 at 8:50AM
It is more likely a bug in the printer driver.  This is a common problem and it all depends on how well the printer driver is written.  A quick search on Google shows that setting this value on some printer drivers doesn't even select duplex.


This article is very interesting reading.

We have added 2 functions in QPL 8.12 that allow you to read the current DEVMODE and also set the DEVMODE just before printing which is basically doing what is described in the article.

Printer Drivers are written to interface with Windows via the DEVMODE structure but many drivers add extra information to the end of the DEVMODE structure to define special functions such as stapling , collating and many of them seem to use their one memory for storing and retrieving these settings.  Their GUI Printer Setup Dialog box knows how to communicate correctly with the DEVMODE structure but they don't document the fields, values or codes required for others.

Unfortunately QPL is relying on the standard DEVMODE structure to set these values in DEVMODE but not all printer drivers respond in the same way or even at all.  

What version of QPL are you using ?

Andrew.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store