MozillaZine

.json printing in firefox

Discussion of features in Mozilla Firefox
envirossf
 
Posts: 4
Joined: January 3rd, 2018, 9:33 pm

Post Posted August 14th, 2019, 3:30 pm

Hi Everyone,

I have been having a problem trying to print a .json file on firefox. I start by locating my file and selecting "open with firefox" from my Win10 laptop. Firefox opens the file in the .json viewer and I click on the "raw data" column. The file displays and I click on the "pretty print" column. I scroll down the column and everything looks great, just as I wanted. I then move across the screen, open the menu, and click on print. At this point the page changes and it shows 2 pages to print, (the full file should be 4 pages), and only the top page of the file will print. I have my printer set to view pages before printing, so I clicked print, and again, only the top part of the file is shown available to print. I tried printing it and as shown, only the first page of the file printed. I tried to highlight the entire file so I could try to print "selection", but it would not allow it.
I can't think of anything else to try, and I'm getting frustrated. I would really appreciate any instructions, suggestions, or links, so i can get this file printed. Thanks.

therube

User avatar
 
Posts: 20009
Joined: March 10th, 2004, 9:59 pm
Location: Maryland USA

Post Posted August 15th, 2019, 6:03 am

Confirmed, on the file I tested with, extensions.json - truncated when Print (Preview).

In any case, right-click, Select All, Copy, then Paste into (Windows) Notepad or whatever & print from there.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript

envirossf
 
Posts: 4
Joined: January 3rd, 2018, 9:33 pm

Post Posted August 15th, 2019, 11:50 am

Thanks therube,

The solution you provided was simple and effective, perfect! I seriously over complicated my analysis and request, when I should have just asked for the best way to print a .json file. I still am curious however, why the file cuts off in firefox. Perhaps just a glitch since the .json viewer is a relatively new addition to firefox. Anyway, thanks again!

Return to Firefox Features


Who is online

Users browsing this forum: No registered users and 0 guests