Working upon Harish Kumar answer, we can get the following:
\documentclass[12pt,demo]{report} %% Remove demo in your file.
\usepackage{geometry}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{lipsum}% Used for dummy text.
\definecolor{titlepagecolor}{cmyk}{1,.60,0,.40}
\definecolor{namecolor}{cmyk}{1,.50,0,.10} % Here I am trying to define the font color that is used in the example but I don't really know which one is it so I leave this to the OP to figure out
%-----------------------------------------------------------------
\begin{document}
% ----------------------------------------------------------------
\begin{titlepage}
\newgeometry{left=7.5cm} %defines the geometry for the titlepage
\pagecolor{titlepagecolor}
\noindent
\includegraphics[width=2cm]{logo.jpg}\\[-1em]
\color{white}
\makebox[0pt][l]{\rule{1.3\textwidth}{1pt}}
\par
\noindent
\textbf{\textsf{UniversitätsKlinikum}} \textcolor{namecolor}{\textsf{Heidelberg}}
\vfill
\noindent
{\huge \textsf{Handbuch 1.3}}
\vskip\baselineskip
\noindent
\textsf{August 2008}
\end{titlepage}
\restoregeometry % restores the geometry
\nopagecolor% Use this to restore the color pages to white
% ----------------------------------------------------------------
\lipsum[1-9]
\end{document}
There are several things to improve like may be using minipages, etc. An update as suggested by Harish Kumar is to use the geometry
package as shown above, which is indeed better than my previous answer.
To add the image, you can use the fromlogo
insert:
\setkomavar{fromlogo}{<contents>}
To get rid of the folding marks, replace
foldmarks=true
with
foldmarks=false
A complete example (depending on your actual image, you might need to adjust some of the lengths used):
% Original author:
% Micha Elmueller (http://micha.elmueller.net/)
\documentclass[
pagenumber=false, % Removes page numbers from page 2 onwards
parskip=half, % Separates paragraphs with some whitespace, use parskip=full for more space or comment out to return to default
fromalign=right, % Aligns the from address to the right
foldmarks=false, % If "true", prints small fold marks on the left of the page
addrfield=true, % Set to false to hide the addressee section - you will then want to adjust the height of the body of the letter on the page by adding the following in this section: \makeatletter \@setplength{refvpos}{\useplength{toaddrvpos}} \makeatletter
fromlogo=true
]{scrlttr2}
\usepackage[english]{babel} % Explicitly load the babel package to stop an error occurring on some LaTeX installations
\renewcommand*{\raggedsignature}{\raggedright} % Stop the signature from indenting
\usepackage{graphicx}
%----------------------------------------------------------------------------------------
% YOUR INFORMATION AND LETTER DATE
%----------------------------------------------------------------------------------------
\setkomavar{fromname}{John Smith} % Your name used in the from address
\setkomavar{fromaddress}{123 Broadway \\ City, State 12345} % Your address
\setkomavar{signature}{John Smith} % Your name used in the signature
\setkomavar{fromlogo}{\raisebox{-2pt}{\includegraphics[width=5.84cm,height=1.5cm]{example-image-a}}}
\date{\today} % Date of the letter
%----------------------------------------------------------------------------------------
\begin{document}
%----------------------------------------------------------------------------------------
% ADDRESSEE
%----------------------------------------------------------------------------------------
\begin{letter}{Director \\ Corporation \\ 123 Pleasant Lane \\ City, State 12345} % Addressee name and address
%----------------------------------------------------------------------------------------
% LETTER CONTENT
%----------------------------------------------------------------------------------------
%\includeimage[width=5cm,height=2cm]{example-image-a}
\opening{Dear Sir or Madam,}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam aliquet tellus vel justo porta et semper libero rutrum. Duis vestibulum sagittis aliquam. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ac velit eu dolor lobortis fringilla. Quisque imperdiet porta ante in pretium. Maecenas facilisis varius metus et blandit. Proin rhoncus arcu non ante elementum non vehicula sem varius. Morbi feugiat, elit eget tristique posuere, urna eros vestibulum nibh, at tempus neque justo nec enim.
Curabitur id est enim. Suspendisse potenti. Fusce eleifend sodales tortor, a interdum tortor sollicitudin vel. Morbi vel tellus enim, eget hendrerit ligula. Proin molestie suscipit erat, eget consectetur orci convallis at. Ut vestibulum, odio vitae blandit dignissim, dui magna auctor leo, at molestie augue magna sed nisi. Phasellus ipsum magna, fringilla id tempor id, tristique vitae mauris. Maecenas sed orci vel eros consectetur ultrices.
Mauris enim velit, feugiat at venenatis eu, scelerisque vitae mauris. Nullam accumsan facilisis mauris sagittis iaculis. Mauris condimentum dictum libero. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nullam consequat malesuada feugiat. Vestibulum tempor commodo turpis id gravida.
\closing{Sincerely,}
\setkomavar*{enclseparator}{Attached} % Change the default "encl:" to "Attached:"
\encl{Copyright permission form} % Attached documents
%----------------------------------------------------------------------------------------
\end{letter}
\end{document}
To remove the from information from the "backadress" and its rule, add
backaddress=off
to the class options, as in
\documentclass[
pagenumber=false,
parskip=half,
fromalign=right,
foldmarks=false,
addrfield=true,
fromlogo=true,
backaddress=off
]{scrlttr2}
Best Answer
\raggedright
and\raggedleft
do not take arguments so never use as\raggedright{...}
but here you do not want them at all just