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!
![]()  | 
 
How to print color PDF in grayscale | 
 
    Post Reply  
   | 
  
| Author | |
   
   dsola  
   
   Team Player  
   Joined: 28 Oct 05 Location: Croatia Status: Offline Points: 34  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: How to print color PDF in grayscalePosted: 25 Jan 10 at 9:59AM  | 
 
| 
   
    
   Hi, 
   
  I have PDF with color but i wish to print it in grayscale on color laser printer (HP LaserJet 2600n ). Here's code segment. 
 .... PDf print is always in color. When I print PDf on CutePDF Writer resulting PDF is in grayscale. Any ideas? I'm using ver. 5.11  | 
 |
| 
   
     
     registered QuickPDF user
     
   
   | 
 |
![]()  | 
 |
   
   CrazyTIm  
   
   Team Player  
    
   Joined: 21 Aug 11 Location: Australia Status: Offline Points: 29  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 21 Aug 11 at 9:09PM | 
 
| 
   
    
   Hi, I know this post is old, but I'm having the same problem with a Fuji Xerox DocuCentre-III C4400. 
   
  When I print to it, it always prints in whatever the default color settings are. Printing to a virtual PDF printer works fine. I wonder, perhaps this is a compatibility problem with the library and certain print drivers? Jas. 
    | 
 |
![]()  | 
 |
   
   xianchian  
   
   Beginner  
   Joined: 12 Sep 11 Status: Offline Points: 5  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 12 Sep 11 at 5:41PM | 
 
| 
   
    
   Hello Everyone, 
   
  I'm facing the same problem as stated here. I'm using the 7.26 version of the product. Did you find something usefull to get through this issue? Thanks, Xianchian.  | 
 |
![]()  | 
 |
   
   AndrewC  
   
   Moderator Group  
   Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 13 Sep 11 at 10:17AM | 
 
| 
   
    
   Quick PDF Library does not have any colour conversion routines in the library.  It sends a full 24bit image to the printer driver and leaves the printing details mostly up to the printer driver. 
   
  Quick PDF Library uses the standard Windows DEVMODE structure to configure the printer.  Normally each printer driver sets the defaults and modifies the DEVMODE structure for printing.  The problem is that not all printer drivers use DEVMODE in the same way.  ie.  not all flags operate exactly the same way and then there is devModeExtra which can supply extra parameters. Currently QP.SetupCustomPrinter allows the setting of 11 or so basic parameters in the DEVMODE structure. SetupCustomPrinter(myCustomPrinterName, 6, 1); uses option 6. I suspect the Fuji Xerox printer uses a different flag to specify grayscale printing than flag #6. This problem is not limited to Quick PDF Library but to any other library that uses DEVMODE for printing. Andrew. 
    | 
 |
![]()  | 
 |
   
   CrazyTIm  
   
   Team Player  
    
   Joined: 21 Aug 11 Location: Australia Status: Offline Points: 29  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 14 Sep 11 at 1:04AM | 
 
| 
   
    Hi Andrew, this is really interesting... so does that mean that theoretically all I would need to do is somehow discover what flag (number) my printer uses to specify colour/mono? I wonder if there is a monitoring program to see what info is passed when printing... Regards, Jason 
    | 
 |
![]()  | 
 |
   
   AndrewC  
   
   Moderator Group  
   Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 14 Sep 11 at 9:34AM | 
 
| 
   
    
   Yes.  That would be half the fix.  We would need to add some code to QPL to allow you to work with the DEVMODE structure directly.
    
   
   | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  | 
 
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store