erlend.oftedal@xxxxxxx wrote:
> Hi
>
> My current setup is Debian Sarge with kernel 2.6.8-2.
>
> Today I received a TLP2844 (which was the one recommended on the
> emilda-homepage). I have some trouble installing this printer though:
>
> I can't install emilda-print. Apt complains about unmet dependencies:
> The following packages have unmet dependencies:
> emilda-print:
> Depends: libatk1.0-0 (>= 1.9.0) but 1.8.0-4 is to be installed
> Depends: libgcc1 (>= 1:4.0.0-7) but 1:3.4.3-13 is to be
> installed
> I think this is a bit strange, as I thought Sarge was the newest debian
> release, and you recommend Debian as the linux distro. Maybe I'm missing
> something in my source.list?
>
>
> Also I'm wondering how you installed the TLP2844 under Debian. Did you use
> the parallell, serial or USB interface?
> I've tried using the USB-interface, and the printer seems to be detected by
> Debian. I tried setting it up with CUPS, and everything seems to work
> correctly. CUPS
> says the printer is ready, but whenever I try to print something, CUPS says
> it's being printed, but the printer isn't doing anything.
> Can you please help me with your settings?
>
>
> Best regards
> Erlend Oftedal
Hi Erlend,
The emilda-print you are trying to install was packaged under Debian/Sid
(unstable). Recent updates has apparently made it incompatible with
Sarge. I made a new repository for sarge, update your sources.list line to:
deb http://people.realnode.com/~mnordstr/ package/sarge/
and run apt-get update. After that, try installing emilda-print again
(apt-get install emilda-print). This time it should install successfully.
The TLP2844 printer should _not_ be installed in CUPS. It won't work as
a normal printer and emilda-print accesses this printer directly. If
you're using the USB cable the TLP2844 will most likely set itself under
/dev/usb/lp0. This is the emilda-print default so you don't have to
change the conf file.
The permissions on /dev/usb/lp0 don't allow everyone to write to that
device. You can either change the permissions (chmod 666 /dev/usb/lp0)
so that everyone can write to it or, the recommended way, add your user
to the group which owns /dev/usb/lp0 (can't remember which it was,
probably lp).
After this you should send the printer configuration directives so that
the labels are properly printed. We have learned that the following
directives produce good labels:
Speed: S2
Density: D12
Barcode gaps: oW4,4,5,5,4
Latin 1: I8,A,358 (this is for Finland, prints åäö correctly)
Width: q608 (this probably depends on your label width)
These settings will produce proper results on labels which are of the
size 3 x 1" (76.2mm x 25.4mm). You should of course run the auto-sense
on the TLP2844 after inserting the labels for the first time. You can
set the options by echoing them into the printer, e.g.
echo "S2" > /dev/usb/lp0
After this the printer should be ready.
If you are running the latest Emilda 1.2 CVS or trunk, you should be ok.
If you are running the 1.2.2 release or a previous release, you need to
patch a file as it doesn't produce proper emilda-print-data. I've
attached the patch to this mail.
In Emilda every computer with one or more printers is called a terminal.
To be able to print you need to add your current computer as a terminal
by going to Management > Configuration > Terminal Management. Give this
terminal a name and select Label to be able to print labels. You also
need to make sure that "Use Label printer" is selected in General
configuration (under "System").
That should be it. Go to book add, add a new item and emilda should try
to give you an emilda-print-data document. Open the document with
emilda-print and configure your browser so that it doesn't ask every
time. If you're running Firefox it may be a good idea to disable the
download manager from coming up every time.
These instructions should get you going.
I should probably put some of this on emilda.org ;)
--
Mattias Nordstrom
CTO
Realnode Oy
nordstrom@xxxxxxxxxxxx
www.realnode.com
===================================================================
RCS file: /cvsroot/emilda/src/print.php,v
retrieving revision 1.26.2.2
retrieving revision 1.26.2.3
diff -u -r1.26.2.2 -r1.26.2.3
--- emilda/src/print.php 2005/01/26 17:24:29 1.26.2.2
+++ emilda/src/print.php 2005/06/20 09:47:33 1.26.2.3
@@ -268,7 +268,7 @@
$ids = explode(",", $_REQUEST['book_id']);
print $row['location_name'] . "\n";
foreach($ids as $id) {
- print format_book_id($id) . "\r\n";
+ print format_book_id($id) . "\n";
}
}
_______________________________________________
Emilda mailing list
Emilda@xxxxxxxxxxxxxxxxxx
http://lists.realnode.com/mailman/listinfo/emilda
|