If you are a VB developer and have questions about using our products from VB, here is the place to post them.
			
		
		
			
				
																			
								paulera 							 
									
		Posts:  5 Joined:  Thu Jan 11 2007Location:  Brazil 
		
						
					
													
							
						
									
						Post 
					 
								by paulera  Fri Jan 12 2007 
			
			
			
			
			I am using this code to print a PDF:
Code: Select all 
Dim pdfprinter As CDIntf.CDIntf
Set pdfprinter = New CDIntf.CDIntf
pdfprinter.DriverInit ("Amyuni PDF Converter")
pdfprinter.DefaultDirectory = "c:\"
pdfprinter.DefaultFileName = "c:\teste.pdf"
pdfprinter.FileNameOptions = 1 + 2
pdfprinter.SetDefaultPrinter
pdfprinter.SetDefaultConfig
Call PrintDocument
The "Output File Name" dialog apears, in blank, and i would like to prevent it.
Any solution?
Thanks.
 
		 
				
		
		 
	 
				
		
		
			
				
																			
								Joan 							 
						Amyuni Team 			
		Posts:  2799 Joined:  Wed Sep 11 2002
				Contact: 
				
			 
				
		 
		
						
					
						 
													
							
						
									
						Post 
					 
								by Joan  Mon Jan 15 2007 
			
			
			
			
			Hello,
If you get the Developer version of the PDF Converter, you will not get any dialog box, because this version doesn't have a save as dialog box.
Using your codde however you shouldn't receive the dialog box even if you are using the End User version of the Converter.
Your code is right, this issue needs to be investigated more, I suggest that you contact 
support@amyuni.com  
		 
				
		
		 
	 
				
		
		
			
				
																			
								paulera 							 
									
		Posts:  5 Joined:  Thu Jan 11 2007Location:  Brazil 
		
						
					
						 
													
							
						
									
						Post 
					 
								by paulera  Mon Jan 15 2007 
			
			
			
			
			The dialog I sad is not a save as dialog box, but just a small window with a text box to write the file path, an OK and a Cancel button. I want that this window don’t appear to my users. This dialog is not good because it doesn’t remember the file path and don’t allow the user to navigate trough folders to find the file, so he has to write the whole file path every time.
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								Joan 							 
						Amyuni Team 			
		Posts:  2799 Joined:  Wed Sep 11 2002
				Contact: 
				
			 
				
		 
		
						
					
						 
													
							
						
									
						Post 
					 
								by Joan  Tue Jan 16 2007 
			
			
			
			
			Hello,