How do I save printerSettings?
Posted: Wed Sep 12, 2012 5:30 pm
I understand that printerSettings is something called an opaque binary file that I can only set or get in its entirety, but I don't understand how to save it because I don't know what kind of file to save it as. I imagine the file type may be different for Windows and for OS X.
From the LiveCode Dictionary:
Examples:
set the printerSettings to the cSavedPrintSettings of me
put the printerSettings into url ("binfile:" & printerSettingsFile())
It looks like that first line is pulling printerSettings from a variable. That second line is what I want to do except I don't understand what the printerSettingsFile() is all about. It looks like some sort of custom function.
So I'm left with the question: How do I save printerSettings to a file in both Windows and OS X? What file extension do I use?
From the LiveCode Dictionary:
Examples:
set the printerSettings to the cSavedPrintSettings of me
put the printerSettings into url ("binfile:" & printerSettingsFile())
It looks like that first line is pulling printerSettings from a variable. That second line is what I want to do except I don't understand what the printerSettingsFile() is all about. It looks like some sort of custom function.
So I'm left with the question: How do I save printerSettings to a file in both Windows and OS X? What file extension do I use?