Re: Changing printer settings with Rundll32 - XP Embedded
- From: Marshall <Marshall@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 23 Oct 2006 09:22:02 -0700
KM - One other thing that I have noticed through depends.exe. On my regular
XP machine Rundll32 calls printuientry, then later on Ole32 loads the
printui.dll. On my XP Embedded machine ole32.dll does not load the
printui.dll. Not sure why??
Also, regarding the comment i made about failing after gdi32 call. That was
wrong...GDI32 is not failing...it is throwing up the message box "Operation
could not complete".
"Marshall" wrote:
KM -I was not the original builder of the image, but I am now. I have the.
machine where they created the image using Target and Component designer. I
can re-build the image...although it is not an option for this problem. The
reason is that we (Coinstar) has already deployed the current image on 12
thousand machines. Anyway...as you know I'm just trying to change an Advanced
printer setting for our Swecoin printer. What I can do is send down missing
Windows DLLs or update existing DLLs.
I will try the Filemon tool and let you know what I find.
Marshall
"KM" wrote:
How about monitoring the command launch with FileMon tool from www.sysinternals.com?
If a Dll is missing you'd see there are failures on loading that dll in the FileMon log.
You may certainly want to analyze the FileMon log first at the time when that call to GDI32 you mentioned you caught with
DependencyWalker is failing.
Btw, I've asked you this earlier, was it you who developed the image? Do you have a way to change the image now, I mean can you
rebuild it with some components added?
--
=========
Regards,
KM
"Marshall" <Marshall@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:79866966-8B7E-4A17-BA52-07439CC248F0@xxxxxxxxxxxxxxxx
KM - Yes the Print Spooler service is running.
"KM" wrote:
Marshall,
DependencyWalker showing missing msjava.dll is typically a bogus message. You can safely ignore it.
Quick question, did you make sure Print Spooler service is running before you issued that command?
--
=========
Regards,
KM
KM - I was missing msjava.dll. Although, I'm still having the same problem.
When I profile Rundll32 with the command line ---
printui,PrintUIEntry /Ss /n "TTP1020" /a "c:\temp\settings.dat" u ---
I still get the "Operation cannot complete" error. In the dependency walker
it seems to be failing after a call to GDI32.dll -- GetTextExtentExPointWPri"
called from USP10.DLL
"KM" wrote:
Marshall,
You may be missing a dynamic dependency. You can find out if you run the command line you mentioned earlier through the
DependencyWalker Profiler.
Open up printui.dll in DependencyWalker, then you will see a new Profile menu on the top. If you select Start Profile it will
query
you for the command line to use.
--
=========
Regards,
KM
I did run depends on the printui.dll and found no problems. Any other ideas?
"KM" wrote:
Marshall,
The issue you are seeing is likely due a missing dependency(ies). You may want to run that command on target device through
DependencyWalker and see what's missing.
If, and probably will, something is missing you just add those components to your image and redeploy it.
Sorry for a cliche reply but you haven't mentioned anything about the print related components included in your XPe image.
--
=========
Regards,
KM
Using the command -- rundll32 printui.dll,PrintUIEntry /Ss /n "TTP1020" /a
"c:\settings.dat" u
causes the error dialog box "Operation cannot be completed".
Notes:
-- I'm logged in as an Administrator.
-- TTP1020 is the printer name.
-- XP Embedded operating system.
-- I'm trying to save off the printer settings.
Anyone have an idea why this command does not work on my XP Embedded machine?
- Follow-Ups:
- References:
- Re: Changing printer settings with Rundll32 - XP Embedded
- From: KM
- Re: Changing printer settings with Rundll32 - XP Embedded
- From: KM
- Re: Changing printer settings with Rundll32 - XP Embedded
- From: KM
- Re: Changing printer settings with Rundll32 - XP Embedded
- From: Marshall
- Re: Changing printer settings with Rundll32 - XP Embedded
- From: KM
- Re: Changing printer settings with Rundll32 - XP Embedded
- From: Marshall
- Re: Changing printer settings with Rundll32 - XP Embedded
- Prev by Date: Re: wrtiing to a physical address
- Next by Date: Re: cloning /reseal process clonges the user priviliege
- Previous by thread: Re: Changing printer settings with Rundll32 - XP Embedded
- Next by thread: Re: Changing printer settings with Rundll32 - XP Embedded
- Index(es):
Relevant Pages
|