WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: Tinycore Parallel port printing problem
« Reply #30 on: May 02, 2013, 11: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, 11:42:29 PM »

Offline Shyam24689

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

aus9

  • Guest
Re: Tinycore Parallel port printing problem
« Reply #33 on: May 02, 2013, 11: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 03, 2013, 12:09:28 AM »
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 03, 2013, 12:17:54 AM »
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 03, 2013, 12:50:32 AM »
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 03, 2013, 01:00:36 AM by aus9 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: Tinycore Parallel port printing problem
« Reply #37 on: May 03, 2013, 01:03:11 AM »
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 03, 2013, 01:06:49 AM »
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 03, 2013, 01:08:01 AM »
AMtech is a kiosk Thermal printer

aus9

  • Guest
Re: Tinycore Parallel port printing problem
« Reply #40 on: May 03, 2013, 01:12:47 AM »
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 03, 2013, 01:20:43 AM by aus9 »

aus9

  • Guest
Re: Tinycore Parallel port printing problem
« Reply #41 on: May 03, 2013, 01:24:58 AM »
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 03, 2013, 02:22:50 AM by aus9 »

Offline Shyam24689

  • Newbie
  • *
  • Posts: 25
  • Programmer
Re: Tinycore Parallel port printing problem
« Reply #42 on: May 03, 2013, 02:17:51 AM »
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 03, 2013, 02:23:18 AM »
I just editted my last

Offline Shyam24689

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