Skip to content

How to fix Typecheck offending command setlinecap error?

  • by
  • 3 min read

Chrome is a rather reliable browser that has been years in the making and still gets constant security and feature updates from Google to keep it relevant. However, just like every other piece of tech, it can also run into errors at times.

In this article, we’re looking at how you can solve the “Typecheck Offending Command Setlinecap” error in Chrome and get your PDFs printed without any issues. 

Go Incognito

Using the browser’s incognito mode will give any site you’re browsing a new, standalone process which means that chances of you facing any error, including the setlinecap error, will be minimised. 

Also read: All active hidden Chrome URLs listed

Use a PDF reader

If you’re trying to print PDFs directly from your browser and getting the error, one viable alternative is to print from a PDF reader instead. You can use another browser for this as well. 

Check your printer settings

Disabling Postscript pass through in your printer settings can help you sidestep this error as well. Often the error is caused by an incorrect setting or a driver issue. Changing your driver type from Postscript to PCL can help you print PDFs directly from Chrome as well. 

Clear your browser’s data

Corrupt files in your cache or otherwise can cause this error as well. Clear them out to see if you can get Chrome to work.

Step 1: Type in chrome://settings/clearBrowserData in your browser’s address bar and hit Enter.

How to fix 'YouTube not working' issue? | Candid.Technology

Step 2: Select the cache and cookies options and ensure the Time range is set to All time. Click on the Clear now button to clear out all the data. 

How to fix 'YouTube not working' issue? | Candid.Technology

Reset your browser

Resetting Chrome can fix all sorts of random bugs and glitches with the browser. 

Step 1: Head over to chrome://settings/reset. Click on Restore settings to their original defaults.

How to fix the 'Google Chrome sound not working' error in Windows 10?

Step 2: Chrome will show you a warning prompt. Click on Reset Settings, and your browser will reset to default settings. 

How to fix the 'Google Chrome sound not working' error in Windows 10?

Also read: How to turn off Google Smart Lock? Is it good enough?

Yadullah Abidi

Yadullah Abidi

Yadullah is a Computer Science graduate who writes/edits/shoots/codes all things cybersecurity, gaming, and tech hardware. When he's not, he streams himself racing virtual cars. He's been writing and reporting on tech and cybersecurity with websites like Candid.Technology and MakeUseOf since 2018. You can contact him here: