ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Printer Tray (https://www.excelbanter.com/excel-programming/351246-printer-tray.html)

Mike Archer

Printer Tray
 
Hello-
Is it possible to specify the manual feed tray when using the printout method?
--
Thanks,
Mike

ben

Printer Tray
 
Mike
No not using that method my guess is your going to have to pull printer
information and write it back using an API Call
try here for a nice list of API calls

http://www.mentalis.org/apilist/apilist.php


--
When you lose your mind, you free your life.


"Mike Archer" wrote:

Hello-
Is it possible to specify the manual feed tray when using the printout method?
--
Thanks,
Mike


Peter Rooney

Printer Tray
 
Mike,

Have you tried using SENDKEYS to specify settings for your printer?

These work to alter the portrait/landscape simplex/duplex settings on my
LaserJet5SI.

%FU is the same as Alt-F (File) Setup
In the first example, %O is Alt-O (Options) then you just add whatever
letters you'd have to type to do the job manually.

Hope this helps

Pete



Sub PrinterSetupPortraitDuplex()
SendKeys "%FU%O%RD~~"
End Sub

Sub PrinterSetupLandscapeDuplex()
SendKeys "%FU%O%LT~~"
End Sub

Sub PrinterSetupPortraitSimplex()
SendKeys "%FU%O%RN~~"
End Sub

Sub PrinterSetupLandscapeSimplex()
SendKeys "%FU%O%LN~~"
End Sub



"Mike Archer" wrote:

Hello-
Is it possible to specify the manual feed tray when using the printout method?
--
Thanks,
Mike



All times are GMT +1. The time now is 02:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com