Skip to content

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

Description

@vasudharsai

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

Activity

  1. PrintNodeJames commented on Nov 16, 2018

    @PrintNodeJames
    Contributor
  2. kwent commented on Jun 14, 2019

    @kwent

    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

  3. PrintNodeJames commented on Jun 20, 2019

    @PrintNodeJames
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions