Don't make it so complicated!

 First, read the user guide and see all the nice protocols and services that 
Zebra has put into that overly expensive print server.
;)  (Check out the D-Link DP-301P+ for ~$60 if all you need is a 
web-maintainable Parallel-to-TCP/IP raw spooler)

 Then, use the FTP service on the Zebra print server to transfer a local spool 
file over port 21. It'll print as soon as you send
it. If you have a lot of labels being printed, you can have a phantom running 
that stays connected to the FTP service and transmits
a local file spool. Make sure you send a keep-alive note of some kind 
periodically. Otherwise you may get kicked off for being idle.

Or, you can connect and send on-demand like this(excuse the UV-izms I may be 
missing in the open/close calls):

OPENPATH "C:\zebraprintjobs" TO ZEBRA ELSE
 CRT "CAN'T OPEN ZEBRA SPOOL"
 STOP
END
PRINTERIP="192.168.0.250"
PATHTOJOB="C:\zebraprintjobs\"
PRINTJOB="zebra":DATE():TIME():RND(100):".txt"
! FILL OUT LABELREC WITH LABEL SCRIPT
WRITE LABELREC ON ZEBRA, PRINTJOB
!
CMD = "ftp ":PRINTERIP
DATA "put ":PATHTOJOB:PRINTJOB
DATA "quit"
EXECUTE CMD
DELETE ZEBRA, PRINTJOB
CLOSEPATH ZEBRA

 Of course, you really should stick some error checking code in there to make 
sure the connection and job send actually worked. :P

Glen
http://mvdevcentral.com
http://picksource.com

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Barry Brevik
> Sent: Friday, April 01, 2005 5:29 PM
> To: '[email protected]'
> Subject: RE: [U2] [UV] send data to IP address?
>
>
> >Does UV 9.6 have callhttp? If the print server is a jetdirect workalike
> >you can just open port 9100, send your data and close port 9100 at the
>
> Actually, now that I have done a port scan on this device, it apparently IS
> listening on port 9100. However, the same technique that produces output on
> a networked HP 4200 does not produce any results on the Zebra. I am missing
> something.
>
> Barry
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to