printerSetCurrent is hanging

|
|
|
GaryG
Arrow Box Company
|
Our entire user base is running 11.0.0.676 on Windows 10. I believe this is the latest version of Paradox.
Today, there is 1 user whose Paradox app is hanging when executing the command printerSetCurrent. Rebooting does not correct the issue.
code snippet:
stPrnName = "Win2PDF"
if printerSetCurrent(stPrnInfo) then ; THIS LINE HANGS setRegistryValue("Software\\Dane Prairie Systems\\Win2PDF", "PDFFileName", pathstring , regKeyCurrentUser) setRegistryValue("Software\\Dane Prairie Systems\\Win2PDF", "file options", 2, regKeyCurrentUser) setRegistryValue("Software\\Dane Prairie Systems\\Win2PDF", "persistent", "0", regKeyCurrentUser) else errorShow("Failed to make Win2PDF the current printer") endIf
Has anyone run into similar issues with printerSetCurrent?
Thanks,
Gary
|
|
Posted 6 years ago (Thread Starter)
|
|
| About GaryG |
|
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
|
Email Not Verified!
Once email is verified, we will review and approve the account.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18081, 7 replies
Thread Started 7/6/2020 10:54:40 AM
View Counter=925
Last Reply Posted 8/3/2020 1:01:24 PM)
|
|
|
|
Location=0
|
|
| |
|
|
| Moderator |
|
Steven.G
|
yes, that's been the final version of Paradox for many years
step thru the three lines, see if you can see if one hangs, rather than the SetCurrent.. although I have no clue what to suggest once you know.. once those values have been set, why do they have to be reset every time you print?
Steven Green Senior Software Engineer Paradox Support Specialist DOS/WIN
Prestwood IT Solutions 8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610 Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
|
|
Posted 6 years ago
|
|
| About Steven.G |
|
Approved member.
Member subscribes to this thread with a verified email.
|
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18082 (Level 2)
and Parent is 18081
Reply Posted 7/6/2020 11:04:35 AM
|
|
|
|
Location=Myrtle Beach, SC USA
|
|
| |
|
|
|
GaryG
Arrow Box Company
|
It is definitely hanging on the printerSetCurrent command.
That is just a snippet of the code. The larger process saves the name of the current printer, changes the current printer to Win2PDF(which is a PDF writer we are using). At the end of the process, it changes the current printer back to the printer name saved earlier.
I think the only thing left to try is to uninstall Paradox and re-install it.
|
|
Posted 6 years ago (Thread Starter)
|
|
| About GaryG |
|
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
|
Email Not Verified!
Once email is verified, we will review and approve the account.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18083 (Level 3)
and Parent is 18081
Reply Posted 7/6/2020 11:11:06 AM
|
|
|
|
Location=0
|
|
| |
|
|
| Moderator |
|
Steven.G
|
I'd suggest a bad registry entry over a bad paradox, in this case.. uninstall both
Steven Green Senior Software Engineer Paradox Support Specialist DOS/WIN
Prestwood IT Solutions 8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610 Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
|
|
Posted 6 years ago
|
|
| About Steven.G |
|
Approved member.
Member subscribes to this thread with a verified email.
|
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18084 (Level 4)
and Parent is 18081
Reply Posted 7/6/2020 11:28:33 AM
|
|
|
|
Location=Myrtle Beach, SC USA
|
|
| |
|
|
|
GaryG
Arrow Box Company
|
It turns out that installing Adobe Illustrator is the culprit. There must be some incompatibility.
|
|
Posted 6 years ago (Thread Starter)
|
|
| About GaryG |
|
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
|
Email Not Verified!
Once email is verified, we will review and approve the account.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18107 (Level 5)
and Parent is 18081
Reply Posted 8/3/2020 11:10:56 AM
|
|
|
|
Location=0
|
|
| |
|
|
| Moderator |
|
Steven.G
|
wow.. not a totally uncommon combination, but it must have taken some interesting detective work to figure that one out
Steven Green Senior Software Engineer Paradox Support Specialist DOS/WIN
Prestwood IT Solutions 8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610 Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
|
|
Posted 6 years ago
|
|
| About Steven.G |
|
Approved member.
Member subscribes to this thread with a verified email.
|
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18108 (Level 6)
and Parent is 18081
Reply Posted 8/3/2020 11:13:38 AM
|
|
|
|
Location=Myrtle Beach, SC USA
|
|
 |
|
|
|
GaryG
Arrow Box Company
|
Fortunate to have a reliable user.... "the only thing I did different today was install Adobe Illustrator".
|
|
Posted 6 years ago (Thread Starter)
|
|
| About GaryG |
|
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
|
Email Not Verified!
Once email is verified, we will review and approve the account.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18109 (Level 1.1)
Reply to 18108
and Parent is 18081
Thread Started 8/3/2020 11:15:47 AM
|
|
|
|
Location=0
|
|
| |
Most Recent Post
|
|
|
josephpnorris
|
We've had this problem "forever" and haven't figured it out. Windows 7. It seems to come and go, but could be related to unusual status of one of your printers. Try rebooting, etc. Try removing unneeded printers.
|
|
Posted 6 years ago
|
|
| About josephpnorris |
|
Approved member.
Member subscribes to this thread with a verified email.
|
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #18110 (Level 7)
and Parent is 18081
Reply Posted 8/3/2020 1:00:16 PM
|
|
|
|
Location=Lumberton, NJ USA
|
|
Revive Thread!
Add a comment to revive this old thread and make this archived thread more useful.
| Thread #18081 Counter |
| 925 |
|
Since 7/6/2020
|
|
|