Comments (15)
should work on all of them. how about sending me the sample pdf?
from hummusjs.
I don't really know why it doesn't work with my PDF Files.
I'm using pdfkit module of node.js in creating them.
Does this affect the function of appending pdf?
For additional information, I am using:
node js - v0.8.20
pdfkit - v0.2.0
hummus - v1.0.16
and this is the sample code for generating PDF File:
var PDFDocument = require('pdfkit'),
doc = new PDFDocument(
{
layout: 'landscape'
});
doc.fillColor('#000000')
.text('Hello World')
doc.rect(100, 100, 100, 100)
.fillAndStroke('red','black')
doc.write('sample.pdf');
Attached here is the screenshot of the error I am encountering.
Note: Sample PDF File will be sent thru e-mail, since this doesn't support attaching such format.
Thanks again in advance.
I highly appreciate your response.
from hummusjs.
I don't really know why it doesn't work with my PDF Files.
I'm using pdfkit module of node.js in creating them.
Does this affect the function of appending pdf?
For additional information, I am using:
node js - v0.8.20
pdfkit - v0.2.0
hummus - v1.0.16
and this is the sample code for generating PDF File:
var PDFDocument = require('pdfkit'),
doc = new PDFDocument(
{
layout: 'landscape'
});
doc.fillColor('#000000')
.text('Hello World')
doc.rect(100, 100, 100, 100)
.fillAndStroke('red','black')
doc.write('sample.pdf');
Attached here is the screenshot of the error I am encountering and the
sample PDF I am using.
[image: capture]https://f.cloud.github.com/assets/5434307/1146686/ab92327e-1e77-11e3-86eb-88c3ff5cf078.JPG
Thanks again in advance.
I highly appreciate your response.
On Mon, Sep 16, 2013 at 1:37 AM, gal kahana [email protected]:
should work on all of them. how about sending me the sample pdf?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-24475981
.
from hummusjs.
thanks man. just send me the PDF, i'll be able to tell what's the probably. my initial assumption is that any PDF but encrypted one is eligible for the library usage. i might be wrong, and then it'd probably be a bug. got my email?
from hummusjs.
This blog do not support attaching PDF Files. I already sent the copy of the sample PDF thru e-mail.
If you didn't receive it, where else can I send the sample PDF?
I really hope you can help me with my issue.
from hummusjs.
email to [email protected]
from hummusjs.
Hi,
Email sent at [email protected]
sample PDF also was attached.
from hummusjs.
got it, will look into it today/tomorrow.
from hummusjs.
okay.. Thank you so much..
Hope you can help me.
On Tue, Sep 17, 2013 at 4:47 PM, gal kahana [email protected]:
got it, will look into it today/tomorrow.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-24572650
.
from hummusjs.
Hi,
Is there any update on my issue?
Thanks!
On Tue, Sep 17, 2013 at 4:49 PM, Mariz Salvador
[email protected]:
okay.. Thank you so much..
Hope you can help me.On Tue, Sep 17, 2013 at 4:47 PM, gal kahana [email protected]:
got it, will look into it today/tomorrow.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-24572650
.
from hummusjs.
Ziram, i inspected the PDF file sample.pdf and found an issue with it. the size entry in its catalog is 7 while the xref actual size is 8. this is what creates the error. it's a problem with how pdfkit creates files.
i'll see if i can teach hummus to be more lenient about this. although incorrect, i should be able to teach hummus to work also with pdfs like this. gimme an hour or two.
from hummusjs.
Ziram, i updated hummusJS and the related PDFWriter code to support files with this error. i'm keeping it a policy, in case someone complains, but the default would be to allow such files.
you can now update to the new hummus module (npm update hummus), you should get something with version 10.0.17 or higher (working on other things now,and may update further) and it should work fine.
please verify and let me know if it works.
Gal.
from hummusjs.
Hi again,
How can I update my hummusJS?
I tried the "npm update hummus" but nothing changed.
I also tried to re-install the hummusJS ("npm install hummus"),
the version became
"version": "1.0.18"
and then I tried appending my PDF Files but still, I got the same error.
If that works fine on you, can you give me instructions on how to make it
work on my workstation?..
I really need this one.
Thank you so much..
On Thu, Sep 19, 2013 at 11:55 PM, gal kahana [email protected]:
Ziram, i updated hummusJS and the related PDFWriter code to support files
with this error. i'm keeping it a policy, in case someone complains, but
the default would be to allow such files.you can now update to the new hummus module (npm update hummus), you
should get something with version 10.0.17 or higher (working on other
things now,and may update further) and it should work fine.
please verify and let me know if it works.Gal.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-24750167
.
from hummusjs.
Hi Gal,
Oh no, it's my fault..
That works VERY GREAT!
Thank you so much for helping me..
I owe you a lot..
It was a big big help for me..
You're a genius.. :)
This module would be a great help for me.
Thanks again!
Ziram
On Fri, Sep 20, 2013 at 10:29 AM, Mariz Salvador
[email protected]:
Hi again,
How can I update my hummusJS?
I tried the "npm update hummus" but nothing changed.I also tried to re-install the hummusJS ("npm install hummus"),
the version became
"version": "1.0.18"
and then I tried appending my PDF Files but still, I got the same error.If that works fine on you, can you give me instructions on how to make it
work on my workstation?..I really need this one.
Thank you so much..On Thu, Sep 19, 2013 at 11:55 PM, gal kahana [email protected]:
Ziram, i updated hummusJS and the related PDFWriter code to support files
with this error. i'm keeping it a policy, in case someone complains, but
the default would be to allow such files.you can now update to the new hummus module (npm update hummus), you
should get something with version 10.0.17 or higher (working on other
things now,and may update further) and it should work fine.
please verify and let me know if it works.Gal.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-24750167
.
from hummusjs.
Glad to hear that it worked. thanks for letting me know.
from hummusjs.
Related Issues (20)
- Is there a way to put an image inside a cell in the tables?
- Error library v1.0.109 HOT 1
- Text replace
- Annotation modification
- Remove or replace some text in PDF file
- Build failed after upgrading node from 14.x to 15.x (docker - ubuntu) HOT 1
- unable to append to page, make sure source file exists at merge
- How to remove Rectangle using position?
- Spelling Error: "parhaps" HOT 2
- Last commit has broken the instalation on CentOS7 HOT 6
- Invalid PDF input causes `SIGSEGV` crash HOT 15
- unable to append page, make sure it's fine HOT 2
- whitesource scan issues caused by minimist 0.0.8 HOT 1
- @galkahana @filmerjarred
- How to save the splitted pdf to another directory
- TypeError: Unable to create PDF file, make sure that output file target is available
- Build failed with v1.0.115 with node v12 HOT 2
- Typing correction HOT 1
- TypeError: Unable to write page when calling writePage HOT 5
- Delete object from pdf HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hummusjs.