Microsoft KB Archive/301444

= An Error Message May Be Displayed When You Use Terminal Services and the Print to File Feature in Application Mode =

Article ID: 301444

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server

-



This article was previously published under Q301444



SYMPTOMS
If you use Terminal Services and attempt to use the &quot;Print to file&quot; feature in Application mode, and your file is targeted to a mapped drive letter that points to a writeable share, you may receive the following error message:

There was an error found when printing &quot; &quot; to [ :\ ]. Do you want to Retry or Cancel?

If you press Cancel, you may receive the following error message:

Start doc printer call was not issued.

A zero-length file is created on the target path.



CAUSE
This problem can occur because during a Terminal Services server client session the access to the drive mappings is not inherited by the Spoolsv.exe program from the user.



RESOLUTION
To resolve this problem, use the universal naming convention (UNC) path to the location that the mapped drive points to, or write the file to a local folder, and then copy the file to the mapped drive.

To use the UNC path, type in the complete UNC path of the file name when you are prompted for &quot;Output File Name:&quot;. For example,

UNC format: \\ \ \

Example: \\WinSrv1\Share1\TestPrint.prn, where &quot;WinSrv1&quot; is the server name, &quot;Share1&quot; is the share name, and &quot;TestPrint.prn&quot; is the resulting print file name.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kbenv kberrmsg kbnofix kbprb kbprint KB301444

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.