Skip to Content
author's profile photo Former Member
Former Member

vs 2010 app prints single label as admin user, double when logged in as other user

I know double printing of labels has been addressed many times on here, but I can't find anything relating to what is happening in this instance.

OS - Win 7

VS2010 SP 1

CRforVS2010 SP14

Printer. Eltron TLP 2742

I developed a Windows label app that simply prints a barcode label from a textbox input. I developed it under the admin account.I tested it out and It works fine. A nice singel 2X4 barcode label.

Moved the exec and config files to a folder in the Program Files (x86) folder and ran the exe from there. Again, it worked fine.

I then logged out and back in as another user. When I ran the exe, I got 2 labels, one of which was blank.

I then logged out of the other user and back in as Administrator. I copied the vs 2010 project from the Administrator vs 2010 folder to the other users 2010 folder, logged back in as the other user, opened the project in vs 2010 and proceeded to compile and run the program in the development environment. I got 2 labels again, 1 blank, 1 with the barcode.

Both developed programs use the same report from a designated folder in the root of C.

The code sets the "Disassociate Formatting Page Size and Printer Paper Size" property to true prior to printing the label. .

I'm at a loss.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 27, 2015 at 02:57 PM

    Sorry. I no sooner hit post, when I realized it was the stock size set up in the printer driver software.

    All is working, now.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.