Impact Printer OSX

Juan Bofill bofill at cantv.net
Wed Jan 20 10:35:47 EST 2010


Hi xavier,

Once I got done with the CHR() stuff I came across a driver for the  
Epson 890N called "EPSON 9-Pin Series CUPS v1.1" Now I can print  
graphics and all if I wanted but rather use any of the other Laser  
Printers. One can also define custom sizes witch is what really  
needed. Select the printer and just... print! And it is fast for me.

Thanks!

Juan

On 18/01/2010, at 10:06, IT wrote:

> Hi Juan,
>
> You are on track but now you are facing with different character  
> sets. Omnis has one and the printer has its own(s) char(s) set(s),  
> so before you are going to send the print file to the printer you  
> need to translate the char set with unix tr command before spooling  
> to the printer. Something like this is for ibm latin1 char set
>
> do shell script '/usr/bin/tr "\r\200\201\202\203\204\205\206\207\210 
> \211\212\213\214\215\216\217\220\221\222\223\224\225\226\227\230\231 
> \232\233\234\235\236\237\240\241\242\243\244\245\246\247\250\251\253 
> \254\256\257\261\264\265\266\273\274\276\277\300\301\302\304\307\310 
> \313\314\315\320\321\322\323\324\325\326\327\330" "\n\216\217\200 
> \220\245\231\232\240\205\203\204\306\206\207\202\212\210\211\241\215 
> \214\213\244\242\225\223\224\344\243\227\226\323\305\370\275\234\365 
> \376\364\341\251\270\357\371\222\235\361\276\346\320\246\247\221\233 
> \250\255\252\237\256\257\267\216\345\360\360\042\042\047\047\366\317 
> \230" PRINTFILE | /usr/bin/lp -d _192_168_1_137'
>
> int the terminal a man tr will help you to understand this unix  
> command.
>
> regards
>
> xavier
>
>
>
> El 16/01/2010, a las 19:43, Juan Bofill escribió:
>
>> Hi again:
>>
>> In order to set the printer under 10.4.11 I had to use CUPS via  
>> web since using the OS printer Utility to add a printer did not  
>> give the choice to use EPSON 9-Pi Series CUPS v1.1. Using the  
>> Print Utility insisted it was a postscript generic printer and  
>> there was no choice for the EPSON 9-Pi Series CUPS. The other  
>> problem was that the name of the printer shows as NETEPSON in the  
>> Print and Fax Utility and _192_168_1_137 if you list the printer  
>> via the web http://localhost:631/. Finally it worked using:
>>
>> do shell script "lp -d _192_168_1_137 PRINTFILE" (thanks Kelly)
>>
>> Now I need control codes for the printer. Hope they are in the  
>> Epson web site. In particular I need to set the number of lines to  
>> 22 so that the page is 1/3 of the size of a Letter. And then  
>> define a file format a la Xavier. (Thanks Xavier)
>>
>> Thanks all!
>>
>> Juan
>>
>>
>> On Jan 16, 2010, at 7:33 AM, bofill at cantv.net wrote:
>>
>>>
>>>    Thanks Kelly. Will give it a try.
>>>    ene 15, 2010 08:52:23 PM, o mnisdev-en at lists.omnis-dev.com wrote:
>>>    =========   =========================   =========
>>>> then I  open the Script editor a nd type "lp -d NETEPSON PRINTFILE"
>>>> and get error. Do not know much ab out Scripts.
>>>    The command line that would work in Terminal will not work by  
>>> itself
>>>    in Script Editor.  Try
>>>      Do shell  script "lp -d NETEPSON PRINTFILE"
>>>    Kelly
>>>    ______________________ _______________________________________
>>>    Manage your list subscriptions  at http://lists.omnis-dev.com
>>> _____________________________________________________________
>>> Manage your list subscriptions at http://lists.omnis-dev.com
>>
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com




More information about the omnisdev-en mailing list