Advertisement

08.15.2008 at 11:04AM PDT, ID: 23652105 | Points: 125
[x]
Attachment Details

The exact printer name

Asked by burak2102 in Mac OS 10.5 (Leopard), Apple Operating Systems, Visual Basic v1.0.5.x

Tags: , ,

How can I addapt the macosx printer to strings below. What should be the exact printer name? In the printer dialog its written as  HP Laserjet P2015 Series (2F7CB9). When I put this into macro string, it rejects. Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
Sub PrintToAnotherPrinter()
Dim STDprinter As String
    STDprinter = Application.ActivePrinter
    Application.ActivePrinter = "microsoft fax on fax:" 
    ' change printer
    ActiveSheet.PrintOut 
    ' prints the active sheet
    Application.ActivePrinter = STDprinter 
    ' change back to standard printer
End Sub
[+][-]08.21.2008 at 04:14PM PDT, ID: 22285163

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.26.2008 at 12:51PM PDT, ID: 22583098

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 14-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_2_20070628