1. RE: Printing

I can print fine from WordPad and NotePad and the program editor I use. 
I just can't print anything using getPrinter(). I've issolated the 
problem by placing a message_box before and after the getPrinter() 
statement. I see the first messagebox message, followed by the Printer 
Err and then my second messagebox message. The Printer Dialog does not 
appear.

Derek Parnell wrote:
> Do you get the error with any other software? Or just Euphoria?
> ----- Original Message ----- 
> From: "Judith" <camping at txcyber.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Saturday, March 02, 2002 7:43 AM
> Subject: Printing
> 
> 
> > The last time I used my printer with Win32lib was before (1) I installed 
> > 
> > Eu 2.3 and (2) I got a new printer with a USB port.
> > 
> > Now when attempting to use getPrinter() routine from Win32lib I get a 
> > message with heading "Printer Err", a warning icon and message "An error 
> > 
> > occured during this operation" which doesn't appear to come from 
> > Win32lib so I assume it is from API PrintDlg. I get the error on both 
> > machines, one Win98 and the other XP. My version of comdlg32.dll is 
> > dated 1999 on Win98 and 8/18/2001 on the XP.  I get the error whether I 
> > use the USB or Serial Cable with appropriate vendor software added. I 
> > get this error from Win32lib's Generic.exw so it is not related to my 
> > .exw program. I even traded back to the store the printer and got a 
> > different brand and still get the error.
> > 
> > Anyone have an idea?
> > 
> > Judith
> > 
> >

new topic     » topic index » view message » categorize

2. RE: Printing

I renamed Euphoria to something else then installed Eu 2.2 on the XP. 
That is all I changed. The Printer Dialog works again. I renamed 
Euphoria to something else and then installed Eu 2.3 from the zip file 
version. The Printer Dialog works. Maybe my first installation had a 
problem -- but on both machines? I'll see if doing this also clears up 
the problem with the Win98 machine and report back.

Judith

Judith wrote:
> I can print fine from WordPad and NotePad and the program editor I use. 
> I just can't print anything using getPrinter(). I've issolated the 
> problem by placing a message_box before and after the getPrinter() 
> statement. I see the first messagebox message, followed by the Printer 
> Err and then my second messagebox message. The Printer Dialog does not 
> appear.
> 
> Derek Parnell wrote:
> > Do you get the error with any other software? Or just Euphoria?
> > ----- Original Message ----- 
> > From: "Judith" <camping at txcyber.com>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Saturday, March 02, 2002 7:43 AM
> > Subject: Printing
> > 
> > 
> > > The last time I used my printer with Win32lib was before (1) I installed 
> > > 
> > > 
> > > Eu 2.3 and (2) I got a new printer with a USB port.
> > > 
> > > Now when attempting to use getPrinter() routine from Win32lib I get a 
> > > message with heading "Printer Err", a warning icon and message "An error 
> > > 
> > > 
> > > occured during this operation" which doesn't appear to come from 
> > > Win32lib so I assume it is from API PrintDlg. I get the error on both 
> > > machines, one Win98 and the other XP. My version of comdlg32.dll is 
> > > dated 1999 on Win98 and 8/18/2001 on the XP.  I get the error whether I 
> > > use the USB or Serial Cable with appropriate vendor software added. I 
> > > get this error from Win32lib's Generic.exw so it is not related to my 
> > > .exw program. I even traded back to the store the printer and got a 
> > > different brand and still get the error.
> > > 
> > > Anyone have an idea?
> > > 
> > > Judith
> > > 
> > >

new topic     » goto parent     » topic index » view message » categorize

3. RE: Printing

It worked with the Win98 machine also. I'm at a loss to know what 
happened. I know I used the Installer for the Win98 but used the zip 
version for the XP so that is not the problem. And I had renamed the 
Euphoria folder prior to installation in both cases. <shrug>

Anyway all is now ok and I got a better printer out of this than the one 
I first bought.

