benpoole.com

“It is a very sad thing that nowadays there is so little useless information.”

Comment - RE: Automate printer settings (Landscape or Portrait sir?)

Comment by Lynn Janisch on 24 Apr 2006 ():

I am trying to use your lotus script to set the printer to landscape mode. I am using the windows XP operating system and the lotus notes client 6.5. When I call the SetPrinterLandscape sub it errors with unable to open default printer. Tracking the code I think the lngPrinter variable is never getting set. In OpenDefaultPrinter sub I am confused by the line intResult = OpenPrinter(strDeviceName, lngPrinter, pdefs) as I see no OpenPrinter sub or function. Do you know if anyone has this code or something like it working for windows xp as this is vary valuable to me.


» In response to Automate printer settings (Landscape or Portrait sir?)

   Automate printer settings (Landscape or Portrait sir?) (Ben Poole 20 Aug 2002)
   ... Notes for Win2k users (Ben Poole 6 Sep 2002)
   RE: Automate printer settings (Landscape or Portrait sir?) (Lynn Janisch 24 Apr 2006)
   RE: Automate printer settings (Landscape or Portrait sir?) (Ben Poole 24 Apr 2006)
   RE: Automate printer settings (Landscape or Portrait sir?) (Skip 25 May 2006)

Add a comment...