Re: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-05 Thread Ted Roche
On Wed, Dec 5, 2012 at 2:36 AM, Paul McNett p...@ulmcnett.com wrote: I went with #2. All is working again. I never could figure out how to get the PJL stuff out, and I tried several drivers including the 35ppm generic ps driver. A quick Google finds MSKB articles going back to WinNT 3.5

RE: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-04 Thread Dave Crozier
-report-designer-bug.html Dave -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Fred Taylor Sent: 04 December 2012 01:15 To: ProFox Email List Subject: Re: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64 Check to make sure you don't have any printer

Re: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-04 Thread Paul McNett
-boun...@leafe.com] On Behalf Of Fred Taylor Sent: 04 December 2012 01:15 To: ProFox Email List Subject: Re: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64 Check to make sure you don't have any printer driver info stored in the the report (usually first record (objtype=1) .EXPR, .TAG

Re: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-04 Thread Paul McNett
. 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

Re: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-04 Thread Ted Roche
On Tue, Dec 4, 2012 at 8:55 AM, Paul McNett p...@ulmcnett.com wrote: I can't explain why, but setting the printer properties for the PS printer to print directly to the printer appears to have fixed the issue for this user. I've never had to do that before. That's a great clue we ought to

Re: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-04 Thread Ted Roche
Possibly, this MSKB http://support.microsoft.com/kb/2388144 is relevant, although they discuss Server under high stress. On Tue, Dec 4, 2012 at 9:39 AM, Ted Roche tedro...@gmail.com wrote: On Tue, Dec 4, 2012 at 8:55 AM, Paul McNett p...@ulmcnett.com wrote: I can't explain why, but setting

RE: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-04 Thread Tracy Pearson
Ted Roche wrote on 2012-12-04: Possibly, this MSKB http://support.microsoft.com/kb/2388144 is relevant, although they discuss Server under high stress. Ted, Easily happens on a workstation that has an aggressive anti-virus and dueling anti-virus programs. Tracy Pearson PowerChurch

Re: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-04 Thread Paul McNett
I'm not seeing anything in the event log, and we aren't talking about more than 10 pages at a time. Paul On 12/4/12 6:43 AM, Ted Roche wrote: Possibly, this MSKB http://support.microsoft.com/kb/2388144 is relevant, although they discuss Server under high stress. On Tue, Dec 4, 2012 at

Re: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-04 Thread Paul McNett
On 12/4/12 6:39 AM, Ted Roche wrote: On Tue, Dec 4, 2012 at 8:55 AM, Paul McNett p...@ulmcnett.com wrote: I can't explain why, but setting the printer properties for the PS printer to print directly to the printer appears to have fixed the issue for this user. I've never had to do

RE: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-04 Thread Carl Lindner
... ftp://ftp.hp.com/pub/softpaq/sp39001-39500/sp39327.html Have you investigated this option? Carl Lindner -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Paul McNett Sent: Tuesday, December 04, 2012 11:55 AM To: profox@leafe.com Subject: Re: SET PRINTER TO NAME

RE: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-04 Thread Bob Lee
...@leafe.com] On Behalf Of Carl Lindner Sent: Tuesday, December 04, 2012 12:13 PM To: profoxt...@leafe.com Subject: RE: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64 Paul, I use print2pdf (postscript/ghostscript) to generate pdfs in XP/32 and W7/32. It fails in W7/64. I still have not resolved

Re: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-04 Thread Paul McNett
this option? Carl Lindner -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Paul McNett Sent: Tuesday, December 04, 2012 11:55 AM To: profox@leafe.com Subject: Re: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64 On 12/4/12 6:39 AM, Ted Roche

Re: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-04 Thread Ted Roche
On Tue, Dec 4, 2012 at 11:55 AM, Paul McNett p...@ulmcnett.com wrote: I take back my solution to print directly to the printer. The user just emailed to inform me that the print jobs are still PCL. Actually, the fax server (hylafax) thinks they are PCL but in fact I've looked at the file

Re: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-04 Thread Paul McNett
On 12/4/12 10:32 AM, Ted Roche wrote: I'm pretty sure PJL is something like Print Job Language, and the problem is with hylafax rules mis-parsing the result. Some Googling seems to confirm. Yep. I came up with a couple acceptable solutions: 1) write a script to strip the PJL from the

SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-03 Thread Paul McNett
(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

Re: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-03 Thread Fred Taylor
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

Re: SET PRINTER TO NAME (psPrinter) in VFP 8 / Windows 7 64

2012-12-03 Thread Paul McNett
On 12/3/12 5:14 PM, Fred Taylor wrote: Check to make sure you don't have any printer driver info stored in the the report (usually first record (objtype=1) .EXPR, .TAG, TAG2 fields) There are some values you can leave in the EXPR field, like Orientation, etc. Be awarw that if you edit the

RE: Set Printer To Name - Solved

2010-02-03 Thread Kent Belan
It is not a Windows 7 problem. I store printer names in a table to allow for printing reports to different printers. I recently upgraded my computer and the printer driver was named a bit different. When I updated the table with the new driver name all is working good again. Thanks, Kent

Set Printer To Name

2010-02-02 Thread Kent Belan
Hello, I am getting an error on the SET PRINTER TO NAME command in Windows 7. Error accessing printer spooler The help says an internal call to the GetPrinter() function has failed. This works in XP and Vista, so something is different in 7. This is old code and just found the error test

RE: Set Printer To Name

2010-02-02 Thread Tracy Pearson
I haven't heard of our Windows 7 users having this problem. Do you have a printer setup up on the system? Has the spooler errored and needs to be restarted? -Original Message- From: Kent Belan Sent: Tuesday, February 02, 2010 6:11 PM Hello, I am getting an error on the SET PRINTER

Re: SET PRINTER TO NAME

2006-07-21 Thread Peter Cushing
Dave Crozier wrote: I must admit though that I've always shyed (is that the correct spelling)?) Shied http://www.chambersharrap.co.uk/chambers/chref/chref.py/main?query=shiedtitle=21stsourceid=Mozilla-search Peter ___ Post Messages to:

Re: SET PRINTER TO NAME

2006-07-21 Thread Peter Cushing
they just pick a printer from the list presented to them. If they print to one our canon printers called CLC3200 what happens is that I have set up a second printer CLC3200-2 which prints to exactly the same place but is defined as duplex. E.g. cPrinter = CLC3200 set printer to name (cPrinter

RE: SET PRINTER TO NAME

2006-07-20 Thread Fletcher Johnson
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Crozier Sent: Tuesday, July 18, 2006 2:43 AM To: 'ProFox Email List' Subject: RE: SET PRINTER TO NAME Andy, I confirm that your observations are in fact true. I always use Sys(1037) and select the Printer

RE: SET PRINTER TO NAME - Solved

2006-07-19 Thread Kent Belan
I don't use getprinter() when I call set printer to name (lcPrinter) I have a workstation settings page that the user can select where to print various reports and labels and that is where they select the printer. When I print the report or label, I retrieve the printer selection from

RE: SET PRINTER TO NAME

2006-07-18 Thread Sancharnet
To: 'ProFox Email List' Subject: RE: SET PRINTER TO NAME Kent, I just ran into this same problem. The user clicks on a button to set up printer to which I then call Sys(1037). Then they can click on print. The problem I have is that, even though they set the properties as desired (in this case

RE: SET PRINTER TO NAME

2006-07-18 Thread Andy Davies
Hi, I did a bit more playing with this (vfp9 ReportBehavior=80): SET PRINTER TO NAME GETPRINTER( ) *seems to work OK - but see below** ?SET(Printer,2) Windows Default ?SET(Printer,3) New Fox Default select foo, bah from somewhere into cursor xxx READWRITE CREATE REPORT tst FROM xxx layout

RE: SET PRINTER TO NAME

2006-07-18 Thread Andy Davies
aliter: for tag read expr Andrew Davies  MBCS CITP   - AndyD    8-)# ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.

RE: SET PRINTER TO NAME

2006-07-18 Thread Dave Crozier
10:31 To: profox@leafe.com Subject: RE: SET PRINTER TO NAME Hi, I did a bit more playing with this (vfp9 ReportBehavior=80): SET PRINTER TO NAME GETPRINTER( ) *seems to work OK - but see below** ?SET(Printer,2) Windows Default ?SET(Printer,3) New Fox Default select foo, bah from somewhere

RE: SET PRINTER TO NAME

2006-07-18 Thread Andy Davies
Dave Crozier said I always use Sys(1037) Ah yes, good old Sys(1037) - a sort of software Swiss Army Knife designed by Heath Robinson g Andrew Davies  MBCS CITP   - AndyD    8-)# ** This email and any files transmitted

RE: SET PRINTER TO NAME

2006-07-18 Thread Malcolm Greene
Devendra, Excellent tip and welcome to Profox! Malcolm snip This is a problem when Getprinter() is called. You can provide a printer name otherwise also. Provide a combo with installed printerlist on report screen. Populate the combo with Aprinter(). For all report get printer name from this

Re: SET PRINTER TO NAME

2006-07-18 Thread D C Jariwala
Hi Malcom, Thanks. Devendra - Original Message - From: Malcolm Greene [EMAIL PROTECTED] To: profox@leafe.com Sent: Tuesday, July 18, 2006 5:46 PM Subject: RE: SET PRINTER TO NAME Devendra, Excellent tip and welcome to Profox! Malcolm snip This is a problem when Getprinter