General discussion

Locked

Visual Basic 6.0 and printer codes?

By rene.bourgoin ·
I am new to programming and VB. I am trying to right a program that will allow me to send printer codes directly to the printer.
When I send my form to print, I actually get the printer codes on the printout instead of the actaul layout I designed.
Help.

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Visual Basic 6.0 and printer codes?

by csanosi In reply to Visual Basic 6.0 and prin ...

First, have you checked the printer drivers? Are they set to generic / text or to the correct driver for the printer?
Second, What kind of printer codes are you trying to send? Do you have some sample code?

Collapse -

Visual Basic 6.0 and printer codes?

by rene.bourgoin In reply to Visual Basic 6.0 and prin ...

The printer codes are for a Monrach bar code printer. The Printer control language is specific to this printer.
{F,1,A,R,E,338,150,"1HANTAG" |
T,1,6,V,119,105,0,512,1,1,B,C,0,2 |
R,5,K |
B,2,12,V,217,119,1,2,71,7,L,2 |
R,5,K |
C,248,128,0,1,1,1,B,L,0,2,"COLOR" |
T,3,3,V,248,54,0,1,1,1,B,L,0,2 |
R,5,K |
C,271,127,0,1,1,1,B,L,0,2,"SIZE" |
T,4,8,V,271,80,0,1,1,1,B,L,0,2 |
R,5,K |
T,5,8,V,316,101,0,1,1,1,B,L,0,2 |
R,5,K |
C,306,102,0,511,1,1,B,L,0,0,"$" |
}
{B,1,N,1|E,0,0,1,1,0,1 |When I print my form, I get the code above as a result instead of the bar code and label info. I need some kind of passthrough feature.

Back to Web Development Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums