Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Default printer api problem notes/domino R5 I need Help????

Default printer api problem notes/domino R5 I need Help????

Default printer api problem notes/domino R5 I need Help????


Hi all,

I am wondering if there is anyone experienced the same problem and if there is any solution for it.

From my testing, R5 does not honour default printer change. This means that even we use a 'standard Windows API call (thru' Kernel32.dll) to change the Printer from A -> B (LotusScript), Notes will still use the 'Printer A' cached in its memory, and in subsequent printing, it will always use Printer A to print.

A simple test, if one write a simple program to change printer from A -> B, Notes will always show A, however, if you launched other application at this point, e.g. Excel, Word, they all show 'B'.

There are a few suggestions about ways to get around it (e,g by using a sequence of macros, by calling sleep function to let the system changes propagate), however, in R5, these 'get-around' do not work anymore.

I am wondering if there is any way to program an action button which change the default printer to A, print the document to A and then revert
back to whatever being set previously.

Thanks in advance.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close