Board Logo
« PRINTERDIALOG: does not change printer »

Welcome Guest. Please Login or Register.
Jan 21st, 2018, 03:03am


Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ


« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: PRINTERDIALOG: does not change printer  (Read 93 times)
tsh73
JB-Supporter


member is offline

Avatar




PM

Gender: Male
Posts: 3636
xx PRINTERDIALOG: does not change printer
« Thread started on: Nov 21st, 2017, 3:28pm »

Selecting printer in PRINTERDIALOG does not change PrinterName$.
At least did not worked for me under Win10
(
dialog shows three printers,
but PrinterName$ always return default printer
)
User IP Logged

Q: "And if I took your codes and compile them, and sell them for a profit"?
A: Go ahead. I had my share of good then I coded it for fun, if you can make better use of it - please do.
(enjoying JB 1.01 on WinXP, netbook and desktop)
Rod
Administrator
ImageImageImageImageImage


member is offline

Avatar

Graphics = Goosebumps!


PM

Gender: Male
Posts: 3151
xx Re: PRINTERDIALOG: does not change printer
« Reply #1 on: Nov 22nd, 2017, 03:26am »

A longstanding bug, Liberty has an api based solution.

http://lbpe.wikispaces.com/PrinterDialogClone
User IP Logged

tsh73
JB-Supporter


member is offline

Avatar




PM

Gender: Male
Posts: 3636
xx Re: PRINTERDIALOG: does not change printer
« Reply #2 on: Nov 22nd, 2017, 07:45am »

Having a solution is definitely better then not having one.

But 10 pages of code just to work around a bug is too much, IMHO.
(I wonder if calling external EXE just to show printer dialog in any other language without this bug is cleaner solution).
User IP Logged

Q: "And if I took your codes and compile them, and sell them for a profit"?
A: Go ahead. I had my share of good then I coded it for fun, if you can make better use of it - please do.
(enjoying JB 1.01 on WinXP, netbook and desktop)
CarlGundel
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 155
xx Re: PRINTERDIALOG: does not change printer
« Reply #3 on: Nov 22nd, 2017, 08:11am »

Yeah, this is a known bug. I am not going to fix bugs in Just BASIC that are not already fixed in LB for this release.

The bugs I am try to fix here are the ones that are accidentally created from the converting of LB to JB2.

-Carl
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Conforums Terms of Service | Membership Rules | Home | Search | Recent Posts | Notification | Format Your Message | Installation FAQ

Just BASIC wiki
Wikispaces

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls