fix content left offset for printing
use host and params instead of url in config