Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Pre-rendering graphics in ZPL label printers

by cavac (Parson)
on Oct 02, 2018 at 13:31 UTC ( [id://1223401]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
    print $ofh "^XZ\n";
    
    close $ofh;
    
  2. or download this
    ^XA
    ^FO55,74^GB1,1,1,B,0^FS
    ...
    ^FO561,128^GB1,1,1,B,0^FS
    ^ISR:LOGO.GRF,Y
    ^XZ
    
  3. or download this
    lpr -P yourprintername -o raw savelogo.zpl
    
  4. or download this
    ^XA
    ^ILR:LOGO.GRF^FS
    ^FO110,140^FH\^A0N,50,50^FDXXCAPTIONXX^FS
    ^XZ
    
  5. or download this
    lpr -P yourprintername -o raw label.zpl
    
  6. or download this
    hg clone https://cavac.at/public/mercurial/zpl_storedlogo/
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://1223401]
Approved by marto
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (1)
As of 2024-04-25 04:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found