UNPKG

pdf2json

Version:

A PDF file parser that converts PDF binaries to text based JSON, powered by porting a fork of PDF.JS to Node.js

1 lines 8.82 kB
{"formImage":{"Transcoder":"pdf2json@0.6.8","Agency":"2013 Form 1040-ES (OTC)","Id":{"AgencyId":"unknown","Name":"unknown","MC":false,"Max":-1,"Parent":-1},"Pages":[{"Height":49.501,"HLines":[{"dsh":1,"x":6.145,"y":17.062,"w":0.75,"l":92.898},{"x":10.82,"y":3.688,"w":1.5,"l":2.561},{"x":13.295,"y":3.688,"w":1.5,"l":13.698},{"x":26.864,"y":3.688,"w":1.5,"l":43.441},{"x":70.22,"y":3.688,"w":1.5,"l":8.748},{"x":78.882,"y":3.688,"w":1.5,"l":2.561},{"x":81.357,"y":3.687,"w":1.5,"l":14.936},{"x":10.82,"y":6.688,"w":1.5,"l":58.248},{"x":68.939,"y":4.438,"w":1.5,"l":27.354},{"x":68.939,"y":6.688,"w":1.5,"l":27.354},{"x":80.034,"y":5.188,"w":2.25,"l":12.547},{"x":80.034,"y":6.688,"w":2.25,"l":12.547},{"x":92.495,"y":5.188,"w":2.25,"l":3.884},{"x":92.495,"y":6.688,"w":2.25,"l":3.884},{"x":10.777,"y":14.938,"w":1.5,"l":2.647},{"x":13.252,"y":8.188,"w":0.75,"l":38.491},{"x":51.657,"y":8.188,"w":0.75,"l":24.836},{"x":76.407,"y":8.188,"w":0.75,"l":19.886},{"x":13.252,"y":8.938,"w":0.75,"l":83.041},{"x":13.252,"y":10.438,"w":0.75,"l":38.491},{"x":51.657,"y":10.438,"w":0.75,"l":24.836},{"x":76.407,"y":10.438,"w":0.75,"l":19.886},{"x":13.252,"y":11.938,"w":0.75,"l":83.041},{"x":13.252,"y":13.438,"w":0.75,"l":83.041},{"x":13.295,"y":14.938,"w":1.5,"l":38.448},{"x":51.657,"y":14.938,"w":1.5,"l":24.836},{"x":76.407,"y":14.938,"w":1.5,"l":19.886}],"VLines":[{"x":26.95,"y":2.172,"w":1.5,"l":1.547},{"x":69.025,"y":3.672,"w":1.5,"l":0.797},{"x":69.025,"y":4.422,"w":1.5,"l":2.297},{"x":80.162,"y":5.141,"w":2.25,"l":1.594},{"x":96.25,"y":5.141,"w":2.25,"l":1.594},{"x":92.537,"y":5.141,"w":0.75,"l":1.594},{"x":13.337,"y":6.656,"w":1.5,"l":8.313},{"x":10.863,"y":6.656,"w":1.5,"l":8.313},{"x":51.7,"y":6.672,"w":0.75,"l":1.531},{"x":76.45,"y":6.672,"w":0.75,"l":1.531},{"x":51.7,"y":8.922,"w":0.75,"l":1.531},{"x":76.45,"y":8.922,"w":0.75,"l":1.531},{"x":51.7,"y":13.422,"w":0.75,"l":1.547},{"x":76.45,"y":13.422,"w":0.75,"l":1.547}],"Fills":[{"x":0,"y":0,"w":0,"h":0,"clr":1}],"Texts":[{"x":48.142,"y":16.138,"w":6.111,"clr":0,"A":"left","R":[{"T":"Tear%20off%20here","S":-1,"TS":[0,11,0,0]}]},{"x":12.107,"y":2.698,"w":2.334,"clr":0,"A":"left","R":[{"T":"Form","S":2,"TS":[0,10,0,0],"RA":90}]},{"x":13.088,"y":1.991,"w":3.9280000000000004,"clr":0,"A":"left","R":[{"T":"1040-ES","S":4,"TS":[0,14,0,0]}]},{"x":13.087,"y":2.393,"w":12.540000000000003,"clr":0,"A":"left","R":[{"T":"Department%20of%20the%20Treasury%20","S":51,"TS":[0,9,0,0]}]},{"x":13.087,"y":2.799,"w":11.093000000000002,"clr":0,"A":"left","R":[{"T":"Internal%20Revenue%20Service","S":51,"TS":[0,9,0,0]}]},{"x":27.387,"y":2.58,"w":1.264,"clr":0,"A":"left","R":[{"T":"20","S":-1,"TS":[0,23,0,0]}]},{"x":31.732,"y":2.58,"w":1.336,"clr":0,"A":"left","R":[{"T":"13","S":-1,"TS":[0,23,0,0]}]},{"x":37.228,"y":2.58,"w":6.811999999999999,"clr":0,"A":"left","R":[{"T":"Estimated%20Tax","S":-1,"TS":[0,23,0,0]}]},{"x":70.013,"y":1.9460000000000002,"w":4.463000000000001,"clr":0,"A":"left","R":[{"T":"Payment%20","S":-1,"TS":[0,13,0,0]}]},{"x":70.013,"y":2.634,"w":3.9640000000000004,"clr":0,"A":"left","R":[{"T":"Voucher","S":-1,"TS":[0,13,0,0]}]},{"x":78.675,"y":2.509,"w":0.48,"clr":0,"A":"left","R":[{"T":"1","S":-1,"TS":[0,27,0,0]}]},{"x":84.831,"y":2.687,"w":9.283000000000001,"clr":0,"A":"left","R":[{"T":"OMB%20No.%201545-0074","S":2,"TS":[0,10,0,0]}]},{"x":10.613,"y":3.6959999999999997,"w":40.102999999999994,"clr":0,"A":"left","R":[{"T":"File%20only%20if%20you%20are%20making%20a%20payment%20of%20estimated%20tax%20by%20check%20or%20money%20order.%20Mail%20this%20","S":-1,"TS":[0,10.5,0,0]}]},{"x":10.613,"y":4.258,"w":23.3,"clr":0,"A":"left","R":[{"T":"voucher%20with%20your%20check%20or%20money%20order%20payable%20to%20","S":-1,"TS":[0,10.5,0,0]}]},{"x":40.648,"y":4.258,"w":12.113,"clr":0,"A":"left","R":[{"T":"%E2%80%9CUnited%20States%20Treasury.%E2%80%9D","S":-1,"TS":[0,10.5,0,0]}]},{"x":56.262,"y":4.258,"w":5.130000000000001,"clr":0,"A":"left","R":[{"T":"%20Write%20your%20","S":-1,"TS":[0,10.5,0,0]}]},{"x":10.613,"y":4.821,"w":42.19899999999998,"clr":0,"A":"left","R":[{"T":"social%20security%20number%20and%20%E2%80%9C2013%20Form%201040-ES%E2%80%9D%20on%20your%20check%20or%20money%20order.%20Do%20not%20send%20","S":-1,"TS":[0,10.5,0,0]}]},{"x":10.613,"y":5.383,"w":33.49,"clr":0,"A":"left","R":[{"T":"cash.%20Enclose%2C%20but%20do%20not%20staple%20or%20attach%2C%20your%20payment%20with%20this%20voucher.","S":-1,"TS":[0,10.5,0,0]}]},{"x":69.463,"y":3.4240000000000004,"w":16.205000000000005,"clr":0,"A":"left","R":[{"T":"Calendar%20year%E2%80%94Due%20April%2015%2C%202013","S":-1,"TS":[0,11,0,0]}]},{"x":69.463,"y":4.17,"w":18.11600000000001,"clr":0,"A":"left","R":[{"T":"Amount%20of%20estimated%20tax%20you%20are%20paying%20","S":-1,"TS":[0,11,0,0]}]},{"x":69.463,"y":4.77,"w":5.798,"clr":0,"A":"left","R":[{"T":"by%20check%20or%20%20","S":-1,"TS":[0,11,0,0]}]},{"x":69.463,"y":5.37,"w":5.946,"clr":0,"A":"left","R":[{"T":"money%20order.","S":-1,"TS":[0,11,0,0]}]},{"x":84.24,"y":5,"w":3.092,"clr":0,"A":"left","R":[{"T":"Dollars","S":2,"TS":[0,10,0,0]}]},{"x":92.72,"y":5,"w":2.63,"clr":0,"A":"left","R":[{"T":"Cents","S":-1,"TS":[0,9.3,0,0]}]},{"x":12.144,"y":11.53,"w":5.8709999999999996,"clr":0,"A":"left","R":[{"T":"Print%20or%20type","S":-1,"TS":[0,11,0,0],"RA":90}]},{"x":13.775,"y":6.545,"w":11.353999999999997,"clr":0,"A":"left","R":[{"T":"Your%20first%20name%20and%20initial","S":-1,"TS":[0,11,0,0]}]},{"x":52.138,"y":6.545,"w":6.723999999999999,"clr":0,"A":"left","R":[{"T":"Your%20last%20name","S":-1,"TS":[0,11,0,0]}]},{"x":76.888,"y":6.545,"w":12.465000000000002,"clr":0,"A":"left","R":[{"T":"Your%20social%20security%20number","S":-1,"TS":[0,11,0,0]}]},{"x":13.775,"y":7.922000000000001,"w":16.634,"clr":0,"A":"left","R":[{"T":"If%20joint%20payment%2C%20complete%20for%20spouse","S":-1,"TS":[0,11,0,0]}]},{"x":13.775,"y":8.795,"w":13.429000000000004,"clr":0,"A":"left","R":[{"T":"Spouse%E2%80%99s%20first%20name%20and%20initial","S":-1,"TS":[0,11,0,0]}]},{"x":52.138,"y":8.795,"w":8.799000000000001,"clr":0,"A":"left","R":[{"T":"Spouse%E2%80%99s%20last%20name","S":-1,"TS":[0,11,0,0]}]},{"x":76.887,"y":8.795,"w":14.540000000000004,"clr":0,"A":"left","R":[{"T":"Spouse%E2%80%99s%20social%20security%20number","S":-1,"TS":[0,10.2,0,0]}]},{"x":13.775,"y":10.295,"w":16.950000000000006,"clr":0,"A":"left","R":[{"T":"Address%20(number%2C%20street%2C%20and%20apt.%20no.)","S":-1,"TS":[0,11,0,0]}]},{"x":13.775,"y":11.795,"w":39.004000000000005,"clr":0,"A":"left","R":[{"T":"City%2C%20state%2C%20and%20ZIP%20code.%20(If%20a%20foreign%20address%2C%20enter%20city%2C%20also%20complete%20spaces%20below.)","S":-1,"TS":[0,11,0,0]}]},{"x":13.775,"y":13.295,"w":9.780000000000001,"clr":0,"A":"left","R":[{"T":"Foreign%20country%20name","S":-1,"TS":[0,11,0,0]}]},{"x":52.138,"y":13.295,"w":10.871,"clr":0,"A":"left","R":[{"T":"Foreign%20province%2Fcounty","S":-1,"TS":[0,11,0,0]}]},{"x":76.888,"y":13.232,"w":8.908,"clr":0,"A":"left","R":[{"T":"Foreign%20postal%20code","S":-1,"TS":[0,11,0,0]}]},{"x":10.612,"y":14.795,"w":33.685,"clr":0,"A":"left","R":[{"T":"For%20Privacy%20Act%20and%20Paperwork%20Reduction%20Act%20Notice%2C%20see%20instructions.","S":-1,"TS":[0,11,0,0]}]},{"x":79.912,"y":14.777,"w":9.799000000000003,"clr":0,"A":"left","R":[{"T":"Form%201040-ES%20(2013)","S":3,"TS":[0,12,0,0]}]}],"Fields":[{"style":48,"T":{"Name":"number","TypeInfo":{}},"id":{"Id":"L1","EN":0},"TI":7827,"AM":0,"x":80.334,"y":5.875,"w":12.053,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"NAME","EN":0},"TI":7828,"AM":1024,"x":13.509,"y":7.375,"w":62.844,"h":0.833},{"style":48,"T":{"Name":"ssn","TypeInfo":{}},"id":{"Id":"YSSN","EN":0},"TI":7829,"AM":1024,"x":76.622,"y":7.375,"w":19.8,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"SPNAME","EN":0},"TI":7830,"AM":1024,"x":13.509,"y":9.625,"w":62.919,"h":0.833},{"style":48,"T":{"Name":"ssn","TypeInfo":{}},"id":{"Id":"SSSN","EN":0},"TI":7831,"AM":1024,"x":76.622,"y":9.625,"w":19.8,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"ADDR","EN":0},"TI":7832,"AM":1024,"x":13.584,"y":11.125,"w":82.913,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"CSZ","EN":0},"TI":7833,"AM":1024,"x":13.435,"y":12.652,"w":82.912,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"COUNTRY","EN":0},"TI":7834,"AM":1024,"x":13.509,"y":14.125,"w":38.363,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"FPC","EN":0},"TI":7835,"AM":1024,"x":51.872,"y":14.125,"w":24.75,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"FZIP","EN":0},"TI":7836,"AM":1024,"x":76.622,"y":14.125,"w":19.8,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"SCANLINE","EN":0},"TI":7837,"AM":1024,"x":10.464,"y":15.864,"w":19.8,"h":0.833}],"Boxsets":[]}],"Width":105.188}}