Print directory tree problem

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
D.Ilyin
Junior Member
Junior Member
Posts: 6
Joined: 2009-07-09, 10:21 UTC

Print directory tree problem

Post by *D.Ilyin »

Windows 2008 Standard Edition 32 bit English
TC 7.5pb6

1. ALT + F10
2. "Print..." button
=
---------------------------
Total Commander
---------------------------
Printer selected is not valid.
Please report this error to the Author,
with a description of what you were doing when this error occurred!
Continue execution?

Delphi exception: EPrinter

Stack trace:

76D2FBAE 00441BB5 00443C7D 00415B28

00443074 00441AF3 004438BF 0044391B

00444B29 00441BB5 00443C7D 0040CF03

0040CFE8 00415B28 00443074 00441AF3

0044124F 0041588B 00417D0E 004543E0

005E0352 005E71EE 77297510 77297543

76D39A24 76BFA075 76BFBB04 76BFDD11

76BFDD20 76BFDD20 774489E3 774487D8

77448729 76BFECE1 76BFED09 00443D0A

00441BB5 00443C7D 004333F1 00443074

004439BD 004439E0 00413E4C 76B2FD70

76B2FE9F 76B2FE5F 76B2F8E8 76B2F8F4

76B2F8F4 747B712A 747B721B
Press Ctrl+C to copy this report!
---------------------------
Yes No
---------------------------

Does not matter what printer is default.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

Not confirmed under WinXP SP3 (PL)!

Edited: all my printers are virtual.
Last edited by fenix_productions on 2009-07-09, 10:47 UTC, edited 1 time in total.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

No problems here either WinXP SP3.

"Samsung ML-1610 Series" or "HP Color LaserJet 1600"
Margins set to 20 mm.

2D.Ilyin
Maybe your treeinfo.wc file is damaged - try press Alt+F10 and then F2 to update it.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
D.Ilyin
Junior Member
Junior Member
Posts: 6
Joined: 2009-07-09, 10:21 UTC

Post by *D.Ilyin »

I have also havn't problems with XP SP2/3, Vista SP2, Windows 7 RC1.
I have 1 real network printer and 3 virtual. Changing default printer didn't help as i sad above.

Recreating treeinfo.wc didn't help :(. I tried this before post error.
Reinstall of TC also didn't help.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I checked in the Delphi library source, this error is shown when Windows doesn't return a valid handle (device context) for the printer. Normally this should never occur. What's the printer name? Is the printer accessible?
Author of Total Commander
https://www.ghisler.com
D.Ilyin
Junior Member
Junior Member
Posts: 6
Joined: 2009-07-09, 10:21 UTC

Post by *D.Ilyin »

Printer name: HP LaserJet M1522 MFP Series PCL 6
Printer shared name: HPLaserJ
Printer network path: \\alfa.ms-xxxx.ru\HP LaserJet M1522 MFP Series PCL 6

Also virtual printers:
Microsoft Office Document Image Writer
Microsoft Office Live Meeting 2007 Document Writer
Microsoft XPS Document Writer

For this time printer (HP) is not accessable (offline).
#116572
D.Ilyin
Junior Member
Junior Member
Posts: 6
Joined: 2009-07-09, 10:21 UTC

Post by *D.Ilyin »

Just delete network printer now.
Restart Print Spooler service.
Problem still exist.
#116572
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Can you try to set a different default printer?
Author of Total Commander
https://www.ghisler.com
D.Ilyin
Junior Member
Junior Member
Posts: 6
Joined: 2009-07-09, 10:21 UTC

Post by *D.Ilyin »

Yes, i can set any printer as default printer.
I have 1 real network printer and 3 virtual. Changing default printer didn't help as i sad above.
D.Ilyin
Junior Member
Junior Member
Posts: 6
Joined: 2009-07-09, 10:21 UTC

Post by *D.Ilyin »

I think the broblem was absolutely local... i fixed it by the following actions:
1. Removed all printers one by one (XPS was the last) - problem still exist.
2. Remove the last printer and setup it again - problem exist.
3. Again removed XPS printer.
4. In Control Panel\Printers - File - Server Properties... - Drivers remove all drivers for all printers.
5. Install XPS printer driver. And .... now i'm not get error.

Think some files within printer drivers was corrupted. But why others application (i have tried to print in Microsoft Office Document Image Writer
from MS Word and was success) did not any errors?

Anyway thanks for help!
Sorry that distracted :(
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for your feedback on how you resolved the problem!
Author of Total Commander
https://www.ghisler.com
jean3167
New Member
New Member
Posts: 1
Joined: 2009-09-16, 09:06 UTC

Post by *jean3167 »

I think u should use a third party application..
make search on google for the tool print directory.
Post Reply