$ qrencode –o ~/home/qrcodes/ubuntero.png ‘’ This will store the default image in your home directory, if you want to change this, simply add the destination like this $ qrencode-o ‘’Īs an example we will create a QR code that will link to our website and store the image as ubuntero.png For this we have to install the app ‘qrencode’ which you can install from the software center or just opening your terminal and typing:Īfter installation you can create QR codes with the command line using the following structure: QR code creation in Ubuntu is very simple. A QR code on a sticker attached to a piece of hardware could open the latest version of the service manual or user guide.Reddit Twitter Hacker News Facebook Email Pocket Telegram WhatsApp They can deliver all sorts of information or functionality. QR codes can be placed anywhere: in email signatures, on promotional literature, on posters, flyers, as stickers on hardware, on websites, on product packaging, on product labels, and on and on. RELATED: How to Make Your Own QR Codes from Your iPhone or Android Phone So Many Uses The user can add the event to their calendar with a tap on the “Add event” icon. The scanning app decodes the event like this: This is the QR containing the calendar event: This was redirected into qrencode like this: qrencode -s 6 -l H -o "event.png" < event.txt This text was added to a file called “event.txt.” BEGIN:VEVENTĭESCRIPTION:Fun, food, and games in the sun The data is best added to a file which is redirected into qrencode. The text to be encoded is provided last, and wrapped in quotation marks.Īdding an event to a calendar is very similar to adding a contact. If you use the -t (type) option you can change the output to a variety of formats including Encapsulated Postcript (EPS), Scalable Vector Graphics (SVG), and many different flavors of American National Standard Institute (ANSI) character-based output. By default, this is a Portable Network Graphics (PNG) image.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |