Dos Printing

Make comments, ask questions, or just complain about the software on this site. Or comment on any educational software.
Please note that by clicking on links that may appear in these posts that you may be leaving the Dale Harris Educational Software website and that the content of those sites is the sole resposibility of the authors of those sites.

Moderators:daleadmin, Dale Harris, Alan, Andrew

Post Reply
Robert_Nel
Forum Regular
Posts:90
Joined:Thu Jan 01, 2004 11:43 pm
Dos Printing

Post by Robert_Nel » Mon Oct 02, 2006 5:45 am

Hi ,
Is it possible to use other dosprinting programs with DHPOS, if yes which file would the programs have to default to.
Thanks
Robert Nel
Robert R Nel

User avatar
Andrew
Site Administrator
Posts:822
Joined:Sun Dec 28, 2003 3:40 pm
Location:New Zealand

Post by Andrew » Mon Oct 02, 2006 11:43 am

DHPOS outputs the file WLSDFKJN.DRY which contains the printjob. APRINT picks this up and prints it, then deletes the file.

However the file also contains some specific characters which most generic printing programs would not recognise, as they're designed to pass information to APRINT about the job - and not for printing.
Image
DHPOS Veteran (from v3.46, July 2002)

User avatar
daleadmin
Forum Owner
Posts:1279
Joined:Tue Dec 30, 2003 9:47 pm

Print stream

Post by daleadmin » Mon Oct 02, 2006 7:20 pm

Andrew,

Actually not. WLSDFKJN.DRY contains only the print stream that would normally go to the printer. There are no codes in it that are used by APRINT2.EXE although there are codes that are used by the printer.

So any process that would dump the WLSDFKJN.DRY file to the printer will print the receipt just fine. For example from the DOS prompt the command TYPE WLSDFKJN.DRY > PRN will print a receipt. However you still have the problem of waiting for the WLSDFKJN.DRY file to be closed by POS.EXE and you still have to delete WLSDFKJN.DRY after the contents have been sent to the printer.

User avatar
Andrew
Site Administrator
Posts:822
Joined:Sun Dec 28, 2003 3:40 pm
Location:New Zealand

Post by Andrew » Tue Oct 03, 2006 2:37 am

Ah ok, I thought there were some codes for APRINT in the file - but obviously not.
Image
DHPOS Veteran (from v3.46, July 2002)

User avatar
ChrisKraus
Forum Regular
Posts:351
Joined:Wed Dec 31, 2003 11:10 am
Location:Dedham, MA - U.S.A.

Re: Print stream

Post by ChrisKraus » Tue Oct 03, 2006 3:57 pm

daleadmin wrote:you still have to delete WLSDFKJN.DRY after the contents have been sent to the printer.
I have noticed that it doesn't. I also notice that POS.EXE also outputs printjobs with the filenames NULL, next printjob would be NULL1, next would be NULL2, etc. After I close POS, I always have to delete WLSDFKJN.DRY, NULL and NULL2.
- Chris
Christopher Kraus

Post Reply

Who is online

Users browsing this forum: No registered users and 273 guests