من اگر جای شما باشم از بسته tikz استفاده خواهم نمود:
\fancyhead[CO]
{%
\begin{tikzpicture}
    \draw [color=orange, very thick, anchor=south]  
    node (left)  [anchor=west,] {\includegraphics[width = 2cm]{032}} 
    (left.east) -- (\textwidth,0)
    node (booq) [anchor=east, fill=white, xshift=2pt] {\includegraphics[ width = 1cm]{IdasLogo}}  
    {};
\end{tikzpicture}%
}
نتیجه هم به صورت زیر خواهد بود:
