Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Maybe....
Option Explicit Sub testme01() Open "LPT1:" For Output As #1 Print #1, "yourstringhere" Close #1 End Sub But why not just page to landscape using file|page setup. If you need a macro, you can record a macro when you do it manually. mikeburg wrote: Is there a way to send a printer escape command to a printer via VBA? For example, in Lotus 123 we could put ||\027&l1O in the 1st cell of a spreadsheet which would set the printer to landscape mode. Thanks for everyones help! mikeburg -- mikeburg ------------------------------------------------------------------------ mikeburg's Profile: http://www.excelforum.com/member.php...o&userid=24581 View this thread: http://www.excelforum.com/showthread...hreadid=473633 -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
members on my network printer not able to print to default printer | Excel Discussion (Misc queries) | |||
Printer Multiple Worksheets with a particular Printer Setting | Excel Worksheet Functions | |||
How do I send a spreadsheet to a printer outside the network? | Excel Discussion (Misc queries) | |||
Printer Set Up in VBA | Excel Programming | |||
Sending print commands to the printer | Excel Programming |