I'm programming an inventory system and i need to print the inventory output in landscape mode. The text wraps around and throws everything out of alignment.

Here is the code i'm using to print:

Private Declare Function apiShellExecute Lib "shell32.dll" _
Alias "ShellExecuteA" _
(ByVal hwnd As Long, _
ByVal lpOperation As String, _
ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Long) _
As Long

Code behind the print button:
ErrorCode = apiShellExecute(hWndAccessApp, "print", _
"Inventory.txt", vbNullString, vbNullString, 0)

Can i modify this code or edit the printers properties at run-time to make the printout Landscape instead of portrait mode?