Re: Printing Issues with 64-bit Win and VFP

Author: Ted Roche

Posted: 2014-05-14 at 14:22:17

On Sat, May 10, 2014 at 4:12 AM, Andrew MacNeill <lists@aksel.com> wrote:

> Hope all are good. I'm seeing a weird message on certain machines and my

> VFP app.

> It may be runtime based but it's not consistent.

>

> On a 64-bit machine (Win7) at a client, when trying to print, I get Error

> Loading Printer Driver for network printers. It can't get the device

> context.

> I've even just tried creating a report directly in VFP and still get the

> same results.

> Now, doing the same thing on a another computer works fine.

>

> Part of me seems to think this is network security related but I can't be

> sure. The project occurs even if I launch VFP as Admin.

>

> Has anyone seen this before?

>

>From the first error you describe, I'd think the print server lacked the

32-bit drivers: http://technet.microsoft.com/en-us/library/cc732946.aspx

When you say "doing the same thing on another computer works fine" is it

also a 64-bit Win7 machine, and also accessing the same printer?

VFP runs as a 32-bit app, which causes 64-bit windows to run it through an

emulation, Windows on Windows or SysWow64. Shades of Win32s, right? So,

essentially, the remote printer server sees a 32-bit machine requesting

32-bit printer driver software, which sometimes isn't installed by default.

OTOH, if the two machines really are "the same" then, yes, that means the

problem is something else, perhaps with user account priviledges (can you

try logging in as the same user to each machine?)

--

Ted Roche

Ted Roche & Associates, LLC

http://www.tedroche.com

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CACW6n4tkHKodEdx+TzYW2B64QOLnH7kJ59oAUFcDpFJq=-VUDQ@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2014 Ted Roche