I'm having trouble with one of my legacy VFP8 apps on Windows 7/64. We also 
have XP
and Windows7/32 clients that don't have the issue.

This is in my report framework and I offer different output options from 
preview,
print, email, to fax. When sending to the fax server, I run the report to a
postscript file and send the .ps file to the fax server.

To do this I set up a "Generic PostScript Printer" which is just a HP Laserjet 
2800
PS printer driver set to print to file as the port.

My code then iterates getprinters() and if it finds "Generic PostScript 
Printer" it
uses that and issues (simplified code below):

SET PRINTER TO NAME "Generic PostScript Printer"
REPORT FORM (reportfrx) to FILE (outfile)
SET PRINTER TO DEFAULT

As I said, in all other systems it works just fine but on the Win7/64 system I 
just
set up, apparently the printer isn't getting set to the postscript because the 
file
is (apparently) PCL (the user's default printer is PCL, which leads me to 
believe
that perchance the SET PRINTER call didn't really set the printer for some 
reason).

I need to do some detailed testing on this one system but I can't until the 
user is
gone for the day, so I thought I'd post this here in case anyone has any 
suggestions
in the meantime.

Paul

_______________________________________________
Post Messages to: [email protected]
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/[email protected]
** 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.

Reply via email to