Print Page | Close Window

Printing paper size>A2 or custom papersize.

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1389
Printed Date: 04 Apr 26 at 11:06PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Printing paper size>A2 or custom papersize.
Posted By: BrianKnudsen
Subject: Printing paper size>A2 or custom papersize.
Date Posted: 26 Mar 10 at 6:38AM
< ="-" ="text/; =utf-8">< name="ProgId" ="Word.">< name="Generator" ="Microsoft Word 11">< name="Originator" ="Microsoft Word 11">

Hello

 

I have a problem printing bigger than paper size A2.

 

From A4-A2 I use the “SetupCustomPrinter”

 

SetupCustomPrinter(TmpPrinter,1,DMPAPER_A2)

SetupCustomPrinter(TmpPrinter,1,DMPAPER_A3)

SetupCustomPrinter(TmpPrinter,1,DMPAPER_A4)

 

And all work.

 

But if I try to print A1

 

SetupCustomPrinter(TmpPrinterNavn,1,DMPAPER_USER)

SetupCustomPrinter(TmpPrinterNavn,2,8410)

SetupCustomPrinter(TmpPrinterNavn,3,5940)

 

 

SetupCustomPrinter(TmpPrinterNavn,1,DMPAPER_USER) give an error, and the output is A4.

 

 

Dos anyone have an example, printing >A2 or custom papersize.




Replies:
Posted By: Ingo
Date Posted: 26 Mar 10 at 6:51AM
Hi Brian!

What's the returning value of SetCustomPrinter?
If it's 1 then the function works correct - 0 means error.
Did you see already that your printer creates A1-output?

Cheers and welcome here,
Ingo
 




Posted By: BrianKnudsen
Date Posted: 26 Mar 10 at 7:01AM
Hi

If I choose A1 at the printer in Windows printer setup. And choose to print the full-scale printing it out, it comes out in A1. But I want to print it out from the program.




Posted By: BrianKnudsen
Date Posted: 26 Mar 10 at 7:08PM
hi

If I call file:///C:%5CDOCUME%7E1%5Cbk%5CLOKALE%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - SetupCustomPrinter(TmpPrinterNavn,1,DMPAPER_USER) it return 0

I had so setup file:///C:%5CDOCUME%7E1%5Cbk%5CLOKALE%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml - DMPAPER_USER to use lenght and height


Brian



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk