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.
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.
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.
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.
Step 2: Chrome will show you a warning prompt. Click on Reset Settings, and your browser will reset to default settings.