Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, July 27, 2007 8:32:16 AM(UTC)

toby  
toby

Groups: Registered
Posts: 4


It seems that the task printer has a 64 character file name length limit.

I have set up a task printer to create pdf files and to use the filename. The printer converts special characters in the file path (/  :  .  )  to '_' underscore to create a file name,  then saves the file in the specified save directory.  The file name (excluding extension) is truncated at 63 characters.

But this is inconvenient because I want to recover the original name and directory from the file and it has been truncated. 64 chars seems unreasonably short.

Is there a way to extend this limit to 256 chars?

Thanks

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, July 29, 2007 3:50:01 AM(UTC)

Yasir Alani  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)


Windows limits the file name to 255 characters only. The file name includes the full path of the file.


 


To increase the number of characters to the maximum,
you need to save at the root folder (like C:\), in this case you should be able to use a maximum of 252 characters for the file name.

 
#3 Posted : Monday, July 30, 2007 4:56:56 AM(UTC)

toby  
toby

Groups: Registered
Posts: 4


As I mentioned,  I am finding a limit of 64 characters for the filename including the path, which is less than the 255 limit of windows. The filename itself is relatively short, approx 16 characters.

Thanks for looking into this

 
#4 Posted : Tuesday, July 31, 2007 10:56:44 PM(UTC)

Yasir Alani  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)


I have tried this on my computer:


1. I created a task printer
that saves files as TIF in "D:\" using the option to "Save using the document name".


2. I created a file titled "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890.txt"
in "C:\". This file name is exactly 103 characters long (path + file name).


3. I printed this file with
the task printer, and the task printer created a TIF file in "D:\" titled
"1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 - Notepad.txt". The file created was 113 characters long.


 


My operating system is
Windows XP SP2, and I created the Task printer with ePrint 5 (build 5.0.1.117 – 14.5.0.050).


 


What is your operating system (and service pack if any)? And what is the version (and build) of ePrint that you are using?

 
#5 Posted : Thursday, August 9, 2007 1:27:59 PM(UTC)

toby  
toby

Groups: Registered
Posts: 4


I am converting xml to pdf, not txt to tif as in your test.

When I create an xml file with the same name as yours: "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890.xml" in c:\, then view the xml file with Internet Explorer 6, and print to pdf the file name is truncated to 64 chars, with name:

"file____C__12345678901234567890123456789012345678901234567890123.pdf"

My operating system is Windows XP SP2, and eprint ver is 5.0.1.117 – 14.5.0.015

 
#6 Posted : Saturday, August 11, 2007 10:27:16 PM(UTC)

Yasir Alani  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)


The limitation you are getting is from IE6 and not from ePrint.


 


You can check this out by doing the following:


1. Open the Windows Printers folder, and open the ePrint printer that you'll be using.


2. Open the XML file in IE6, then print it to that ePrint printer. Don't save yet.


3. Go back to ePrint Printer's
window, you can see that the name of the document is sent to the printer as 63 characters long only.


 


This is why you are getting that limitation when printing using IE6.


 


You can also verify that the limitation is from IE6 by
printing the same file to another printer (like a laser printer), and print the
document while you are opening that Printers window. The print job will be sent to that printer 63 characters long too.
 
#7 Posted : Monday, August 13, 2007 10:41:18 AM(UTC)

toby  
toby

Groups: Registered
Posts: 4


Thanks alot!

 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.259 seconds.