Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1033795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:17:11+00:00 2026-05-16T14:17:11+00:00

I got a weird problem. I have a program that (does many things but

  • 0

I got a weird problem. I have a program that (does many things but also) show pdf via axAcroPDF control. In the control, I hide the toolbar because I dont want the user to have access to them, so I made a Print button (the only feature I want them to have access).

Now, I went throu the hell to find how to change the default printer because Adobe thought it would be smart to not allow to pass the printer path in their printAll() function, go figure.

There is 2 kind of paper, one cheap and one very expensive, so depending of what type of document, it will print on one printer else the other (and must not screw up else it will be expensive).

So here it goes, PrintA is the default printer for everything and PrintB is the expensive paper printer.

If I print with PrintB, my program keep in memory the current default printer, switch the default printer to PrintB, print the document, then switchback to PrintA.
Problem is, after that if I try to print a normal document, it will print with PrintB (even if PrintA is the default printer).

The opposite is also true. If I print a normal document with PrintA first, after that, it will still use PrintA to print special documment.

This will do it until I close the program. So I thought at first it was my program, but I debugged it and everything was fine. I even test with printWithDialog() and first time it pass throu it, it will pop the dialog, but subsequent times it pass throu, it will do nothing :O

So I am totally lost on how to fix this and I feel I will need to give access to the toolbar and have them set the printer and amount of prints themselves (which is a very very bad idea, you have no idea how dumb they are).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:17:11+00:00Added an answer on May 16, 2026 at 2:17 pm

    We finally figured that all our problems would be better if we didnt had to deal with Adobe. That is exactly what we did. We installed Foxit and all our printer drama went away!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a weird problem. I've created a procedure in PHP that does these
I have got a weird problem here, and more interesting that it works fine
I've got a weird problem that I can't understand... I have a simple HelloWorld
I've got a weird problem that i don't understand why it happened. I made
I am facing a weird problem. I have got a file called in which
I got a VERY weird problem happening with ALL my DocumentCompleteEventHandlers. Say I have
ive got a really weird problem. i have no clue why its not working.
I know how to use RVM, but now I have a weird problem, which
I have been puzzled by this weird problem and it got me stuck. Please
I'm trying to build a Debian package, but I've got this weird pseudo-directory problem.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.