Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #9231 > unrolled thread

Printer Selection

Started byJames Martin <james@northwoodlumber.com>
First post2016-04-08 11:49 -0400
Last post2016-04-09 12:00 -0400
Articles 3 — 2 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Printer Selection James Martin <james@northwoodlumber.com> - 2016-04-08 11:49 -0400
    Re: Printer Selection Franz Rachbauer <office@rachbauer.org> - 2016-04-08 18:24 +0200
    Re: Printer Selection James Martin <james@northwoodlumber.com> - 2016-04-09 12:00 -0400

#9231 — Printer Selection

FromJames Martin <james@northwoodlumber.com>
Date2016-04-08 11:49 -0400
SubjectPrinter Selection
Message-ID<ne8jml$dd2$1@dont-email.me>
We have a program that has worked well for years. It uses the rpprinter 
functions:

GetPrinters()
SetPrinterByPort()

Since we upgraded to Windows ten we are having problems. The program on 
a setup screen uses GetPrinters() to fill Combo Boxes with the printer 
names and the ports are stored to a setup database. When something needs 
to be printed the user selects from these ports and descriptions in a 
combobox. They sometimes work for a while, then suddenly it prints to a 
wrong printer. In addition the default printer keeps changing without 
any user intervention.

Any ideas?

James

[toc] | [next] | [standalone]


#9232

FromFranz Rachbauer <office@rachbauer.org>
Date2016-04-08 18:24 +0200
Message-ID<ne8m0g$20l$1@gioia.aioe.org>
In reply to#9231
Hi James,
what does program if you use SetPrinterByName instead of SetPrinterByPort?

Franz

Am 08.04.2016 um 17:49 schrieb James Martin:
> We have a program that has worked well for years. It uses the rpprinter
> functions:
>
> GetPrinters()
> SetPrinterByPort()
>
> Since we upgraded to Windows ten we are having problems. The program on
> a setup screen uses GetPrinters() to fill Combo Boxes with the printer
> names and the ports are stored to a setup database. When something needs
> to be printed the user selects from these ports and descriptions in a
> combobox. They sometimes work for a while, then suddenly it prints to a
> wrong printer. In addition the default printer keeps changing without
> any user intervention.
>
> Any ideas?
>
> James

[toc] | [prev] | [next] | [standalone]


#9235

FromJames Martin <james@northwoodlumber.com>
Date2016-04-09 12:00 -0400
Message-ID<neb8mn$cb$1@dont-email.me>
In reply to#9231
In Windows 10 you need to turn off the option that makes the last 
printer used the default. I also found an issue with the code, so we'll 
see how it goes.

James

On 16-04-08 11:49 AM, James Martin wrote:
> We have a program that has worked well for years. It uses the rpprinter
> functions:
>
> GetPrinters()
> SetPrinterByPort()
>
> Since we upgraded to Windows ten we are having problems. The program on
> a setup screen uses GetPrinters() to fill Combo Boxes with the printer
> names and the ports are stored to a setup database. When something needs
> to be printed the user selects from these ports and descriptions in a
> combobox. They sometimes work for a while, then suddenly it prints to a
> wrong printer. In addition the default printer keeps changing without
> any user intervention.
>
> Any ideas?
>
> James

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web