Home
Virtual Image Printer DriverMiraplacid Publisher converts documents to images
Virtual Text Printer DriverMiraplacid Text Driver extracts text from documents
Miraplacid FormMiraplacid Form fills out scanned paper forms
Chili! ASP (Linux) and IIS (Windows) scripting componentsMiraplacid Scripting Components Upload, Crypto, GZip, Exec, Anti-bot
Common:   Login | Rules of forum | Register
Management:  New topic | Move topic | Delete topic
  

Miraplacid Forum >> Miraplacid Scripting Components >> Miraplacid TextDriver 2009 SDK - Rewind Job ( Topic has been moved here... )Moderator:Supervisor

Author Topic:  Miraplacid TextDriver 2009 SDK - Rewind Job ( Topic has been moved here... )
mpl_schorsch
Member

From: Austria
posted 2008-09-30 05:34:11 Delete

Hi all,

I need to print a Document to PlainText first, then once more to Formatted Text.

Could someone please help me figure out how to Rewind and Restart the Print Job with the new Format Setting?

Thx in advance

Supervisor
Moderator

Web-page
Email
posted 2008-09-30 06:43:39 Delete

You do not need to rewind the job, because MTD allows you to save every page directly, by number with SavePage() method which receives a number of page as a parameter. 1. Format="Plain"; 2. SavePage(0) 3. Format="Formatted" 4. SaveAllPages() OR, 1. Format="Plain" 2. SavePage(0) 3. Format="Formatted" 4. TransportParam("File","append") = 1 5. SavePage(1) ... SavePage(RenderedPages) 6. CancelJob() if you do not need to have the first page to be saved twice.

Go to category:  

Technical Support

Copyright © Miraplacid, 2003 - 2010