Subscribe to this thread
Home - General / All posts - Set default printer per-layout programmatically
firsttube


1,439 post(s)
#21-Jun-16 16:54

I am attempting to automate printing a large number of layouts to PDF using BioPDF. I have the BioPDF printer set as a Default Printer in Windows, but Manifold seems to remember what the previous printer was for each layout. In the script I am using, the "layout.print" line defaults to the printer that was used previously.

Is there any way to force manifold to use the Windows default printer for all layouts when printing from a script?


"The blessing in life is finding the torture you are comfortable with." - Jerry Seinfeld, 6/26/2013

KlausDE

6,410 post(s)
#24-Jun-16 10:26

I can't answer your question but I wonder why you print to a PDF-Printer instead of a using the ExportPdf object.

[oops, your previous question answers mine.]


Do you really want to ruin economy only to save the planet?

firsttube


1,439 post(s)
#24-Jun-16 18:29

I submitted a suggestion to change the DeviceName property of the Layout object to Read/Write so that it can be manipulated programmatically.


"The blessing in life is finding the torture you are comfortable with." - Jerry Seinfeld, 6/26/2013

Manifold User Community Use Agreement Copyright (C) 2007-2021 Manifold Software Limited. All rights reserved.