Judith

 
Judith wrote:
> I renamed Euphoria to something else then installed Eu 2.2 on the XP. 
> That is all I changed. The Printer Dialog works again. I renamed 
> Euphoria to something else and then installed Eu 2.3 from the zip file 
> version. The Printer Dialog works. Maybe my first installation had a 
> problem -- but on both machines? I'll see if doing this also clears up 
> the problem with the Win98 machine and report back.
> 
> Judith
>

new topic     » goto parent     » topic index » view message » categorize

4. RE: Printing

I spoke to soon!

I had forgotten to run the patch to change EU exw from 3.1 to 4.0 and 
after I applied it Printer Dialog no longer worked. That was the thing I 
had changed, not versions of Euphoria nor types of printers.

So where is the problem, Eu or Win32lib?

Judith

Judith wrote:
> It worked with the Win98 machine also. I'm at a loss to know what 
> happened. I know I used the Installer for the Win98 but used the zip 
> version for the XP so that is not the problem. And I had renamed the 
> Euphoria folder prior to installation in both cases. <shrug>
> 
> Anyway all is now ok and I got a better printer out of this than the one 
> 
> I first bought.
> 
> Judith
> 
>  
> Judith wrote:
> > I renamed Euphoria to something else then installed Eu 2.2 on the XP. 
> > That is all I changed. The Printer Dialog works again. I renamed 
> > Euphoria to something else and then installed Eu 2.3 from the zip file 
> > version. The Printer Dialog works. Maybe my first installation had a 
> > problem -- but on both machines? I'll see if doing this also clears up 
> > the problem with the Win98 machine and report back.
> > 
> > Judith
> > 
>

new topic     » goto parent     » topic index » view message » categorize

5. RE: Printing

I can confirm your problem using a patched version of Eu version 2.2. I 
never noticed because I don't print stuff using win32lib.

I'll dig in and find out what's happening (I'm willing to bet it's 
Win32lib...)

-- Brian

Judith wrote:
> I spoke to soon!
> 
> I had forgotten to run the patch to change EU exw from 3.1 to 4.0 and 
> after I applied it Printer Dialog no longer worked. That was the thing I 
> 
> had changed, not versions of Euphoria nor types of printers.
> 
> So where is the problem, Eu or Win32lib?
> 
> Judith
> 
> Judith wrote:
> > It worked with the Win98 machine also. I'm at a loss to know what 
> > happened. I know I used the Installer for the Win98 but used the zip 
> > version for the XP so that is not the problem. And I had renamed the 
> > Euphoria folder prior to installation in both cases. <shrug>
> > 
> > Anyway all is now ok and I got a better printer out of this than the one 
> > 
> > 
> > I first bought.
> > 
> > Judith
> > 
> >  
> > Judith wrote:
> > > I renamed Euphoria to something else then installed Eu 2.2 on the XP. 
> > > That is all I changed. The Printer Dialog works again. I renamed 
> > > Euphoria to something else and then installed Eu 2.3 from the zip file 
> > > version. The Printer Dialog works. Maybe my first installation had a 
> > > problem -- but on both machines? I'll see if doing this also clears up 
> > > the problem with the Win98 machine and report back.
> > > 
> > > Judith
> > > 
> >

new topic     » goto parent     » topic index » view message » categorize

6. RE: Printing

Not much help but I've run out of time for now.

xPrintDlg is returning 0 and CommDlgExtendedError is returning 
PDERR_INITFAILURE.  But only fails on patched version of interpretter.  
I'll keep digging when I get a chance.

For what it's worth, I'm testing on XP and the SDK mentions:
Windows 2000/XP: The PrintDlg function has been superseded by the 
PrintDlgEx function.  (But we know it works using the unpatched 
version...)

-- Brian

Derek Parnell wrote:
> ----- Original Message ----- 
> From: "Brian Broker" <bkb at cnw.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Saturday, March 02, 2002 11:10 AM
> Subject: RE: Printing
> 
> 
> > I can confirm your problem using a patched version of Eu version 2.2. I 
> > never noticed because I don't print stuff using win32lib.
> > 
> > I'll dig in and find out what's happening (I'm willing to bet it's 
> > Win32lib...)
> > 
> 
> Me too blink  Let me know if you find anything Brian.
> 
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu