News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Print to PDF truncates filename V2016ProPlat

Started by mattyb, June 29, 2016, 06:10:51 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

mattyb

If I print a TCW layout to PDF my filename is getting truncated - currently a filename (with 'x' replacing alphanumeric chars) Wxxxxxxxx_TrenchingStrategyv19xx.pdf is truncated to Wxxxxxxxx_TrenchingStrategyv19x.pdf - ie the last character is omitted. A 33 char name is being shortened to 32 chars. If I save as PDF this doesn't happen. If I try and print  a Word file to PDF, the long name is not truncated ie. Although an Adobe print engine is engaged by printing to PDF, it is behaving differently for different applications.

A bug? And what's causing the truncation - Adobe Acrobat DC or Turbocad?

Anyone seen anything similar?

thanks
Matt

TravisFleenor

mattyb,

Out of curiosity and trying to determine the problem here if you print a word document with the exact same name to the exact same folder does it still not truncate?



Jeff_in_90620

#2
Quote from: mattyb on June 29, 2016, 06:10:51 AM
If I print a TCW layout to PDF my filename is getting truncated - currently a filename (with 'x' replacing alphanumeric chars)

Yes, I've been having the problem the last week or so.

One filename is 44 characters (name only, no '.', no extension, no path); it is shortened to 32 characters (oops... miscounted; 31 characters, actually).

The specific example is file "Side Wall Countertop Hidden Support Bracket.tcw" prints to "Side Wall Countertop Hidden Sup.pdf" using the CutePDF printer driver (which does not exhibit the same problem when printing from Word).


Jeff


Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

mattyb

..and to add, Word file with exact same name (but docx suffix) prints to PDF with full untruncated filename so this looks to be something to do with how Turbocad passes the filename to the Adobe print engine.

I've just experimented in turbocad and found the same as Jeff. I created a file with a long name and printed to PDF.
Full name: This_is_an_empty_file_with_a_very_long_name.pdf 
Print to PDF name: This_is_an_empty_file_with_a_ve.pdf

So this looks to confirm that printing to PDF from turbocad (V16PlatPro) will truncate a filename to 32 characters. This needs to be passed to IMSI - is there a route for this?

Matt

TravisFleenor

mattyb,

I'm the lead tech here. Consider the item passed.

As a point of interest I looked at some other CAD software forums and found that Solidworks and Autodesk have this same problem with Adobe. I think it may be more of the way CAD programs interact with Print to PDF in general as a result. Either way I'll pass this info along to our developers and see if anything can be done to fix it.

In the meantime you can rename the file after it's printed as a work around. Kind of a pain I know but that's all I've got for you right now.

Jeff_in_90620

I've been renaming it as I print (because I don't have the option of appending the name of the Paper space to the filename, as I have requested elsewhere).

So... I don't think its an Adobe-specific issue (especially as Word 2003 has no problem with filename length when printing to PDF).

There are other problems with adherence to the Windows API that are TurboCAD specific.  A couple instances:
1) <Alt> F followed by a numeral will not select a Recent File, as happens in every other Windows program I have.
2) Occasionally, <Alt> F followed by O (not Zero) will occasionally go to the Format menu instead of invoking File Open.  I can often, but not always, resolve this problem by saving, closing and re-opening the file.


Jeff

Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

John R

"Alt+F+#" last worked in TurboCAD 17; since then, nothing.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Jeff_in_90620

That is way too long for a bug of this sort to survive.

I was just being asked about it by an IMSI participant here a few weeks ago.  It was news to him.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

TravisFleenor

I wonder if this is because Alt+F is the shortcut for finishing many operations in TurboCAD? Will pass info along.