Awkward 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

ProDeZigner
Forum Regular
Posts:78
Joined:Tue Feb 07, 2006 3:54 am
Location:Sierra Vista, AZ
Contact:
Awkward Printing?

Post by ProDeZigner » Sat Feb 18, 2012 4:10 am

Alright, so I got that cheap receipt printer, it works great, but DHPOS is broken down kind of odd. Other POS apps print just fine and line up fine. Any idea how to fix this?

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

Re: Awkward Printing?

Post by daleadmin » Sat Feb 18, 2012 6:33 am

ProDeZigner,

Some details would help. How does it print wrong? Do you have a graphic to show us? Will the printer print 40 characters wide?

Dale

ProDeZigner
Forum Regular
Posts:78
Joined:Tue Feb 07, 2006 3:54 am
Location:Sierra Vista, AZ
Contact:

Re: Awkward Printing?

Post by ProDeZigner » Sat Feb 18, 2012 11:58 am

I'll try to explain this is clear as possible.

The printer has an option for two settings. Print as Image and Print as Soft Text.

Printing as Image, no matter what application, prints, but the right margin is truncated, and doesn't even act like a margin exists.

Printing as Soft Text, however, prints fine. It uses the margins, wraps text, it's just text only, no images. Judging by how the self-test page looked, they were using the Soft Text option at factory.

All other POS software I've tried, uses Soft Text fine. I don't have a sample to give you at this time, as I had to recycle printer paper last night to test it and various settings. Essentially the lines have the totals on a new line, left aligned, so it just looks wacky. The dashed lines only have like six or so dashes, and then stop, not going across the full width. It could be the way DHPOS prints, since I've never seen a receipt printed on DHPOS before. However I have seen a receipt printed 80 columns with DHPOS, and it looks great on a standard printer.

User avatar
brucef2112
Forum Regular
Posts:336
Joined:Mon Mar 06, 2006 11:19 pm
Location:Broward County, Floriduhh
Contact:

Re: Awkward Printing?

Post by brucef2112 » Sat Feb 18, 2012 2:26 pm

Here is what a receipt looks like from Star300 with a wornout ribbon (Sorry, all i had on hand at the moment.)
This receipt paper is about 83mm~ wide (3.25in ~).
At the bottom you can see how dhpos new Add Note feature is displayed on a receipt.
Image
Have you gone into the posconfg.exe > Printer Setup and made sure it is set to 40 characters wide?

Try opening Windows Notepad and copy/paste the following line into notepad and then print to the receipt printer.
0123456789012345678901234567890123456789

How does it show on the reciept?

try saving the above to a text file. Like c:\testme.txt

then open a cmd window (DOS prompt) and type: TYPE C:\TESTME.TXT > LPT1
Tell us how it show on the reciept?
Later,
Bruce

They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
Benjamin Franklin - Historical Review of Pennsylvania, 1759

ProDeZigner
Forum Regular
Posts:78
Joined:Tue Feb 07, 2006 3:54 am
Location:Sierra Vista, AZ
Contact:

Re: Awkward Printing?

Post by ProDeZigner » Sat Feb 18, 2012 6:15 pm

It's a USB printer for one, so printing to LPT1 is a no-go. It looks NOTHING like yours, using the Soft Font imagine the margin being set after description, price is on a separate line, indented. If I print using the Print as Image, it looks like that, but it doesn't shrink to fit.

It's a 58MM width printer. I dunno I wasted a whole roll of paper last night trying to get it set up.

I'll try to get a roll of paper today and take some pictures.

Also, it is set for 40 characters wide. And it's an Epson based printer. I'll take screen shots of all the printer settings when I get home, and then I'll scan in a copy of a receipt in both Image and Soft Text modes.

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

Re: Awkward Printing?

Post by daleadmin » Sat Feb 18, 2012 8:36 pm

In the APRINT6 setup you can set the font and the font size. Did you select a fixed width font with a font size small enough?

Dale

ProDeZigner
Forum Regular
Posts:78
Joined:Tue Feb 07, 2006 3:54 am
Location:Sierra Vista, AZ
Contact:

Re: Awkward Printing?

Post by ProDeZigner » Sat Feb 18, 2012 8:43 pm

I've tried Courier 10 pt. (and 8 pt.)

Even the Windows test print is all kinds of crazy.

User avatar
brucef2112
Forum Regular
Posts:336
Joined:Mon Mar 06, 2006 11:19 pm
Location:Broward County, Floriduhh
Contact:

Re: Awkward Printing?

Post by brucef2112 » Sat Feb 18, 2012 11:27 pm

Pro' said
....using the Soft Font imagine the margin being set after description, price is on a separate line, indented.
no answer but just noting that its wrapping after 26 character.
Later,
Bruce

They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
Benjamin Franklin - Historical Review of Pennsylvania, 1759

ProDeZigner
Forum Regular
Posts:78
Joined:Tue Feb 07, 2006 3:54 am
Location:Sierra Vista, AZ
Contact:

