Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: the proper way of barcode rendering/printing

by Corion (Patriarch)
on Sep 12, 2011 at 10:39 UTC ( [id://925444]=note: print w/replies, xml ) Need Help??


in reply to the proper way of barcode rendering/printing

I highly doubt that you can use notepad.exe to print any graphics.

Have you looked at creating the barcodes using (La)Teχ? There certainly are latex code93 barcode packages on the CTAN and you could create the barcode as text file then and use LaTeχ to create the appropriate representation. Note that, one way or the other, your barcode will have to become an image, as likely your printer only understands bitmaps anyway.

Replies are listed 'Best First'.
Re^2: the proper way of barcode rendering/printing
by Lotus1 (Vicar) on Sep 12, 2011 at 12:56 UTC

    I never tried notepad but I used to print barcodes from MS Word. If a code93 font is installed in Windows then notepad should be able print barcodes.

    http://cleansofts.org/code-93-barcode-font-free-download.html This link claims to give you a free download of the font in a zip file but it is actually an installer for a demo program and required a re-boot. I think the fonts I used to have were from a barcode reader manufacturer.

    Update: I just printed some code 93 from Notepad.

Re^2: the proper way of barcode rendering/printing
by AlexTape (Monk) on Sep 12, 2011 at 11:25 UTC
    at frist i appreciate that notepad.exe is not able to print graphix.
    so there is no perl module that can create a barcode as plaintext? why it is not possible to print a html::barcode barcode to a regular printer? it´s based on "table" - is there an option to force that printing?

    $perlig =~ s/pec/cep/g if 'errors expected';

      The best HTML renderers are arguably web browsers. Find out how to render and print an HTML page on your operating system if you insist on using the HTML representation of a barcode.

      Most likely, both, Internet Explorer and Firefox can be started from the command line to automatically print an HTML file without further interaction.

      so there is no perl module that can create a barcode as plaintext?

      Barcodes are not plaintext

      why it is not possible to print a html::barcode barcode to a regular printer?

      Not printing backgrounds is an ink saving feature of browsers , learn to work yours ;)

        Barcodes are not plaintext
        but they can be. i´m sure that i can send a plaintext as a chain of command to the printer. and the printer makes out of it a barcode. but i´m not sure how this commandline should look like.

        4sure => haven´t thought about the background ink saving feature. sounds good to me ;-) probably i´m able to disable it :-D

        $perlig =~ s/pec/cep/g if 'errors expected';

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://925444]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-03-29 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found