Quantcast
Viewing all articles
Browse latest Browse all 2636

Change "Profile Settings" before starting printer using C#

@shss wrote:

Hello,

i want to change Profile Settings, before starting printing through .NET C#.
As i get it I have to use SetProfileSetting, but i can use it only when PrintJob is initialized.

PdfCreatorObj pdfPrinter = new PdfCreatorObj();
Queue jobQueue = new Queue();
try {
jobQueue.Initialize();
PrintJob printJob = jobQueue.NextJob;
printJob.SetProfileSetting("AutoSave.Enabled", "true");
}
catch { }
finally {
jobQueue.ReleaseCom();
}
But in my case i dont have PrintProcess.
Is it possible to change profile before Print started?

Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 2636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>