merrymonk has asked for the wisdom of the Perl Monks concerning the following question:
However, I want to select the printer so that the system's default printer is not used.$excel = CreateObject OLE "Excel.Application"; $workbook = $excel -> Workbooks -> Open(file name); $workbook->PrintOut();
I guess the first line may in Perl beApplication.ActivePrinter = _ "Auto HP Deskjet 6500 Series on HOMEDELLTOWER on Ne02:" ExecuteExcel4Macro _ "PRINT(1,,,1,,,,,,,,3,""Auto HP Deskjet 6500 Series on HOMEDEL +LTOWER on Ne02:"",,TRUE,,FALSE)"
But I am not at all sure. I do not know how to start with the second line.Application->ActivePrinter( "Auto HP Deskjet 6500 Series on HOMEDELLTO +WER on Ne02:");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Selecting printer in Excel
by tilly (Archbishop) on Jan 13, 2011 at 20:45 UTC | |
|
Re: Selecting printer in Excel
by Khen1950fx (Canon) on Jan 13, 2011 at 20:52 UTC | |
by merrymonk (Hermit) on Jan 14, 2011 at 10:56 UTC |