DWG to PDF Control Component (DWG2PDF-X)
Convert DWG/DXF/DWF to PDF without AutoCAD

Quick Start Guide (64-bit Control)

Step 1: Register the DLL Component

Double-click reg.bat to automatically register DWGTOPDFX64.dll on your system.
If registration fails: 
Open Command Prompt as Administrator via:
Start Menu → Windows System → Right-click "Command Prompt" → Run as Administrator
Manually register the DLL using: regsvr32 DWGTOPDFX64.dll

Step 2: Configure PostScript (PS) Support
Copy PS Files: Move all PS-related files/folders to the default directory: C:\Windows\System32\PS\
Update Registry: Run PSpath64.reg to automatically add the PS path to the system registry.
Manual Registry Edit (Alternative): Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\AFPL Ghostscript\8.53
Verify/create the GS_LIB key with the following value:
C:\Windows\System32\ps\lib;C:\Windows\System32\ps\fonts

Step 3: Test with Example VBScript
Use the provided sample script (example.vbs) in the trial package to verify functionality.
Ensure the script executes without errors and generates the expected PDF output.

Troubleshooting

Issue 1: Blank PDF Output
Cause: Missing dependencies (gdiplus.dll，gsdll64.dll, gsdll641.dll).
Solution: Copy the following files to C:\Windows\System32\:
gdiplus.dll
gsdll64.dll
gsdll641.dll

Issue 2: "PS Path Missing" Error
Cause: Incorrect or missing PS path in the registry.
Solution: Verify the GS_LIB registry key (see Step 2).
Ensure PS files exist in C:\Windows\System32\PS\.

Issue 3: "Conversion Completed" but No PDF Generated
Possible Causes:
Incorrect PS Path: Confirm the PS path matches the registry entry.
Insufficient Permissions: Run the script as Administrator or choose a different output folder.
Output Folder Issues: Test saving to a simple path (e.g., C:\temp\output.pdf).

Key Notes

Admin Privileges: Required for DLL registration and writing to system folders.
Ghostscript Compatibility: Ensure Ghostscript 8.53 is installed if custom PS paths are used.
Trial Limitations: The free trial may include watermarks or functional restrictions.