WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tinycore Parallel port printing problem  (Read 17756 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11243
Re: Tinycore Parallel port printing problem
« Reply #30 on: May 02, 2013, 08:10:00 PM »
Hi Shyam24689
Is there a link to some documentation for your printer you could post?

Offline Shyam24689

  • Newbie
  • *
  • Posts: 25
  • Programmer
Re: Tinycore Parallel port printing problem
« Reply #31 on: May 02, 2013, 08:42:29 PM »

Offline Shyam24689

  • Newbie
  • *
  • Posts: 25
  • Programmer
Re: Tinycore Parallel port printing problem
« Reply #32 on: May 02, 2013, 08:43:31 PM »
attached file is the driver

aus9

  • Guest
Re: Tinycore Parallel port printing problem
« Reply #33 on: May 02, 2013, 08:50:08 PM »
my apols, I forgot to mention that you need to click on the LPD radio button as your debug is claiming IPP address and thats not right for a parallel printer


Offline Shyam24689

  • Newbie
  • *
  • Posts: 25
  • Programmer
Re: Tinycore Parallel port printing problem
« Reply #34 on: May 02, 2013, 09:09:28 PM »
what url to add at connection after selecting lpd

Offline Shyam24689

  • Newbie
  • *
  • Posts: 25
  • Programmer
Re: Tinycore Parallel port printing problem
« Reply #35 on: May 02, 2013, 09:17:54 PM »
i gave the address lpd://192.168.0.80/queue and then test print it shows status Connecting to printer and hangs...

The attachment provided previously consist of amt_tif.ppd file please have a look

aus9

  • Guest
Re: Tinycore Parallel port printing problem
« Reply #36 on: May 02, 2013, 09:50:32 PM »
sorry if its trivial but when I unpack the readme says read the web pages but they are zero byte

2) your rastertolabel.....pls don't use it. cups already has one. If I run
Code: [Select]
strings rastertolabel

against yours, I see strings like....__i686.get_pc_thunk.bx, making me think someone compiled not against our 486 recommendation
---/usr/lib/gcc/i486-linux-gnu/4.4.3/include also found......but our structure differs from......GCC: (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3

short answer....try our rastertolabel

3) So its a label printer?  that other link is not working for me. We could look at making our own PPD based on your PPD but for the moment your other question

4) what address....I don't know as I don't own a parallel printer

try

Code: [Select]
sudo lpinfo -v

192.168.0.80  looks like your ethernet address and that can't be right surely?

You may also wish to review
/usr/local/share/doc/cups/help/man-cups-lpd.html

also I just tried

Code: [Select]
lpstat -v
device for EPSON_Stylus_TX100: usb://EPSON/Stylus%20TX100

You may be able to get something going using lpstat? try the web page for it?
« Last Edit: May 02, 2013, 10:00:36 PM by aus9 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11243
Re: Tinycore Parallel port printing problem
« Reply #37 on: May 02, 2013, 10:03:11 PM »
Googling for   AM Tech printers   returns kiosk and POS printers.

Offline Shyam24689

  • Newbie
  • *
  • Posts: 25
  • Programmer
Re: Tinycore Parallel port printing problem
« Reply #38 on: May 02, 2013, 10:06:49 PM »
first i tried with rastertolabel which already exist but i dint helped....

I think the only way out.. is to make our own ppd but how?

I there any generic driver for parallel port printing which can used to print .ps file to any parallel port connected printer?

Offline Shyam24689

  • Newbie
  • *
  • Posts: 25
  • Programmer
Re: Tinycore Parallel port printing problem
« Reply #39 on: May 02, 2013, 10:08:01 PM »
AMtech is a kiosk Thermal printer

aus9

  • Guest
Re: Tinycore Parallel port printing problem
« Reply #40 on: May 02, 2013, 10:12:47 PM »
yeah I wanted to avoid making a PPD as I have zero success and making one for an USB printer

before start process Juanito when his timezone comes up may wish to solve my misleading bit?

but I found this thru google with 12 hits on that page for parallel

http://www.cups.org/doc-1.1/sam.html

Quote
lpinfo -v ENTER
network socket
network http
network ipp
network lpd
direct parallel:/dev/lp1
serial serial:/dev/ttyS1?baud=115200
serial serial:/dev/ttyS2?baud=115200
direct usb:/dev/usb/lp0
network smb

so maybe based on your result for /dev/lp0, you could try to input
parallel:/dev/lp0

Then look at running wine and installing the windows driver?
« Last Edit: May 02, 2013, 10:20:43 PM by aus9 »

aus9

  • Guest
Re: Tinycore Parallel port printing problem
« Reply #41 on: May 02, 2013, 10:24:58 PM »
ahhh  just looking at your PPD

it was (MAY HAVE BEEN) generated using a gutenprint model 49 as per
usr/local/share/gutenprint/5.2/xml/escp2/model/model_49.xml

we could do it......I will try to reply tonite with a PPD for cups 1.4.8

In the meantime I will let Rich and Juanito give you better advice

Can you do me a favour, as I will generate a potential PPD.....I need to know what number your dimensions are in your PPD you uploaded

I am guessing but as you would know the effective printing area look at your PPD and tell me the number please
eg ImageableArea 11./Label - 72x72mm:......means you can print 72 mm across and the true size of it may be 79 mm not showing in specs

get it?

Measure your width.....go to size closest to it ......tell me the number please or your size what ever suits
« Last Edit: May 02, 2013, 11:22:50 PM by aus9 »

Offline Shyam24689

  • Newbie
  • *
  • Posts: 25
  • Programmer
Re: Tinycore Parallel port printing problem
« Reply #42 on: May 02, 2013, 11:17:51 PM »
Is it a problem because AMtech is a customized Thermal printer? What should i try at my side

aus9

  • Guest
Re: Tinycore Parallel port printing problem
« Reply #43 on: May 02, 2013, 11:23:18 PM »
I just editted my last

Offline Shyam24689

  • Newbie
  • *
  • Posts: 25
  • Programmer
Re: Tinycore Parallel port printing problem
« Reply #44 on: May 02, 2013, 11:53:40 PM »
72 X 297mm