Hi,
How can set a Profile (PDF XChange 4.0 createt and and save as myprofile.ppr)
System : Windows 7 64
I tried it like this :
rundll32 "C:\Program Files (x86)\Tracker Software\PDF-XChange 4 API\pdfSaver\drvUI40.dll",DUI30_Command /InstallProfile:D:\Downloads\Windows 7\Drucker\PDF Exchange\PUU_A1q.ppr /Printername:"PDF-XChange 4.0" /AsDefault
Import and use Profile
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Stefan - PDF-XChange
-
Paul - PDF-XChange
- Site Admin
- Posts: 7463
- Joined: Wed Mar 25, 2009 10:37 pm
Re: Import and use Profile
Hi tinzu,
is there any reason you specifically want to use the command line? This article explains how to export using the GUI: https://www.pdf-xchange.com/knowled ... nge-driver
Importing is the same idea but using the "Import" button and browsing to the ppr file...
hth
is there any reason you specifically want to use the command line? This article explains how to export using the GUI: https://www.pdf-xchange.com/knowled ... nge-driver
Importing is the same idea but using the "Import" button and browsing to the ppr file...
hth
Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
-
tinzu
- User
- Posts: 3
- Joined: Wed Feb 23, 2011 9:04 am
Re: Import and use Profile
Hi Paul
sry for my english at first.
My main Problem is that i have to write a programm (VBA Access) to controll some steps in a buisnessprocess.
We will change to Windows 7 64 and will use the PDF Xchange Pro 4.0 to manage oure PDF's in future.
So i have to set this Printer as Default-Printer after that i have to set some Options to ensure that my Output (Plot's from VISUM) will be as we wish.
Now if i use the Code in Attached-File i can Print any File as i wish start the PrintProc with ShellExecute.
But if i use the Print command myvisum.Graphic.Plot the Plot is wrong. PaperSize is not A1 and Orientation is not Quer. Name and Path is correct. If i debug the Programm and stop after change the settings and look the Options from the Printer i cant see my changes they still default and i saw in form how to change profiles.
Maybe thats not may way but i dont know how to solve it.
If you have a tipp for me how to solve it i would be happe.
sry for my english at first.
My main Problem is that i have to write a programm (VBA Access) to controll some steps in a buisnessprocess.
We will change to Windows 7 64 and will use the PDF Xchange Pro 4.0 to manage oure PDF's in future.
So i have to set this Printer as Default-Printer after that i have to set some Options to ensure that my Output (Plot's from VISUM) will be as we wish.
Now if i use the Code in Attached-File i can Print any File as i wish start the PrintProc with ShellExecute.
But if i use the Print command myvisum.Graphic.Plot the Plot is wrong. PaperSize is not A1 and Orientation is not Quer. Name and Path is correct. If i debug the Programm and stop after change the settings and look the Options from the Printer i cant see my changes they still default and i saw in form how to change profiles.
Maybe thats not may way but i dont know how to solve it.
If you have a tipp for me how to solve it i would be happe.
You do not have the required permissions to view the files attached to this post.
-
Ivan - Tracker Software
- Site Admin
- Posts: 3605
- Joined: Thu Jul 08, 2004 10:36 pm
Re: Import and use Profile
Please try to use
when all options are set.
Also, in common case, to set paper size and orientation you have to change it via Windows API. To do this you can try to set the following options
But it may not work.
Code: Select all
PDFPrinter.ApplyOptions(0)Also, in common case, to set paper size and orientation you have to change it via Windows API. To do this you can try to set the following options
Code: Select all
PDFPrinter.Option("DevMode.PapSize") = 256 ' custom paper size
PDFPrinter.Option("DevMode.CWidth") = 5940 ' tenth of mm should be used
PDFPrinter.Option("DevMode.CHeight") = 8410
PDFPrinter.Option("DevMode.Orientation") = 2 ' 1 - portrait; 2 - landscape
PDF-XChange Co Ltd. (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
-
tinzu
- User
- Posts: 3
- Joined: Wed Feb 23, 2011 9:04 am
Re: Import and use Profile
thx Ivan
I have solved my Problem with your help.

I have solved my Problem with your help.
-
Paul - PDF-XChange
- Site Admin
- Posts: 7463
- Joined: Wed Mar 25, 2009 10:37 pm