Frequently Asked Question:
How do I use the SetupCustomPrinter function?
How do I use the SetupCustomPrinter function?
The SetupCustomPrinter function provides a variety of different settings for customizing your custom printer. To use the SetupCustomPrinter function you first need to create your customer printer using the the NewCustomPrinter function. Then you need to call the SetupCustomPrinter function. The trick to understanding this function is that you need to call it with the Setting parameter each time you want to add a new setting to your custom printer.
So for example, if you want to add a setting that dictates how many copies should be printed you would use:
SetupCustomPrinter(CustomPrinterName, 4, 10) Using the above setting will mean that 10 copies of the document that you send to this custom printer will be printed.
If you wanted to then also adding a setting specifying the print quality you would use:
SetupCustomPrinter(CustomPrinterName, 5, 4) This would now mean that 10 copies of the document that you send to this custom printer will be printed and all of the printed pages will have a draft print quality.
Simply put you need to repeatedly the SetupCustomPrinter function until you've added all of the required settings.