Re: Awkward Printing?

Post by ProDeZigner » Sun Feb 19, 2012 2:02 am

I just got a fresh roll of paper from the guy that I'm setting this up for. I'll post pics of the receipts in a few.

ProDeZigner
Forum Regular
Posts:78
Joined:Tue Feb 07, 2006 3:54 am
Location:Sierra Vista, AZ
Contact:

Re: Awkward Printing?

Post by ProDeZigner » Sun Feb 19, 2012 2:39 am

First up in Print as Image option.
Attachments
P021912_0024.jpg
P021912_0024.jpg (170.35 KiB) Viewed 20240 times

ProDeZigner
Forum Regular
Posts:78
Joined:Tue Feb 07, 2006 3:54 am
Location:Sierra Vista, AZ
Contact:

Re: Awkward Printing?

Post by ProDeZigner » Sun Feb 19, 2012 2:40 am

And this is Print as Soft Text.

Sorry for the horrible quality on both.
Attachments
P021912_0025.jpg
P021912_0025.jpg (218.79 KiB) Viewed 20240 times

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

Re: Awkward Printing?

Post by daleadmin » Sun Feb 19, 2012 6:09 am

ProDeZigner,

In your top photo the printer is printing 27 characters per line and then omitting the next 13 characters. In the bottom photo the printer is printing 27 characters per line and wrapping the last 13 characters on the next line. It seems pretty determined to print no more than 27 characters per line.

On your trials with other POS software how many characters per line were being printed? If the other software prints receipts that are formatted to print 27 characters per line then their receipts will be fine but DHPOS receipts that require 40 CPL will not print correctly on this printer.

It is time to look in your printer's manual. Are there DIP switches that can be reset to configure the printer to print 40 CPL? Is there a control code that can be sent to the printer to reconfigure it to 40 CPL?

If you change the font size in APRINT6 to different values does the actual font size change on the printed receipt or is the font size that is selected ignored by the printer?

In the specifications for this printer does it at state that it will print 40 CPL?

Another consideration is that if you can get the printer to print 40 CPL is that the font size will have to be about 2/3 the current size to fit on the paper. Will that be too small to read?

Dale

ProDeZigner
Forum Regular
Posts:78
Joined:Tue Feb 07, 2006 3:54 am
Location:Sierra Vista, AZ
Contact:

Re: Awkward Printing?

Post by ProDeZigner » Sun Feb 19, 2012 12:14 pm

It is time to look in your printer's manual. Are there DIP switches that can be reset to configure the printer to print 40 CPL? Is there a control code that can be sent to the printer to reconfigure it to 40 CPL?
No DIP switches in the manual, so I ripped it apart anyway. No DIP switches in the unit.
If you change the font size in APRINT6 to different values does the actual font size change on the printed receipt or is the font size that is selected ignored by the printer?
I don't think it matters, for the fact that even the Windows test page prints only the supposedly 27 characters.
In the specifications for this printer does it at state that it will print 40 CPL?
It doesn't specify really. But under the "Character Size" it has:

ANK Character, Font: A: 12*24 dots, 1.5(W)*3.0(H) mm
Simplified/Traditional: 24*24 dots, 3.0(W)*3.0(H) mm
Another consideration is that if you can get the printer to print 40 CPL is that the font size will have to be about 2/3 the current size to fit on the paper. Will that be too small to read?
Probably, at 8 point it looks REALLY faded (as you can probably tell by the test print.

I've got the programmer's manual, but I really don't know what I'm looking for in terms of columns. It's in Word format, I can email it to someone to help me figure this thing out...

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

Re: Awkward Printing?

Post by daleadmin » Sun Feb 19, 2012 3:00 pm

ProDeZigner,

The most important question, that you did not answer, was, "On your trials with other POS software how many characters per line were being printed?"

On an earlier post you stated, "All other POS software I've tried, uses Soft Text fine. I don't have a sample to give you at this time." Dig up one of those "other POS" receipts and count the characters per line. Do any of them have 40 CPL?

If the other software could also only print a maximum of 27 CPL then printing 40 CPL may not be possible and it is time to ship this thing back.

Dale

User avatar
brucef2112
Forum Regular
Posts:336
Joined:Mon Mar 06, 2006 11:19 pm
Location:Broward County, Floriduhh
Contact:

Re: Awkward Printing?

Post by brucef2112 » Sun Feb 19, 2012 7:17 pm

The smaller of the two built in fonts; ANK Character, Font: A: 12*24 dots, 1.5(W)*3.0(H) mm is twice the size of what would be needed for 40cpl.
Given the width of the paper, the font would need to be 6*12 dots (1.01mm * 1.5mm~) to get 40 character to fit across that size paper.
I think the printing industry's technical term for this font is; mice type. And its not listed as font set for this printer. :-)
Later,
Bruce

They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
Benjamin Franklin - Historical Review of Pennsylvania, 1759

Post Reply

Who is online

Users browsing this forum: No registered users and 81 guests