> It must be something with : sending an end of .... statement to start
> effective printing.
> In visual foxpro it works like
> set print on
> print "^XA"
> ...
> print "^XZ"
> set print off
> set printer to default.
> and then it works.
> Trying to find the alternative in VB 6.0
> set print on (i am seraching for this)
> set print off ( i think printer.enddoc)
> set printer to default (still searching)
> The printer is set as a generic text printer on com1(no drivers of the
zebra
> printers for the w98 for faster speed printing)
> the ^xa codes are the correct ones to send the statements to the printer.
> Christine
> > maybe foxpro was translating that ^ character...
> > instead of
> > ^XA en ^XZ
> > try this
> > chr$(27) & "XA"
> > chr$(27) & "XZ"
> > no idea if thats the real intention...
> > just shooting in the dark while draining a beer...
> > D.
> > > Ian,
> > > Sorry,
> > > I already changed to printer.endDoc but the lights flikker but no
> label
> > > (no printing self)
> > > Christine
> > > > Christine
> > > > It should be
> > > > Printer.EndDoc
> > > > regards
> > > > Ian
> > > > ** invalid email address, change dk to denmark
> > > > Tips & Tricks page http://tips.kingsoft-denmark.com/
> > > > > My zebra printer is configured as a serial printer to my win98
> > > > > computer.
> > > > > I try to print text on the printer with the command printer.print
> > > > > When i do this the printer gets a command (light goes on on the
> > > > > printer) but nothing is being printed.
> > > > > I know the codes are right ^XA en ^XZ because another person in
the
> > > > > past did it within visual foxpro.
> > > > > I try now in visual basic 6.0. So printer and al the rest did not
> > > > > change.
> > > > > They told me that i had to add after the ^XZ the command
> > > > > printer.enddoc and then the printer would begin to print.
> > > > > I tryed again but nothing happens.
> > > > > What Could i be doing wrong.
> > > > > I do everything with printer.print "....."
> > > > > printer.print "^XZ"
> > > > > printer.print enddoc
> > > > > at the end but nothing has been print.