Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raw Printing in printnode increases the size of the content by 33% approx #10

Open
vasudharsai opened this issue Nov 15, 2018 · 3 comments

Comments

@vasudharsai
Copy link

I'm printing 4x1 labels and trying both raw_uri and raw_base64 and that prints out the label with size of the content increased by 33% approx. Below is how I'm creating PrintJob

my_printjob_info = PrintNode::PrintJob.new(printer_id, 'PrintJob_OE4', 'raw_base64','InventorySticker_363467.txt', 'PrintNode-OE4') #using raw_base_64

my_printjob_info = PrintNode::PrintJob.new(printer_id.to_i, 'PrintJob_OE4', 'raw_uri',uri, 'PrintNode-OE4') # uri is the url in my application through which the file could be downloaded.

Please advice. Thanks

@PrintNodeJames
Copy link
Contributor

PrintNodeJames commented Nov 16, 2018 via email

@kwent
Copy link

kwent commented Jun 14, 2019

Not sure we are talking about the same thing but for base64 : the ratio of output bytes to input bytes is 4:3 (33% overhead). So that would be completely normal. Cf https://en.wikipedia.org/wiki/Base64

@PrintNodeJames
Copy link
Contributor

PrintNodeJames commented Jun 20, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants