LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-20-2009, 01:49 PM   #1
blasa
LQ Newbie
 
Registered: May 2009
Posts: 5

Rep: Reputation: 0
ITK 24i printer USB


Hi all, I'm trying to install a ITK24i thermal printer in a TS7800 by USB. I have taked the drivers from
http://www.practicalautomation.com/download/
I've followed the instructions in readme file to install like this and go well,


root@ts7800:itk24i# ./install.sh
`libpa_status.so.0.0' -> `/usr/lib/libpa_status.so.0.0'
`libpa_conf.so.0.0' -> `/usr/lib/libpa_conf.so.0.0'
Configure shared libraries
`pa_edit_conf' -> `/usr/sbin/./pa_edit_conf'
`pa_paper_prtd' -> `/usr/sbin/./pa_paper_prtd'
`pa_flash_update' -> `/usr/sbin/./pa_flash_update'
`libpa_status.h' -> `/usr/local/include/./libpa_status.h'
`pa_typedefs.h' -> `/usr/local/include/./pa_typedefs.h'
`pa_version' -> `/usr/sbin/./pa_version'
Example start up scripts are available for Redhat and SuSe.
see pa_paper_prt.redhat and pa_paper_prt.suse
demo/build
demo/commands.h
demo/custom1.ps
demo/formatPAError.c
demo/gs1page.ps
demo/gs2page.ps
demo/misc.h
demo/osco.ps
demo/print_with_gs
demo/print_with_gs.c
demo/semun.h
demo/statdemo
demo/statdemo.c
demo/statusStructs.h
demo/web3pages.ps
************************************************
************************************************
Please see demo directory for examples on how to
programmatically print and acquire status from
the printer.
************************************************
************************************************

but when try to make a new file configuration the shell returns

root@ts7800:itk24i# pa_edit_conf --new
-bash: /usr/sbin/pa_edit_conf: cannot execute binary file

I've tried with ./, giving all the permission etc but always the same.
The readme file says:
If this is the first time the pa_paper_prt daemon is installed,
you must run pa_edit_conf to create a new printer configuration
file. Issue the command: pa_edit_conf --new

After completing the creation of the printer configuration,
start the daemon with the following command:

for Redhat: (do this as root) service pa_paper_prt start

for SuSe: (do this as root) /etc/init.d/pa_paper_prt start

Could be that the binary file doesn't work with debian?
thanks a lot
 
Old 10-21-2009, 09:26 PM   #2
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian jessie/sid; OpenSuSE; Fedora
Posts: 1,591

Rep: Reputation: 162Reputation: 162
You can check the location of the 'pa_edit_conf' file:

linux@debian # locate pa_edit_conf

If it is in /usr/bin, or some other bin or sbin directory, it is probably itself a binary file. If it is in /etc it is probably a shell script, in which case you can look in the file and try to isolate the problem.

Otherwise you can run:

linux@debian # strace <path>/pa_edit_conf

And just let it fly until it stops. Then look back in the stack trace and see which file messed it up. You usually don't need to look back very far. I've not seen that bash error before. I'm not sure exactly what it means. And I don't have the software you are using, or I would try it myself.

I have confidence in you. Most people cannot read a stack trace. But they can gather enough clues from strace output to isolate the problem. Don't be daunted.
 
Old 10-22-2009, 12:25 PM   #3
blasa
LQ Newbie
 
Registered: May 2009
Posts: 5

Original Poster
Rep: Reputation: 0
oops, this drivers files are for i386 and will not work with my ARM CPU!
i will contact with the vendor if he could give the sources or the correct drivers for me.
thanks for your time , i'm very newbie yet
 
  


Reply

Tags
debian, install, printer, sarge, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Running Vhosts Under Separate UIDs/GIDs With Apache2 mpm-itk On Ubuntu 9.04 LXer Syndicated Linux News 0 06-10-2009 08:10 PM
LXer: Running Vhosts With Apache2 mpm-itk On Debian LXer Syndicated Linux News 0 09-07-2008 11:00 AM
LXer: Running Vhosts Under Separate UIDs/GIDs With Apache2 mpm-itk On Debian Etch LXer Syndicated Linux News 0 08-15-2008 05:00 PM
Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow boy3dfx2 Linux - Newbie 5 06-03-2006 01:23 PM
Tapeware+FCIII+Dat 24i bmquintas Linux - Hardware 3 05-04-2005 02:38 PM


All times are GMT -5. The time now is 09:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration