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.87 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":16.531,"w":0.75,"l":92.898},{"x":13.57,"y":3.125,"w":1.5,"l":2.561},{"x":16.045,"y":3.125,"w":1.5,"l":13.698},{"x":29.614,"y":3.125,"w":1.5,"l":43.441},{"x":72.97,"y":3.125,"w":1.5,"l":8.748},{"x":81.632,"y":3.125,"w":1.5,"l":2.561},{"x":84.107,"y":3.125,"w":1.5,"l":14.936},{"x":13.57,"y":6.125,"w":1.5,"l":58.248},{"x":71.689,"y":3.875,"w":1.5,"l":27.354},{"x":71.689,"y":6.125,"w":1.5,"l":27.354},{"x":82.784,"y":4.625,"w":2.25,"l":12.547},{"x":82.784,"y":6.125,"w":2.25,"l":12.547},{"x":95.245,"y":4.625,"w":2.25,"l":3.884},{"x":95.245,"y":6.125,"w":2.25,"l":3.884},{"x":13.527,"y":14.375,"w":1.5,"l":2.647},{"x":16.002,"y":7.625,"w":0.75,"l":38.491},{"x":54.407,"y":7.625,"w":0.75,"l":24.836},{"x":79.157,"y":7.625,"w":0.75,"l":19.886},{"x":16.002,"y":8.375,"w":0.75,"l":83.041},{"x":16.002,"y":9.875,"w":0.75,"l":38.491},{"x":54.407,"y":9.875,"w":0.75,"l":24.836},{"x":79.157,"y":9.875,"w":0.75,"l":19.886},{"x":16.002,"y":11.375,"w":0.75,"l":83.041},{"x":16.002,"y":12.875,"w":0.75,"l":83.041},{"x":16.045,"y":14.375,"w":1.5,"l":38.448},{"x":54.407,"y":14.375,"w":1.5,"l":24.836},{"x":79.157,"y":14.375,"w":1.5,"l":19.886}],"VLines":[{"x":29.7,"y":1.609,"w":1.5,"l":1.547},{"x":71.775,"y":3.109,"w":1.5,"l":0.797},{"x":71.775,"y":3.859,"w":1.5,"l":2.297},{"x":82.912,"y":4.578,"w":2.25,"l":1.594},{"x":99,"y":4.578,"w":2.25,"l":1.594},{"x":95.287,"y":4.578,"w":0.75,"l":1.594},{"x":16.087,"y":6.094,"w":1.5,"l":8.313},{"x":13.613,"y":6.094,"w":1.5,"l":8.313},{"x":54.45,"y":6.109,"w":0.75,"l":1.531},{"x":79.2,"y":6.109,"w":0.75,"l":1.531},{"x":54.45,"y":8.359,"w":0.75,"l":1.531},{"x":79.2,"y":8.359,"w":0.75,"l":1.531},{"x":54.45,"y":12.859,"w":0.75,"l":1.547},{"x":79.2,"y":12.859,"w":0.75,"l":1.547}],"Fills":[{"x":0,"y":0,"w":0,"h":0,"clr":1}],"Texts":[{"x":48.142,"y":15.434999999999999,"w":6.111,"clr":0,"A":"left","R":[{"T":"Tear%20off%20here","S":-1,"TS":[0,11,0,0]}]},{"x":14.857,"y":2.136,"w":2.334,"clr":0,"A":"left","R":[{"T":"Form","S":2,"TS":[0,10,0,0],"RA":90}]},{"x":15.837,"y":1.428,"w":3.9280000000000004,"clr":0,"A":"left","R":[{"T":"1040-ES","S":4,"TS":[0,14,0,0]}]},{"x":15.838000000000001,"y":1.83,"w":12.540000000000003,"clr":0,"A":"left","R":[{"T":"Department%20of%20the%20Treasury%20","S":51,"TS":[0,9,0,0]}]},{"x":15.838000000000001,"y":2.236,"w":11.093000000000002,"clr":0,"A":"left","R":[{"T":"Internal%20Revenue%20Service","S":51,"TS":[0,9,0,0]}]},{"x":30.137,"y":2.018,"w":1.264,"clr":0,"A":"left","R":[{"T":"20","S":-1,"TS":[0,23,0,0]}]},{"x":34.483,"y":2.018,"w":1.336,"clr":0,"A":"left","R":[{"T":"13","S":-1,"TS":[0,23,0,0]}]},{"x":39.978,"y":2.018,"w":6.811999999999999,"clr":0,"A":"left","R":[{"T":"Estimated%20Tax","S":-1,"TS":[0,23,0,0]}]},{"x":72.763,"y":1.4460000000000002,"w":4.463000000000001,"clr":0,"A":"left","R":[{"T":"Payment%20","S":-1,"TS":[0,13,0,0]}]},{"x":72.763,"y":2.134,"w":3.9640000000000004,"clr":0,"A":"left","R":[{"T":"Voucher","S":-1,"TS":[0,13,0,0]}]},{"x":81.425,"y":1.9460000000000002,"w":0.48,"clr":0,"A":"left","R":[{"T":"4","S":-1,"TS":[0,27,0,0]}]},{"x":87.581,"y":2.125,"w":9.283000000000001,"clr":0,"A":"left","R":[{"T":"OMB%20No.%201545-0074","S":2,"TS":[0,10,0,0]}]},{"x":13.363,"y":3.133,"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":13.363,"y":3.6959999999999997,"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":43.398,"y":3.6959999999999997,"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":59.012,"y":3.6959999999999997,"w":5.130000000000001,"clr":0,"A":"left","R":[{"T":"%20Write%20your%20","S":-1,"TS":[0,10.5,0,0]}]},{"x":13.363,"y":4.258,"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":13.363,"y":4.821,"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":72.213,"y":2.861,"w":16.005000000000006,"clr":0,"A":"left","R":[{"T":"Calendar%20year%E2%80%94Due%20Jan.%2015%2C%202014","S":-1,"TS":[0,11,0,0]}]},{"x":72.213,"y":3.607,"w":18.39400000000001,"clr":0,"A":"left","R":[{"T":"Amount%20of%20estimated%20tax%20you%20are%20paying%20%20","S":-1,"TS":[0,11,0,0]}]},{"x":72.213,"y":4.138,"w":5.798,"clr":0,"A":"left","R":[{"T":"by%20check%20or%20%20","S":-1,"TS":[0,11,0,0]}]},{"x":72.213,"y":4.669,"w":5.946,"clr":0,"A":"left","R":[{"T":"money%20order.","S":-1,"TS":[0,11,0,0]}]},{"x":86.99,"y":4.437,"w":3.092,"clr":0,"A":"left","R":[{"T":"Dollars","S":2,"TS":[0,10,0,0]}]},{"x":95.47,"y":4.437,"w":2.63,"clr":0,"A":"left","R":[{"T":"Cents","S":-1,"TS":[0,9.3,0,0]}]},{"x":14.894,"y":10.968,"w":5.8709999999999996,"clr":0,"A":"left","R":[{"T":"Print%20or%20type","S":-1,"TS":[0,11,0,0],"RA":90}]},{"x":16.525,"y":5.982,"w":11.353999999999997,"clr":0,"A":"left","R":[{"T":"Your%20first%20name%20and%20initial","S":-1,"TS":[0,11,0,0]}]},{"x":54.888,"y":5.982,"w":6.723999999999999,"clr":0,"A":"left","R":[{"T":"Your%20last%20name","S":-1,"TS":[0,11,0,0]}]},{"x":79.638,"y":5.982,"w":12.465000000000002,"clr":0,"A":"left","R":[{"T":"Your%20social%20security%20number","S":-1,"TS":[0,11,0,0]}]},{"x":16.525,"y":7.359,"w":16.634,"clr":0,"A":"left","R":[{"T":"If%20joint%20payment%2C%20complete%20for%20spouse","S":-1,"TS":[0,11,0,0]}]},{"x":16.525,"y":8.232,"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":54.888,"y":8.232,"w":8.799000000000001,"clr":0,"A":"left","R":[{"T":"Spouse%E2%80%99s%20last%20name","S":-1,"TS":[0,11,0,0]}]},{"x":79.638,"y":8.232,"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":16.525,"y":9.732,"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":16.525,"y":11.232,"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":16.525,"y":12.732,"w":9.780000000000001,"clr":0,"A":"left","R":[{"T":"Foreign%20country%20name","S":-1,"TS":[0,11,0,0]}]},{"x":54.888,"y":12.732,"w":10.871,"clr":0,"A":"left","R":[{"T":"Foreign%20province%2Fcounty","S":-1,"TS":[0,11,0,0]}]},{"x":79.638,"y":12.67,"w":8.908,"clr":0,"A":"left","R":[{"T":"Foreign%20postal%20code","S":-1,"TS":[0,11,0,0]}]},{"x":13.362,"y":14.232,"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":82.663,"y":14.214,"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":7858,"AM":0,"x":83.14,"y":5.301,"w":12.053,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"NAME","EN":0},"TI":7859,"AM":1024,"x":16.268,"y":6.88,"w":62.844,"h":0.833},{"style":48,"T":{"Name":"ssn","TypeInfo":{}},"id":{"Id":"YSSN","EN":0},"TI":7860,"AM":1024,"x":79.267,"y":6.88,"w":19.8,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"SPNAME","EN":0},"TI":7861,"AM":1024,"x":16.231,"y":9.113,"w":62.919,"h":0.833},{"style":48,"T":{"Name":"ssn","TypeInfo":{}},"id":{"Id":"SSSN","EN":0},"TI":7862,"AM":1024,"x":79.192,"y":9.113,"w":19.8,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"ADDR","EN":0},"TI":7863,"AM":1024,"x":16.192,"y":10.61,"w":82.912,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"CSZ","EN":0},"TI":7864,"AM":1024,"x":16.192,"y":12.08,"w":82.912,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"COUNTRY","EN":0},"TI":7865,"AM":1024,"x":16.081,"y":13.55,"w":38.362,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"FPC","EN":0},"TI":7866,"AM":1024,"x":54.556,"y":13.523,"w":24.75,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"FZIP","EN":0},"TI":7867,"AM":1024,"x":79.342,"y":13.55,"w":19.8,"h":0.833},{"style":48,"T":{"Name":"alpha","TypeInfo":{}},"id":{"Id":"SCANLINE","EN":0},"TI":7868,"AM":1024,"x":13.159,"y":15.265,"w":19.8,"h":0.833}],"Boxsets":[]}],"Width":105.188}}