easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

MakeTempCopyOfInput Property

Gets/Sets the flag that indicates whether to make temporary copy of input file before printing or conversion to PDF.

bool MakeTempCopyOfInput { get; set; }

Property MakeTempCopyOfInput As Boolean

def getMakeTempCopyOfInput(self)
def setMakeTempCopyOfInput(self, value)
boolean getMakeTempCopyOfInput() throws PrinterException
void setMakeTempCopyOfInput(boolean value) throws PrinterException
function getMakeTempCopyOfInput() 
function setMakeTempCopyOfInput($value) 
BclPrnResult GetMakeTempCopyOfInput(BclPrinter* pPrinter, BclBool* poutVal);
BclPrnResult SetMakeTempCopyOfInput(BclPrinter* pPrinter, BclBool newVal);
Property MakeTempCopyOfInput As Boolean

bepprint -tempCopy [on|off]




When this flag is On, instead of printing the original input document, easyPDF makes a copy of the input file in a temporary directory, and prints that temporary copy.

In old 64-bit operating systems (Windows XP, Vista, Server 2003, 2008 pre-R2), this flag had to be turned On, because easyPDF had to rely on a unique file name for synchronization purposes. The printer driver sometimes did not know which file was being printed, unless it had a unique file name.

On all modern operating systems (Windows 7, 8, 8.1, 10, Server 2008 R2, Server 2012, or newer), this flag is no longer required to be turned On, therefore we recommend that it is turned Off.

There are several disadvantages of printing a temporary copy of a document, instead of the original one:

For these reasons, we no longer recommend setting MakeTempCopyOfInput to True.

The default value is Off on all modern systems, but it is still On for Vista, Server 2008 pre-R2, or older.

Example Usage

Set oPrinter = CreateObject("easyPDF.Printer.8")
Set oPrintJob = oPrinter.PrintJob

oPrintJob.MakeTempCopyOfInput = True

oPrintJob.PrintOut "C:\test\input.doc", "C:\test\output.pdf"