Re: Labels on dot matrix printer from VB.Net



On Aug 27, 6:34 am, g...@xxxxxxxxxxx wrote:
I don't think my problem is specific to VB.NET, so I'm posting
here...I have a customer who needs to print addresses on single-column
2.5"WX1"H labels on a dot matrix printer. I'm working with Windows XP
SP2.

I used Printers & Faxes to define a custom form with those
measurements, set that form as the default paper type for the printer
and set the printer as the default printer.

I found that if the printer's configuration defines a minimum height
page, any forms that are smaller are not used. When you try to set
that form it's ignored. I use an Epson LQ590 printer and found I had
to modify its configuration file to allow for a small enough minimum
CUSTOM form size to work with my smallest (0.66") label. The Epson
file on XP is at
C:\WINDOWS\system32\spool\drivers\w32x86\3 and is named ESCP5RN.GPD.
This is a text file. Look for the section around "CUSTOM" and modify
the minimum size. The Epson is defined in units of 180 dots per inch -
here's hoping your printer has a similar configuration method.

I have to distribute the modified ESCP5RN.GPD file with my application
to make my label printing work.

David Tosh

.



Relevant Pages

  • Re: Adding Avery Label Definitions
    ... Graham Mayor - Word MVP ... just because custom label definitions aren't stored in the ... Note that if you update to Word 2007 the whole game stops as custom ... Most organisations only use one or two label sizes. ...
    (microsoft.public.word.docmanagement)
  • Re: Adding to texts togther in a data value in a chart
    ... I got the concatenate, but it still will not show on the data label, I ... accept that as a custom format. ... Peltier Technical Services, Inc. -http://PeltierTech.com ...
    (microsoft.public.excel.programming)
  • Re: MessageClass Property of a Post
    ... create a read layout showing your custom fields? ... The layout is the same on both pages. ... I have composed a new custom form with same user-defined fields ... it's not the end of the world because the custom fields can be still be ...
    (microsoft.public.outlook.program_vba)
  • Re: Troubleshoot Custom Labels
    ... most printer drivers are hopeless with custom paper sizes and ... Word will adopt a standard size it considers suitable. ... When you think you have it right, create a new document from the label tool. ...
    (microsoft.public.word.newusers)
  • Re: Call a Custom Form
    ... I think you might want to read up on how to use custom functions. ... > Dim aFolders ... > When I enter the path to the folder. ... > I also have this code that will call the custom form, ...
    (microsoft.public.office.developer.outlook.forms)