Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Microsoft
cancel
Showing results for 
Search instead for 
Did you mean: 

paper tray selection with VBA macro with HP LJ 4000

Stephan Zeeh
Occasional Visitor

paper tray selection with VBA macro with HP LJ 4000

Hi,

I need to select the paper tray of a
HP LJ 4000 with a VBA macro.

I tried to get the right commands with the
macro recorder, but the paper tray selection
didn't appear in the source code of the
recorded macro.

Please help me or give me a hint!

Thank you very much!
1 REPLY
Alexander M. Ermes
Honored Contributor

Re: paper tray selection with VBA macro with HP LJ 4000

Hi there.
Start the print file with the escape sequences for the paper source selection :
e/&l1H upper tray
e/&l2H manual feed
e/&l3H manual envelope feed
e/&l4H lower tray
e/&l5H envelope feeder
Don't forget the reset at the end of the file.
e/E reset
If you need the ASCII values, let me know.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"