Ver Mensaje Individual
  #6  
Antiguo 05-06-2015
shoulder shoulder is offline
Miembro
 
Registrado: abr 2008
Posts: 441
Reputación: 16
shoulder Va por buen camino
Pdfcreator

Hola Gracias, funciono lo unico hice cambios porque la version 2.1 del pdfcreator es distinta, lo mas importante es la doble //.

Código Delphi [-]

 with TRegistry.Create do
  try
    NewPath := 'c:\\control\\factura';
    RootKey := HKEY_CURRENT_USER;
    if OpenKey('\Software\PDFCreator.net\settings\ConversionProfiles\0', True) then
    begin
      WriteString('FileNameTemplate','fotografia');
    if OpenKey('\Software\PDFCreator.net\settings\ConversionProfiles\0\AutoSave', True) then
     begin
        WriteString('TargetDirectory', NewPath);
        WriteString('Enabled', 'True');
     end;     /
     CloseKey;
    end;
  finally
    Free;
  end;
Responder Con Cita