[Eclug] Anyone with some postscript ideas???

  • Previous message: [Eclug] Meeting Tonight, 12/6
  • Next message: [Eclug] Anyone with some postscript ideas???
  • Bob Mariotti r.mariotti at fdcx.net
    Tue Dec 19 21:11:23 EST 2006

     

    Fellow luggers:
    
    In my quest to print formatted labels to a Dymo USB label printer via 
    cups I've learned that this device WILL accept a postscript document and 
    translate it to raster as needed.  I tried lp'ing a ps document to the 
    device name and the output was indeed formatted.
    
    So my next step is to be able to replicate the postscript detail as 
    output from my php program as it is piped to lp.  Sounds easy enough.
    
    So, I thought, lets create a formatted label with openoffice and output 
    it to a postscript printer as a file then take a look at the resulting 
    file and I should have what I need.  Simple so it sounds.  And do that 
    is exactly what I did.
    
    However, the resulting "postscript" file is 500K for an 8 line address 
    label and when I look through it I see nothing in the way of text 
    strings but tons of binary (ok - hex) data.  In fact, the vast majority 
    of the output seems to be hex in what appears to be a downloadable font.
    
    Therefore, before I dig my hole all the way to China (may they could 
    help me) I was hoping some of you "guys" might has some postscript 
    experience and/or knowledge that you could share to guide me through 
    trying to figure this out?
    
    Anyone have any ideas as to how I can accomplish creating a "template" 
    that I can use in my php program to "wrap" around my output?
    
    Advice/suggestions/recommendations ALL appreciated!
    
    Thanks,
    
    Bob
    
    ps:  if need by I can email you the .odt format file to play with...
    
    
    
    
    

     

     

    More information about the ECLUG mailing list