Update printcore.py

Add setting of offset variable, which is assigned at first G1 command with X and E values to determine how long start g-code took to complete.