dot matrix POS parallel printer problems
dot matrix POS parallel printer problems
I have a application that writes to the LPT1 directly,
in wine there is a lot of missing characters in the printout,
in the console printing to /dev/lp0 works ok.
I'm using puppy linux.
Any help welcome.
Thank you
in wine there is a lot of missing characters in the printout,
in the console printing to /dev/lp0 works ok.
I'm using puppy linux.
Any help welcome.
Thank you
dot matrix POS parallel printer problems
On Sat, Mar 8, 2008 at 6:05 AM, fluis <[email protected]> wrote:
that demonstrates the problem, and send us the source
and executable? Maybe we can fix Wine.
- Dan
That's interesting! Can you write a little test programI changed the application to write one char at a time until the buffer is empty and now it works. ( WriteFile(FHandle,PCHAR(mys)^,1,e,nil) )
that demonstrates the problem, and send us the source
and executable? Maybe we can fix Wine.
- Dan
dot matrix POS parallel printer problems
On Sat, Mar 8, 2008 at 7:06 AM, Dan Kegel <[email protected]> wrote:
http://bugs.winehq.org/show_bug.cgi?id=11917
as a placeholder for this. Which version of Wine are you using, btw,
and what language are you writing in (Delphi? Which version?)
- Dan
I createdOn Sat, Mar 8, 2008 at 6:05 AM, fluis <[email protected]> wrote:That's interesting! Can you write a little test programI changed the application to write one char at a time until the buffer is empty and now it works. ( WriteFile(FHandle,PCHAR(mys)^,1,e,nil) )
that demonstrates the problem, and send us the source
and executable? Maybe we can fix Wine.
http://bugs.winehq.org/show_bug.cgi?id=11917
as a placeholder for this. Which version of Wine are you using, btw,
and what language are you writing in (Delphi? Which version?)
- Dan
Re: dot matrix POS parallel printer problems
Dan Kegel wrote: ...
That's interesting! Can you write a little test program
that demonstrates the problem, and send us the source
and executable? Maybe we can fix Wine.
- Dan
Code: Select all
program timp; (* Delphi 7 *)
{$APPTYPE CONSOLE}
uses
SysUtils,windows;
(* Star SP200 Buffer off sw 6 on, Epson TM-U210PD buffer off sw 1-2 on*)
var
devname : string = 'LPT1';
ps : array [0..41] of char = '0123456789012345678901234567890123456789'#10#13;
nl : array [0..3] of char = #10#13#10#13;
i,i2,FHandle : integer;
e : DWORD;
begin
FHandle := CreateFile(PChar(devname), GENERIC_WRITE, 0, nil, OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL, 0 );
try
for i := 0 to 49 do
WriteFile(FHandle,ps[0],42,e,nil); (* xp ok *)
for i := 0 to 3 do WriteFile(FHandle,nl[i],1,e,nil);
for i := 0 to 49 do
for i2 := 0 to 41 do
WriteFile(FHandle,ps[i2],1,e,nil); (* xp&wine ok *)
finally
CloseHandle(FHandle);
end;
end.
Wine version 0.9.28 kernel 2.6.21, large printer buffers can hide the problem.
Best regards
Luis Forra
---
dot matrix POS parallel printer problems
On Sat, Mar 8, 2008 at 10:27 AM, fluis <[email protected]> wrote:
What do you mean "large printer buffers"? Is this something physically
on the printer? i.e. do some printers work because they have large buffers?
Which ones?
That version of Wine is very old. Can you try again with recent wine
(latest is wine-0.9.57) just to be sure?
Thanks for the test app!Wine version 0.9.28 kernel 2.6.21, large printer buffers can hide the problem.
What do you mean "large printer buffers"? Is this something physically
on the printer? i.e. do some printers work because they have large buffers?
Which ones?
That version of Wine is very old. Can you try again with recent wine
(latest is wine-0.9.57) just to be sure?
Re: dot matrix POS parallel printer problems
Is the hardware buffer in the printer, a larger buffer than the job may not show problems.Dan Kegel wrote: What do you mean "large printer buffers"? Is this something physically
on the printer? i.e. do some printers work because they have large buffers?
Which ones?
In a POS printing a invoice is a small job 1K-2K, a older printer with a small buffer (Star SP200 1K buffer)
will see problems a newer printer with a large buffer (epson TM-U220 4K)
seems to work must of the time, so to test I disable the hardware buffer,
i tried do change the bios settings (normal, epp etc) and the parport options (irq=none, dma=none etc) to no avail,
and the problem shows even in a vmware guest.
Dan Kegel wrote: That version of Wine is very old. Can you try again with recent wine
(latest is wine-0.9.57) just to be sure?
Yes, I will try.
Luis Forra
---
dot matrix POS parallel printer problems
On Thu, 2011-06-30 at 02:13 -0500, raymondfranco wrote:
I like Epsons for one main reason: all Epson dot-matrix (and many/most
inkjets) from the MX-80 onward are upward compatible, IOW all the ones
I've tried understand the Epson ESC/P command set and all provide
useable minimum capabilities if you tell your software its dealing with
an MX-80 (9-pin 80/132 character dot-matrix command set).
This certainly works for the parallel port MX-80, LQ-400 and LQ-550 dot
matrix printers as well as for the Stylus 850C inkjet. Epson printers
are well-supported by CUPS too.
Martin
What do you currently have?I'm thinking for replacing my current printer that I use with my POS
systems
MODERATOR: spam link deleted.
. What do you think is the
best brand out there? Thanks.
I like Epsons for one main reason: all Epson dot-matrix (and many/most
inkjets) from the MX-80 onward are upward compatible, IOW all the ones
I've tried understand the Epson ESC/P command set and all provide
useable minimum capabilities if you tell your software its dealing with
an MX-80 (9-pin 80/132 character dot-matrix command set).
This certainly works for the parallel port MX-80, LQ-400 and LQ-550 dot
matrix printers as well as for the Stylus 850C inkjet. Epson printers
are well-supported by CUPS too.
Martin
Re: dot matrix POS parallel printer problems
The post you replied to was obvious spam. I've deleted it from the forum. Please do not reply to such posts.Martin Gregorie wrote:What do you currently have?