On Tue, 20 Apr 2004, Sebastian Welsh wrote:

> Hi all,
> 
> I have a client who wants to use a particular label printer: a datamax-m-4206. 
> Now, linuxprinting.org makes no mention of the manufacturer, let alone the 
> model. I'd love to hear from anyone who has tried and succeeded (or failed) 
> with one of these printers.
> 
>  Looking at the product documentation, it appears that these printers use 
> either their own wierdo printer control language (DCL) or accept carriage 
> return separated lines which are dropped into a predefined template. This 
> second mode sounds like it might work just fine.

We had a similar situation with a completely different printer. We ended 
up setting up a Samba printer queue which dumped to a file and then 
loading up the Label software on Windows and printing to it to find out 
what it was doing. In our case the printer control language resembles 
BASIC of all things...

Here... have a look at an address label template ;-)
SPEED 2.0
DENSITY 8
SET CUTTER OFF
SET PEEL OFF
DIRECTION 0
SIZE 4.00,3.10
REFERENCE 16,30
COUNTRY 061
CODEPAGE 437
SIZE 4.00,3.25
GAP 0.10,0.00
OFFSET 0.00
CLS
TEXT 10,230,"5",0,1,1,"ATN:__TO__"
TEXT 10,280,"4",0,1,1,"__COMPANY__"
TEXT 10,314,"4",0,1,1,"__ADDRESS1__"
TEXT 10,348,"4",0,1,1,"__ADDRESS2__"
TEXT 10,382,"4",0,1,1,"__CITY__ __STATE__ __POSTCODE__"
TEXT 10,416,"4",0,1,1,"__COUNTRY__"
TEXT 10,450,"4",0,1,1,"Ph: __PHONE__"
TEXT 10,43,"1",0,1,1,"From: __FR_ADDR1__"
TEXT 10,91,"2",0,1,1,"__FR_ADDR2__"
TEXT 10,112,"2",0,1,1,"__FR_CITY__ __FR_STATE__ __FR_POSTCODE__"
TEXT 10,132,"2",0,1,1,"__FR_COUNTRY__"
TEXT 10,190,"3",0,1,1,"O/N: __FR_ORDNO__"
PRINT 1,1


-- 
---<GRiP>---
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG Secretary, AUUG and Linux Australia member, Sydney 
Flashmobber, BMX rider, Walker, Raver & rave music lover, Big kid that 
refuses to grow up. I'd make a good family pet, take me home today!
        Do people actually read these things?


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to