![]() ![]() "RegCreateKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, _īyVal Reserved As Long, ByVal lpClass As String, ByVal dwOptions _Īs Long, ByVal samDesired As Long, ByVal lpSecurityAttributes _Īs Long, phkResult As Long, lpdwDisposition As Long) As Longĭeclare Function RegOpenKeyEx Lib "advapi32.dll" Alias _ Public Const ERROR_INVALID_PARAMETERS = 87ĭeclare Function RegCloseKey Lib "advapi32.dll" _ĭeclare Function RegCreateKeyEx Lib "advapi32.dll" Alias _ Public Const HKEY_LOCAL_MACHINE = &H80000002 Public Const HKEY_CURRENT_USER = &H80000001 Public Const HKEY_CLASSES_ROOT = &H80000000 Registry settings, so you aren't prompted for filename and other things Hi, this is what i found to work for me for adobe acrobat 6, use carefully and at your own risk What should I do to print a pdf file in VBA? I'm in AutoCAD (Map) 2006. To create an Adobe PDF document, go to the source application. "Acrobat could not open 'xxxxx.pdf' because it is either not a supported file type or because the file has been damage (for example, it was sent as a an email attachment and wasn't correcly decoded). ![]() Then pdf file got print out, but when I try to open it, I got this: I chose to save as "Adobe PDF.pc3", then I change my code to use it ![]() Save change to the following file: Adobe PDF.pc3" "You have made changes to a system printer configuration.Ĭreate a temporary PC3 file to apply to this plot only. So I follow the message, change the setting, then AutoCAD ask me: Please go to the printer properties, "Adobe PDF Settings" pageĪnd turn OFF the option "Rely on system fonts only do not use document fonts."" "When you create a postScript file you must rely on system fonts and use document fonts. When I use "Adobe PDF", I got this error message: I have Adobe Acrobat installed on my machine. I'm workong a function to print drawing as PDF. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |