Zebra label printer

M

mcnews

anybody create any MS Access apps that print labels to a Zebra TLP
3842 thermal label printer via the USB port.
my app allows port selection and works fine with parallel or serial
ports.
when USB001 is selected with the same code nothing happens.
the printer works with notepad and the Zebra selected as the default
windows printer.
tia,
mcnewsxp
 
T

Tony Toews [MVP]

mcnews said:
anybody create any MS Access apps that print labels to a Zebra TLP
3842 thermal label printer via the USB port.
my app allows port selection and works fine with parallel or serial
ports.
when USB001 is selected with the same code nothing happens.
the printer works with notepad and the Zebra selected as the default
windows printer.

Interesting. How does your app do the port selection? Do you have
some code?

When I setup such a printer we had only one and it was a custom app.
So I just set that report to print on that printer while in design
view and it worked. We had to create a custom paper size on the
printer server though.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 
M

mcnews

Interesting. How does your app do the port selection? Do you have
some code?

When I setup such a printer we had only one and it was a custom app.
So I just set that report to print on that printer while in design
view and it worked. We had to create a custom paper size on the
printer server though.

i let them choose the port from a combo then open a print buffer and
write directly to the printer.
again, this works fine for LPTX: and COMX:
but not for USB001
 
T

Tony Toews [MVP]

mcnews said:
i let them choose the port from a combo then open a print buffer and
write directly to the printer.
again, this works fine for LPTX: and COMX:
but not for USB001

Ah, gotcha. Your problem makes sense but I doubt it can be fixed.
Access/VBA knows about LPT1-3 and COM1-4 and maybe more. However
Access/VBA doesn't know anything about USB ports. I think you'd need
to install some kind of low level device driver of some sort but I
have no idea what kind or how that would work.

I'd suggest visiting http://groups.google.com/ and search on visual
basic USB port printer. Most VB code works well inside basic. I
spent five minutes poking about but didn't see anything useful. You
may find something there though.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 
T

Tony Toews [MVP]

Tony Toews said:
I'd suggest visiting http://groups.google.com/ and search on visual
basic USB port printer. Most VB code works well inside basic.

Note that VB .NET code won't work in Access VBA.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 
M

mcnews

anybody create any MS Access apps that print labels to a Zebra TLP
3842 thermal label printer via the USB port.
my app allows port selection and works fine with parallel or serial
ports.
when USB001 is selected with the same code nothing happens.
the printer works with notepad and the Zebra selected as the default
windows printer.


this works:

Share the USB printer, then run:

NET USE LPT1: \\127.0.0.1\mysharedprintername /PERSISTENT:YES

http://www.techspot.com/vb/topic42727.html
http://geekswithblogs.net/dtotzke/articles/26204.aspx
http://support.microsoft.com/kb/314499/en-us
 
L

lawrence jernigan

Hi there...

I have a MS Access 2003 app that is now gonna print ID cards useing the Zebra p120i card printer...

Do you have an examples i could work from...

Sincerely and Respectfully;

Lawrence JErnigan



Posted as a reply to:

Zebra label printer

anybody create any MS Access apps that print labels to a Zebra TLP
3842 thermal label printer via the USB port.
my app allows port selection and works fine with parallel or serial
ports.
when USB001 is selected with the same code nothing happens.
the printer works with notepad and the Zebra selected as the default
windows printer.
tia,
mcnewsxp

EggHeadCafe - Software Developer Portal of Choice
WCF Workflow Services Using External Data Exchange
http://www.eggheadcafe.com/tutorial...a-6dafb17b6d74/wcf-workflow-services-usi.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top