Print Page | Close Window

PDF printing problem

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=2487
Printed Date: 18 Jan 26 at 5:43PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: PDF printing problem
Posted By: dzsiaar
Subject: PDF printing problem
Date Posted: 11 Jan 13 at 12:47PM
I have to write an app for pdf batch printing/plotting.

We have an OCE-TDS600 plotter. I can't print pdf files correctly.
I set the roll which contains the same paper (Roll1). But the plotter print the pdf onto anathor roll/paper (Roll4).

Here it is the code snippet (I wrote exact values instead of variables):

QP.LoadFromFile('D:\myfile.pdf', '');
CustomPrinter := QP.NewCustomPrinter('\\SERVER\Oce_TDS600');
QP.SetupCustomPrinter(CustomPrinter, 2, 9109);
QP.SetupCustomPrinter(CustomPrinter, 3, 2953);
QP.SetupCustomPrinter(CustomPrinter, 4, 1);
//Rolls:
//256: Automatic roll
//257: Roll1 (297 mm)
//258: Roll2 (420 mm)
//259: Roll3 (594 mm)
//260: Roll4 (841 mm)
QP.SetupCustomPrinter(CustomPrinter, 9, 257);
QP.SetupCustomPrinter(CustomPrinter, 11, 2);
iPrintOptions := QP.PrintOptions(0, 0, 'Printing Sample');
QP.PrintDocument(CustomPrinter, 1, 1, iPrintOptions);

What wolud be wrong?

Many thanks
főnév: papír, tanulmány, dolgozat, okmány, ügyirat
ige: papírral bélel



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